Skip to content

larsaars/CreateUbuntuGnomeShortcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Create Ubuntu Shortcut

Create ubuntu shortcuts easily without much effort over terminal for gnome environment

This can be executed directly from the GNOME desktop directory or be inserted to bin directory.

To insert this bash script into the bin dir, follow these steps:
Open the terminal.
To enable desktop icons, the gnome tweak tool has to be installed first:
sudo apt-get install gnome-tweak-tool gnome-tweaks
In there, search for "icon", then go on Desktop and enable the option called "Desktop Symbols"
Since aptitude is needed, if you don't have it already installed, install it via the terminal:
sudo apt-get install aptitude
Navigate to the Desktop via cd command in terminal
Create a new file:
touch createshortcut.run
Open the newly created file in a text editor and copy the sourcecode of "createshortcut.run" into there.
Then move file to /usr/bin with:
sudo mv createshortcut.run /usr/bin/createshortcut
Make the file executable:
sudo chmod +x /usr/bin/createshortcut

Everything is done so far!

To create shortcuts in .desktop format you just have to execute createshortcut when navigated in the desktop folder in the terminal (this can be done via the cd command or right-click on desktop -> "open terminal here") and follow the steps!

About

Create ubuntu shortcuts easily without much efford over terminal for gnome environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages