Unable to open Atom - atom-editor

I am unable to open my Atom Editor. It was working fine until yesterday, but don't know why it won't open today. No windows update or anything on my computer. I tried deleting the 'Storage' folder as mentioned in some online forums, doesn't help. Any suggestions? I am using Atom version 1.19.6.0.

If you're using MAC OS and have similar problem, try this:
Open Window tab
and then click Zoom.

Atom will sometime fail to open because of a bad configuration-file.
To better diagnose this on Windows (10), try running atom from a CMD window:
Open the task-manager and kill any instance of Atom that is listed there
Open a Command-window -
Ctrl+Esc > (type "command") > Enter
Go to where Atom is installed -
cd %USERPROFILE%/AppData/Local/atom/app-*
Run Atom -
atom.exe
If you see an error message at this point, it should help identify the problem.
If still not clear, you can try moving the main configuration-file,
which is in a different folder:
cd %USERPROFILE%/.atom/
rename config.cson config.SAVE.cson
Go to where Atom is installed (again) -
cd %USERPROFILE%/AppData/Local/atom/app-*
Run Atom -
atom.exe
Based on this answer on the Atom forum:
https://discuss.atom.io/t/atom-will-not-open-windows/47489

I experienced this issue when my Atom windows all suddenly resized to be so small I could not see or find them anywhere (some weird glitch with opening it from a full-screen window on an external display). I resolved it by command-tabbing (I think it's ctrl-tab on Windows, I forget) to my open atom application to bring up the application's menu bar, and then selecting Window > Zoom from the menu.

I am using Atom on Windows 10 64-bit, and had similar problems of installation and not running later.
You can do the following:
Empty Trash, and Temp and Prefetch folders.
Change the security and read only properties of the temp folder.
IMP > Disable antivirus and run atom it will work, later add the Atom app to exclusion list of your antivirus.

Open the task-manager and kill any instance of Atom that is listed there
Got to where Atom installed : Mine:> C:\Users\%userprofile%\AppData\Local\atom
See this Image
Go to Folder indicated in the picture and find atom.exe by scrolling through the folder and open it and make a shortcut to desktop and it will work.

I found that mv command is not builtin Windows cmd as suggested by Gonen. So following the idea of Gonen, a working solution can also be like:
In windows explorer type %USERPROFILE%/.atom/, or manually go to the path
(in my case): C:\Users\hussainazhar.atom. Of course, go to your drive path accordingly. Close Atom application if already opened.
Simply rename the config.cson to config.SAVE.cson
Open up the Atom and now you can go to the settings :)

All you simply need to do is go the main directly where the file is located and open the FIRST folder.
After opening it, there you will see atom file, double click on it and it will be opened successfully.

The atom Window is just minimized, it gives the impression of not openning, but it is actually opening, again is just minimized.
I was able to see the atom interface, by maximizing the window using the keyboard:
on windows, it normally is Alt+SpaceBar+x.

Related

Can't find a way to get graphic tablet drivers working on mint

So i was trying to install the XP Pen Driver for my Deco 01 v2 graphics tablet on my Linux Mint 19.2 Tina when i came to encounter the following error:
./Pentablet_Driver: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10' not found (required by ./Pentablet_Driver)
I went on to install qt 5.10, still the same error. Others suggested to just change the path wth sudo gedit /etc/ld.so.conf.d/randomLibs.conf which didn't change a thing.
Link to drivers:
https://www.xp-pen.com/download-440.html
The manufacturer has a page describing how to set up their software on Linux with pictures. However, when following them, you end up with a folder name somewhere along the line that has spaces in it, which causes issues.
So a modified set of instructions might look like this:
Connect your XP-Pen product to the computer.
Download the Linux Beta driver from XP-Pen official website.
When the download is complete, extract the compressed folder.
Rename the extracted folder to something without spaces.
Inside the renamed folder is another compressed folder which should be extracted.
Inside the final extracted folder, ensure "Pentablet_Driver.sh" has execution permissions by right clicking on it and going to "Properties->Permissions" and verifying that "Allow executing file as program" is checked.
Open the terminal. (CTRL+ALT+T)
Type "sudo ", then drag Pentablet_Driver.sh from the file browser onto the terminal.
Type the password to complete.
Make sure that you write exactly
sudo ./Pentablet_Driver.sh
instead
sudo ./Pentablet_Driver
I had the same error until I noticed that I forgot to add .sh at the end.

GitBash icon not showing correctly in taskbar [WIN10]

