How to open atom editor? - atom-editor

I'm new to atom (atom.io), I have downloaded it, and success installed it. But how to open this editor?
There is no shortcut in my desktop. And no atom icon on my start menu.
How to open this editor?

If you are using windows check:
C:\Users\<yourUserName>\AppData\Local\atom

Atom SETTINGS -> System: tab -> Checked two options:
- Show in file context menus
- Show in folder context menus

First go to this location
C:\Users\<YOURUSERNAME>\AppData\Local\atom
In my case YOURUSERNAME is hp. After going to that folder check the file name atom with atom symbol of type application.
Click on the link below to see the picture.
After that, right click that file and click the option create shortcut. Then move the shortcut to your Desktop.
Now you can access/open atom editor from your desktop.
ENJOY!

cd C:\Users\<YOURUSERNAME>\AppData\Local\atom
start atom.exe
Just copy this code to a notepad file and save it as Atom.bat on your desktop. I know it is a workaround, but hey, it works!
You can customize the icon too if you want by going to it's properties.

Please unhide "hidden files"
Find on this location [AppData is a hidden folder in windows10]
C:\Users<YOURUSERNAME>\AppData\Local\atom

It's in "GitHub, Inc" folder in start menu.
If there isn't, go to C:\Users\<YOURUSERNAME>\AppData\Local\atom or
C:\Users\<YOURUSERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\GitHub, Inc
If these do not work, reinstall it! and after it finished try to pin it on Taskbar.

You need to access the Atom app settings as described here: https://atom.io/packages/settings-view#:~:text=Usage,File%20%3E%20Settings%20(Windows).
"You can open the Settings View by navigating to Edit > Preferences (Linux), Atom > Preferences (macOS), or File > Settings (Windows)."
For windows computer: On the Atom app home screen click on File, then settings. You then scroll to System settings and select all the check boxes as shown in one of the images in the answers in this thread.
After completing these steps you will notice that if you right click on any of your files, and click "open with" Atom will be one of the options to open your file with. After opening Atom you can right click the icon on your task bar and click "pin to task bar" and use that as your shortcut.

Bizarrely, I actually just found it in
C:\Windows\SysWOW64\config\systemprofile\AppData\local\atom\atom.exe
It was installed by chocolatey; perhaps that affected the install location? On a different system chocolatey installed it in a more normal place.

Related

How to open conemu form current folder?

I used cmder that can open console from current folder thought windows shortcut menu by clicking mouse right key.
You can add shortcut of cmder to right-click menu by
cmder /regesiter
But when using conemu, I can't find way to open console form current folder.
Is there some way I can do it?
thanks a lot
I find the approach: Settings -> Integration -> ConEmu Here -> Register

How to open a file with a single click in atom1.7+ (no pending panes)

After having upgraded atom from 1.5 to 1.7 I discover a new "feature" that is not practical: all files that are single-clicked are now open in a "pending pane", what means that if nothing is changed in the file, it will be replaced by the next opened file.
It's possible to disable the "pending panes" feature in the settings of atom.
But I also would like to restore the previous behaviour (a single click on the file in the tree view will open the file).
The "tree-view" package settings allow to edit keybindings, but I haven't found anything about mouse clicking.
If you open up Settings from File -> Settings or with Ctrl-Comma there is a setting right at the top of "Core Settings" to Allow Pending Panes, uncheck this to disable the Pending Pane functionality:
Unfortunately restoring the 'single-click' functionality to the TreeView isn't a configurable option as yet. However there is pull request #804 that addresses this problem.
Advanced: how to try out the updated TreeView now
If you feel brave and want to try out the updated version of TreeView before it is merged you can actually download it and add it to Atom, albeit not from Package Manager.:
Question: How to edit core files in Atom Editor.
It is required to clone the appropriate branch of the repository:
git clone -b single-click-select git#github.com:Alhadis/tree-view.git
Thanks to Arcesilas for spotting this answer.

Perforce visual client (P4v) shortcut icon not displaying

I run the Perforce Windows client, P4V, on both my office computer and my laptop. On the office computer it displays a standard P4V icon (a silver 'V' in a red circle). On the laptop it displays a generic icon that looks like three colored blobs in a window.
On the laptop I tried to change the icon in the P4V shortcut's Properties dialog. When I clicked "Change Icon" I got an error box that said, "Windows can't find the file %USERPROFILE%\Documents\...\p4v_IDI_ICON1.ico." The pathname refers to a folder that I created to store notes. There's no reason why a Perforce icon should be in that folder. I'm mystified that Perforce is even aware of the folder, since it's not in any depot.
I looked for the named .ico file in my office computer's Perforce installation directory. It's not there.
What can I do to make the Perforce icon display correctly on the laptop?
You should be able to select the icon from the executable, which is likely at "C:\Program Files\Perforce\p4v.exe" (or %PROGRAMFILES%\Perforce\p4v.exe in the generic).
On my system the icon was assigned by the installer, and has a cryptic path into the Windows Installer folders, but, I am also able to use the icon from the exe above.
The P4V executable file on the laptop does not contain any icons at all -- that's the cause of the problem.
I did figure out a way to solve the problem, though:
On the office computer, open the P4V shortcut's Properties dialog.
Click Change Icon. The Change Icon lists one icon (the one I want).
"Look for icons in this file" gives the pathname of a weirdly named
EXE file in a directory named %systemroot%\Installer.
Email the weirdly named EXE file to myself as an attachment.
On the laptop, save the EXE file.
Open the P4V shortcut's Properties dialog. Click Change Icon. Enter
the pathname of the saved EXE file in "Look for icons in this file." The
dialog shows the icon I want.
Select the icon and close the dialog.
Now the right icon appears in the task bar when I start P4V. The wrong icon still appears in the Start menu, but I hope that that will correct itself the next time I reboot.

How to make RStudio File Navigator open Current Working Directory by default?

This is a very small issue but every time I do it, I wonder if there is such a convenience.
In RStudio, file navigator always opens in home directory by default. Is there a way to make it open the current working directory automatically or by using a shortcut?
To open current working directory you can simply use the "Set As Working Directory" button in Files -> More menu.

IExpress - create exe with custom icon

With the help of IExpress I created an exe from a bat file and would like to set a custom icon for the exe. Is this possible?
Regards
Try Resource Hacker. It worked here with a test IExpress installer.
Step-by-step instructions:
Create your IExpress package as normal.
Launch Resource Hacker, then open your IExpress-generated executable.
In the Action menu, choose Replace Icon …
Open the file that contains the icon you want to use, then click Replace.
Save the file in Resource Hacker. This will get you two files:
Your new file: package.exe
Your original file: package_original.exe
If the icon for package.exe looks wrong on your computer, this is expected behaviour due to the old icon being cached by Explorer. To clear the icon cache, you can execute:
ie4uinit.exe -show
(This will only be a problem on the computer that you used to edit the file; other computers should show the correct icon straight away.)
As a workaround you can create a shortcut of the exe file and then set a custom icon to it.

Resources