3

I've seen this answer and this one. I think I've done what they say to do, but I'm still having trouble.

I've copied /usr/share/applications/gnome-terminal.desktop to ~/.local/share/applications/. I then edited that file to look like this

[Desktop Entry]
Name=Terminal
Comment=Use the command line
TryExec=gnome-terminal
Exec=gnome-terminal
Icon=utilities-terminal
Type=Application
X-GNOME-DocPath=gnome-terminal/index.html
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-terminal
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=3.0.1
Categories=GNOME;GTK;Utility;TerminalEmulator;
StartupNotify=true
OnlyShowIn=GNOME;Unity;
X-Ayatana-Desktop-Shortcuts=New;NewDev
X-Ubuntu-Gettext-Domain=gnome-terminal

[New Shortcut Group]
Name=New Terminal
Exec=gnome-terminal
TargetEnvironment=Unity

[NewDev Shortcut Group]
Name=New Development Terminal
Exec=gnome-terminal --window-with-profile=Development
TargetEnvironment=Unity

I then chowned the file to make me the owner instead of root. I closed all my terminals and removed the terminal icon from the launcher.

Now, if I open Terminal from the dash, I get a new launcher icon which has the new quicklist. But if I press Ctrl + Alt + T, it opens a different terminal icon, which doesn't have the quicklist.

What's worse is that if I keep the new icon in the launcher and then close all terminals, using the new quicklist opens a new terminal with the correct profile, but with a new icon without the quicklist.

I made a video here of some of the weird behavior.

I also tried editing the /usr/share/applications/ file directly, but that didn't work at all. I got no new quicklist, and clicking on the launcher icon wouldn't load a terminal at all.

What am I doing wrong in creating quicklists?

Kris Harper
  • 13,705

2 Answers2

2

What I think you should try is this -

Open your custom gnome-terminal.desktop in a text editor

Remove this line & it's space entirely, then save. You may want to then do a log out/in & try again

OnlyShowIn=GNOME;Unity;
doug
  • 17,212
0

Its not a problem with quicklists, Ctrl + Alt + T appears to be hard coded to the gnome-terminal command. I confirmed this by creating a gnome-terminal symlink in my ~/bin and binding it to a different executable.

To work around this you can create your own short cut with your custom command in System Settings -> Keyboard -> Shortcuts -> Custom Shortcuts, as the system commands cannot be edited save for changing the shortcut keys

This will disable the current Terminal Launcher shortcut, if you use the same command.

Kris Harper
  • 13,705