Application Items in 'Right-Click' Menu
Firefox and Chromium behave as I would expect - if you right click the icon, you see the additional launcher items listed in /usr/share/
I would expect a 'New Terminal' option present if I already have one instance of terminal running, based on my gnome-terminal.
$ cat /usr/share/
[Desktop Entry]
Name=Terminal
Comment=Use the command line
TryExec=
Exec=gnome-terminal
Icon=utilities-
Type=Application
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
Categories=
StartupNotify=true
OnlyShowIn=
Keywords=Run;
Actions=New
X-Ubuntu-
[Desktop Action New]
Name=New Terminal
Exec=gnome-terminal
OnlyShowIn=Unity
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Plank Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrew Hise
- Solved:
- 2014-02-14
- Last query:
- 2014-02-14
- Last reply:
Andrew Hise (heyandrew) said : | #1 |
After more digging, I realized I needed to add another [Desktop Action] section to the .desktop file; solved!
Leonardo Santos (laugustogs) said : | #2 |
Wait, could you tell exactly what you did? What lines did you add to the .desktop file?
Kristian Picon (kristianpicon) said : | #3 |
For browsers, at least, Plank seems to be reading the Unity "application menu" shortcuts. I added this to get shortcuts in MATE Panel:
X-Ayatana-
[NewTerminal Shortcut Group]
Name=New Window
Exec=mate-terminal --window
[NewTab Shortcut Group]
Name=New Tab
Exec=mate-terminal --tab