desktop file directly on the Desktop and then make a single symlink for the Unity/Gnome application launcher?Ī: because this way the. desktop file to make changes to the shortcuts in both places at once. desktop file to act as the "master" launcher for the program, then we will create two symbolic links (symlinks) to this file to allow us to launch the program (1) via an icon on your Desktop, and (2) using the Unity or Gnome Application launcher search menu.Ī: Well, it allows you to only have to edit a single. The main executable file to launch the application is stored at "~/Downloads/Install_Files/Arduino/arduino-1.8.5/arduino".įollow my example below, updating all steps as necessary for your application, including modifying the. The executables were previously extracted into this folder: "~/Downloads/Install_Files/Arduino/arduino-1.8.5". In this example we will make a launcher for Arduino v1.8.5. How to create both a Desktop shortcut AND a Unity Dash / Gnome dock ("start menu") icon option using one. (This part only for gnome, alt+ f2 is diffrent in unity) Another way to list known applications is to hit Alt+ F2 and click on the app under "Show list of known applications", you can then copy the command text for that program to paste in toĪll this will make it extremely easier to make custom launchers, and once setup you can make them without the terminal. There are default icons in the various theme folders or specific icons in the /usr/share/icons/hicolor/scalable/apps or /usr/share/icons/hicolor/48x48/apps, or if later you want to put an icon in you can right click > properties to drag and drop the icon in. If It dosn't show the icon when you get back to the "Create Launcher" box you can drag a icon in by finding the icon in /usr/share/icons. If you forget what the app's launch command is click "Browse" then navigate to File System > usr > bin which is /usr/bin, these are the applications on your system, most should automatacally find the icon after you click "Open", although they won't show up before. Then fill in the comand information for the application you want, Shown below -ħ- Now we have Create new launcher on the right click menu! Right click on your desktop and go to > Scripts > Create New Launcher sh as extension ex "Create New Launcher.sh", if you can't make it executable in the next step).ĥ- Now we need to make the file executable, Right click on the file go to > Properties > click Permissions tab > look for "Execute" and check "Allow executing file as program" then close out.Ħ- Open the file browser, go to > View > Show Hidden Files, now navigate to you home folder, and Place the file in ~/.gnome2/nautilus-scripts. Put only this into the new text document and then save it as "Create New Launcher" no extension needed (you may need to use. Open gedit either by terminal or Alt+ F2, Paste the code gnome-desktop-item-edit ~/Desktop/ -create-new Or use the key shortcut Alt+ F2 type gnome-tweak-tool then click "Run"ģ- Navigate to the "Desktop" tab on the left pictured - And turn ONĤ- Source for this part: 1 Now we are going to create a Script to put on the right click menu. In terminal paste- sudo apt-get install gnome-tweak-toolĢ- Then type the following to launch it gnome-tweak-tool This Is a solution to get it back on the right click menu In Gnome and Unity,ġ- Install gnome-tweak-tool, if you don't already have it, No longer works in latest version, desktop icons were completely removed. You can later move the MyLauncher.Desktop file from ~/Desktop to ~/.local/share/applications/ to make it appear in all applications dashboards, or to /usr/local/share/applications to make it available to all users (Thanks to comment).ĮDIT: ubuntu 22.04+ the app is called gnome-tweaks. It is also installed automatically if you have previously installed gnome-tweak-tool.Īlternatively, you can install the old gnome-panel without much of the bulk: sudo apt-get install -no-install-recommends gnome-panel Gnome-desktop-item-edit is installed automatically if you have installed gnome-shell/gnome-fallback. This will launch the old GUI Dialog and create a launcher on your Desktop: Using ALT+ F2 type gnome-desktop-item-edit -create-new ~/Desktop The old GUI dialog is still available if you still want to use this: So, this answer is unlikely to work for 19.10 and later. Note: gnome-desktop-item-edit was removed from gnome-panel in 19.10 (see gnome-desktop-item-edit: command not found on Ubuntu 19.10 and later even with the 'gnome-panel' package installed).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |