Excuse me Please: In settling in to 14.04, I finally have my beloved GNOME back, and am currently trying to delete a launcher from the launcher bar(?) that is pointing to a Link that no longer exists. Right-click it only gives Launch and Properties. By what process can I delete this, or what folder is this "launcher bar" located at? Thank you kindly for the assistance. CAH
2 Answers
The launcher in gnome, just like launcher in Unity, both have gsettings
schema where the apps are listed. In this answer, I will be showing an example of deleting firefox from gnome launcher.
We find out what is the setting for org.gnome.shell
schema and its key favorite-apps
xieerqi:$ gsettings get org.gnome.shell favorite-apps
['empathy.desktop', 'rhythmbox.desktop', 'firefox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'yelp.desktop']
Next we copy the output and paste it into the command gsettings set org.gnome.shell favorite-app
xieerqi:$ gsettings set org.gnome.shell favorite-apps "['ubiquity-gtkui.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'yelp.desktop']"
As you can see, in the code above, I've removed 'firefox.desktop',
part. Also notice the double quotes at the end and the beginnign of the value
Bellow are the results before and after running the command:
-
excuse me, I received the following response when I typed in the command string "gsettings get org.gnome.shell favorite-apps" : no such schema 'org.gnome.shell'– user460841Oct 16, 2015 at 23:19
-
@Ceyarrecks OK, so can you do this please: so choose one application from launcher that you have there pinned, and search for it with
gsettings list-recursively | grep -i 'app-name'
and copy and paste that to paste.ubuntu.com. Copy the link of your submission and link it in the comments here. Oct 17, 2015 at 8:28 -
I launched Terminal, typed in the above command with the name of the launcher in question, and one that works, "k3b CD/DVD Burner" and neither resulted in anything.– user460841Oct 19, 2015 at 22:43
-
Excuse me Please: can someone assist me in understanding why the above recommended command string resulted in NO results, no responses, no errors, nothing,....?– user460841Oct 27, 2015 at 1:52
-
@Ceyarrecks I cannot quite explain that.
gsettings
is the standard , low-level tool to administer gnome shell. I don't understand why it's not working for you, even though we both have 14.04. The only other suggestion I can give is to try it throughdconf
,another tool. Oct 29, 2015 at 6:35
I edited and re-purposed the Launcher that refused to be removed by placing a url into the Location field "http://####.org/o/index.html" and it now launches the browser instead. Thank you kindly for the assistance. CAH
*.desktop
files should be in/usr/share/applications/
or~/.local/share/applications/
(~
is your home directory). If you're sure the corresponding file is not usable any more, you can delete it, but I'd recommend you to move it to a different location first and check that you took the right one. It has no effect when it's outside those two directories. Note that the first one (/usr/...
) is system-wide and needs root permissions to be modified. The second one is specific to your user.Super
key and create a sceenshot viaShift-Print