

alias ll='ls -alF'Īs a note to me I also created an aliaslist.txt file on my home with every alias I made with a description after it. Something that surprised me the first time I did this was the fact that 3 common file directory tools taught to me in school ll, la, and l were all aliases of ls extentions in this same tool. Now test your alias by entering your keyword and see if it creates correctly. alias makealias='sudo nano -Bu ~/.bashrc'Īfter your aliases have been created issue the refreshalias command I made. In my editor I added these 2 lines to make it easier to access and edit my aliases. Go all the way to the bottom of the opened document and add the following #My aliasesĪlias aliasname='command you want issued here' Sorry I'm so late to the conversation but if you are trying to navigate to a folder or run any common command with ease you want to create aliases. Note that as our file is launching xdg-open it is proper to use the. /usr/share/icons/HighContrast/48x48/folder.pngįor more information on the Desktop Entry Specification please see:./usr/share/icons/Humanity/places/48/folder.svg./usr/share/icons/Yaru/48x48/places/folder.png.You can replace with an image of your choice Default Ubuntu icons are located at: /usr/share/icons/.Įxamples of default Ubuntu folder icons include (but are not limited to): Right click it and click Allow Launching to activate the. Once the file has been created it shall appear on the desktop. Please Note: If the location or name of the folder changes then the. Replacing with the name of the folder and with the location of the folder.

The following information should be written to ~/Desktop/.desktop:

Though it's not necessary, it is of course sensible to name the file similarly to the folder name. desktop file we create shall launch the folder viewer app xdg-open at the location specified by.

desktop extension in the ~/Desktop/ folder using any text editor. As such, I'm sharing my preferred approach to creating a desktop shortcut.ĭesktop shortcuts can be added by creating a file with the. I wasn't able to file a reliable solution from the other provided answers.
