Please translate this language (Computer) into English
November 20, 2022 10:38 AM   Subscribe

Go to the working directory and upload (or replace the already-existing) devconfig.json with this file. It contains a flag that sets allowDebug to true, which lets us open the Chrome DevTools.

I'm trying to fix an issue with a program on my computer. I was advised via email to do this. But I have no idea what a working directory is. Also... does whatever he wrote here mean I have to do this while chrome is open? I normally use firefox.

Really lost here.
posted by fantasticness to Computers & Internet (7 answers total)
 
Response by poster: Oh sorry... This is why I mentioned the Chrome part. Cause he talks about it in this part I forgot to paste here:

"allowDebug":true,"debug":{"mw":true,"ho":false},"channel":"latest","theme":"dark"}

Open the Chrome DevTools via the menu bar → Debug → Dev Tools
posted by fantasticness at 10:41 AM on November 20, 2022


Presumably AnyType is the application and this is the problem you're trying to solve? What operating system are you on? That will be necessary to know to be able to give you instructions you can follow.

This doesn't have anything to do with Chrome the browser (although I can see why it would be confusing) — AnyType is implemented with a framework that uses Chrome under the hood, but that's separate from the Google Chrome browser on your computer. The "Debug → Dev Tools" menu will be in AnyType.
posted by wesleyac at 11:02 AM on November 20, 2022


Response by poster: That's not exactly my problem, but it's close so I can understand why he'd tell me to do this. I use Windows 10 pc. Looks like they just cut and pasted from that site without bothering to explain to me
posted by fantasticness at 11:04 AM on November 20, 2022


Hmm, well, the docs that should tell you where this file is are pretty useless ("The Anytype Root Folder is a variable based on the OS where all your local data is stored. Currently, it is not possible to change the location of this folder. However, this functionality will be added at a later date." — but it doesn't say what the location is), and the software does not actually seem to be open-source, so I don't think there's much anyone without familiarity with AnyType specifically can do to help with that part of it.

Once you find what folder it uses ("directory" means the same thing as "folder" in this context), you can use Notepad or another text editor to make the devconfig.json file with the correct contents. Then restart AnyType and you should see the "Debug" option in the menu.
posted by wesleyac at 11:15 AM on November 20, 2022


Well, 'working directory' to me means the directory where the file you are editing lives. So I'd try creating the devconfig.json file there. If that doesn't work, try searching your computer for a possibly pre-existing devconfig.json file and replace that one. Or just look around computer for the folder that holds the Anytype program and look around there for possibly other something.json type configuration files and try putting a devconfig.json there.

Sorta just keep trying reasonable places until it works maybe?
posted by zengargoyle at 11:30 AM on November 20, 2022


Do you happen to have a shortcut to open this program on your PC? Something you can double click on the desktop or something in your Start menu?

If you have a short cut in the start menu:
1. Hover over item in your start menu
2. Right click
3. On pop-up menu select "more"
4. Then "Open File Location".
5. Then find the shortcut again, and right click and follow the directions below for (If you have a shortcut on your desktop)

If you have a shortcut on your desktop.
1. Right click and you'll see a menu pop up
2. Select Properties.
3. In the "Shortcut" tab - you'll see a "Target" which will be a path (something like "C:\Program Files\Company Name\Application.exe")
4. In windows explorer (Right click on start menu, select "File Explorer"), you'll see a text box on the left side near the top (not the search text box, the one next to it on the left - mine says "quick access")
5. Copy the text from the Target, up to the last slash (In my example: C:\Program Files\Company Name\") and paste that into the text box you found in step 4, then press enter.
6. You should now see files in the "directory" or "folder" where the program code runs from.


You might be able to find devconfig.json in the directory. If you do, right click, open with Notepad, and make your edits.

If you don't, you can try making a new file (using notepad, new file, paste the text, save as "devconfig.json" in the directory you used in Step 5.

When you save your file:
1. Use the Save As option in Notepad
2. Change "Save as type" from Text Documents to All Files
3. Then write devconfig.json as the file name
(Otherwise Notepad will "helpfully" add .txt to the end of your file name, and the program will not be able to find it)

Hopefully this will help you locate the directory where the program is running.
posted by skunk pig at 11:54 AM on November 20, 2022 [2 favorites]


Open File Explorer. Click on "This PC". Then find the search box in the upper right and enter "devconfig.json" in that box and press enter. Windows will search all of the directories to find devconfig.json and the search result will also contain the directory where it lives. Then open it with Notepad and follow the directions from skunk pig
posted by TimHare at 8:59 PM on November 20, 2022


« Older Motion sickness and sensitivities to odors   |   Low-carb cookbook Newer »
This thread is closed to new comments.