This is not a big problem but it's bothering me. I've installed it in Program Files (x86), already found many old solutions which didn't work for me. I can't install it in another location. I've tried to change the ico to a different one located in a path without spaces, but it didn't work.
Git CMD icon works fine (but I don't like this terminal), the problem persists only with GitBash icon
Can someone help?
Sometimes it could be purely because of the shortcut referring to a previous installation which no longer exists. Check properties by right-clicking on git bash terminal's taskbar icon.
If that's the case
Delete the shortcut or
Replace the path with the current installation directory.
The icon was missing in older versions (2.10: see issue 870)
In your case, make sure to install the latest 64-bits version (in Program Files, not Program Files (x86))
That would be: Git-2.15.0-64-bit.exe.
Update Oct. 2022: this is still working correctly.

Unable to find Github Atom editor after installation in Window 7

I have installed Github's latest Atom editor in Windows 7 and created a html file and all was good.
After that, I closed the Atom editor, and I can't find the editor anymore. I could NOT find it under "All Programs".
Later I checked in the C:\Users\home\.atom folder .
There are so many files in that folder, however I am not able to find the executable file.
Please suggest where the executable file shall be placed?
According to this (fairly old post), it's under or around:
C:\Users\<username>\AppData\Local\atom\app-<version>\atom.exe
If you can't find your AppData directory it may be hidden - just type the path into the Windows Explorer bar and hit enter, or follow the instructions here.
Edit: This official guide cites the same installation location, so if you can't find the program there it may be worth reinstalling. As a last-ditch, try opening the command prompt and entering "atom" - apparently it may have been added to your PATH variable.

atom-editor cmd-click for multi-cursors not working anymore after cmd-click on a hyperlink

atom editor on mac osx related:
I did cmd-click on a hyperlink and got a popup (lost it before able to read),
and now my cmd-click to set multiple cursors is not working any more.
anybody can tell me how to reactivate multi-cursor by cmd-click again?
For a temporary fix:
open the console (you can use ctrl+shift+I shortcut, respectively alt+command+I shortcut on MacOS),
run atom.config.set('core.editor.multiCursorOnClick', true);.
Notes:
You might also want to take a look at your hyperclick or atom-ide-hyperclick package. In atom preferences, go to Settings and change the Trigger keys for MacOS to become command + click.
I've solved this issue by changing the trigger keys to shift+control+click, in atom-ide-ui, under the Hyperclick section.
found it finally ... it was hyperclick plugin which redefined cmd-click.
But I had hyperclick plugin installed for months, it never interrupted multi-cursor from working ...
anyway ... kind of rubber duck debugging ...
The hyperclick module is now part of the IDE module and having both hyperclick and IDE installed causes this problem, too. Deleting the old hyperclick module fixes it (the IDE module by itself does not seem to cause the problem).
Because of the hyperlink installed, Multi Cursor key is now CTRL + SHIFT + Mouse Click in windows. For me it's working.
You can try on Mac CMD + SHIFT + Mouse Click
If someone is facing the same issue on Linux, these methods helped me
Method 1
Navigate to /home/<Your Username>/.atom/
Find the config.cson file
Add the following lines to the file
"*":
core:
editor:
multiCursorOnClick: true
Save the file and start Atom
If this method does NOT work, follow this
Method 2
Uninstall Atom
Navigate to /home/<Your Username>/
Remove/Delete .atom directory
Reinstall Atom
Redo Method 1
It should work.
Hope it helps!

Atom editor opens to empty window and dev tools

I installed a buggy package in Atom which has been crashing the editor repeatedly. So, I went into Atom Settings to remove it, but just out of curiousity I clicked the "Open Config Folder" button beforehand which opened an empty window and dev tools alongside:
Atom subsequently crashed (probably because of the buggy package I was about to install) and now when I open Atom, I only see the above window and nothing else, even if I open it from the "Open with Atom" context menu from any folder. So, now I'm stuck with just this window and no actual Atom Editor.
I tried re-installing Atom and it did not solve the issue. I checked the "Atom" menu available in that window and it only gives me basic options: "Check for Update", "Reload", "Close Window", "Toggle Dev Tools", and "Quit", none of which can get me back to the main editor window.
Anybody seen this before or know how to break out of it?
I got the same problem but on Ubuntu. I tried apt-get --reinstall and purge but both did not work.
Turns out it was just no read permissions for /home/username/.atom/
All I did to fix it was:
sudo chmod 777 -R '/home/username/.atom'
I found a quick solution for this. The Atom uses a BLOB file to store data from the last user session and re-open that when Atom is restarted. By removing that file, Atom restarted at it's default state.
You can find that file on a Windows machine here:
C:\Users\[Username]\.atom\blob-store
Just delete, or rename, the file BLOB. Then, just open up Atom and you should be good to go.
Try this:
Close Atom
Remove C:\Users\[Username]\.atom\storage\application.json
Start Atom

Resources