How to Restore Terminal to the Menu

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
raywood
Level 1
Level 1
Posts: 25
Joined: Sat Apr 09, 2016 1:45 pm

How to Restore Terminal to the Menu

Post by raywood » Mon May 14, 2018 9:16 pm

I'm using LM 18.3. In the Main Menu editor, I right-clicked > delete on the Terminal icon. This made sense: I had a copy of it in another folder. Yet this action deleted them both.

I'm not finding a way to add or restore Terminal to the menu. Suggestions?

P.S. While I was at it, I deleted the xTerm icon and its companion, which I think was called uxTerm. I believe in being thorough.

User avatar
AZgl1500
Level 9
Level 9
Posts: 2595
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: How to Restore Terminal to the Menu

Post by AZgl1500 » Mon May 14, 2018 10:10 pm

open Software Manager and install it again
Once you do, tab it to Panel so it can't get lost
and is it Really Lost? use this shortcut Control-Alt-T that will bring it up again

Gnome Terminal


Image

User avatar
smurphos
Level 7
Level 7
Posts: 1641
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: How to Restore Terminal to the Menu

Post by smurphos » Tue May 15, 2018 12:48 am

Manaully recreate the entry - the command is gnome-terminal.

apt reinstall gnome-terminal should also do the trick.

raywood
Level 1
Level 1
Posts: 25
Joined: Sat Apr 09, 2016 1:45 pm

Re: How to Restore Terminal to the Menu

Post by raywood » Thu May 31, 2018 7:34 pm

Ctrl-Alt-T worked. Thanks for that.

So, you're right, gnome-terminal wasn't gone. As it turns out, there's still a ~/.local/share/applications/gnome-terminal.desktop file. But for some reason that .desktop file doesn't cause an automatic Terminal entry in the Menu. If I edit the menu to add a Terminal entry, it creates a file in that ~/.local/share/applications folder named alacarte-made-ff53a43e...desktop, and I can edit that one to contain "Icon=utilities-terminal" so that the icon is right.

I would rather have just the gnome-terminal.desktop file. How can I get it to register in the Menu?

User avatar
karlchen
Level 19
Level 19
Posts: 9321
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: How to Restore Terminal to the Menu

Post by karlchen » Fri Jun 01, 2018 6:44 am

Hi, raywood.

Inspect the file $HOME/.local/share/applications/gnome-terminal.desktop.
There might be a line in it reading NoDisplay=true, which will make the application menu not display the corresponding menu item Gnome Terminal.
Either changing NoDisplay=true to NoDisplay=false or removing the line completely will make the menu item visible again.

By the way, each Mint comes with a menu editor (no, not alacarte).
You can either locate it in the Preferences sub-menu or in the System sub-menu. May depend on the exact Mint edition.
Or you right click on the [Mint] menu button and click on "Edit menu ...".
Inside the menu editor, each menu item will have a property "Visible", enabled by default. In case an item is disabled, you can enable it.

HTH,
Karl
Image
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.21a 64-bit
Ubuntu 18.04.1 32-bit Mate Desktop, Total Commander 9.21a 32-bit
Windows? - 1 window in every room

Post Reply

Return to “Cinnamon”