Thursday, February 22, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 11758  / 3 Years ago, mon, june 7, 2021, 5:47:51

Pity that gnome-shell's launcher shows only a few characters of the application's name. That's why I'd like to rename e.g. "web-browser firefox" into just "firefox".



Previous versions of gnome had a working Alacarte program which allowed to do what I need.

Now Alacarte shows this error while trying to enter the applications preferences:



File "/usr/share/alacarte/Alacarte/MainWindow.py", line 391, in on_edit_properties_activate
process = subprocess.Popen(['gnome-desktop-item-edit', file_path], env=os.environ)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception


How do I rename an application without alacarte?


More From » gnome

 Answers
1

In Ubuntu, apps are described in .desktop files



Gnome Shell, Unity, KDE Plasma, etc use those files to obtain application name.



They do so by looking up on Name parameter in .desktop file.



Most .desktop files are located in /usr/share/applications



So to change an application's display name :




  1. Open gedit and open /usr/share/applications/firefox.desktop from gedit // maybe it is firefox-broswer.desktop (not using ubuntu at the moment)

  2. Locate the Name=Firefox Web Browser line and change it to Name=Firefox

  3. Save the file and reload your shell



NOTE: You must open gedit as root :



gksu gedit

[#36215] Monday, June 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
deringach

Total Points: 412
Total Questions: 107
Total Answers: 101

Location: Palestine
Member since Tue, Jul 20, 2021
3 Years ago
;