Page 1 of 1
How to edit the logout entry on main menu
Posted: Tue Jul 12, 2011 1:14 am
by gqqnbig
The main menu contains logout(or log off; I'm not using an English interface) entry, run entry, Games submenu, Internet submenu, Accessories submenu, etc.
I'd like to edit the logout entry, change the word "logout" to "leave".
So How could I achieve this?
Re: How to edit the logout entry on main menu
Posted: Tue Jul 12, 2011 4:43 am
by ueltume
Read this thread. Copy the code and run it somehow. I do not know how to but when you do find out tell me and others.
http://forum.lxde.org/viewtopic.php?f=8&t=31189
Re: How to edit the logout entry on main menu
Posted: Wed Aug 17, 2011 10:44 am
by secipolla
Edit /usr/share/applications/lxde-logout.desktop
Suppose you're Spanish, you would add a Spanish name below the English one:
For your language, use the appropriate language code.
-EDIT- sorry, I read your question better. Just change
to
Re: How to edit the logout entry on main menu
Posted: Wed Sep 07, 2011 4:22 pm
by amjjawad
secipolla wrote:Edit /usr/share/applications/lxde-logout.desktop
Suppose you're Spanish, you would add a Spanish name below the English one:
For your language, use the appropriate language code.
-EDIT- sorry, I read your question better. Just change
to
For those who are using Lubuntu, command will be:
Code: Select all
sudo leafpad /usr/share/applications/lubuntu-logout.desktop
The only "logout" file I found was:
lubuntu-logout.desktop
This is the content:
Code: Select all
[Desktop Entry]
Name=Shutdown
Name[zh_TW]=關機
Comment=Shutdown or Reboot
Icon=system-shutdown-panel
Exec=lubuntu-logout
NoDisplay=true
However, when I change the name "Shutdown" to something else, it would just change the name that will be shown when the mouse pointer be on the "Shutdown" icon on the LXPanal.
I'm very interested to know how can I change the default names but not sure how to find that file?
Re: How to edit the logout entry on main menu
Posted: Mon Sep 19, 2011 10:26 pm
by rockdoctor
In Fedora, the lxde-logout.desktop file causes the execution of the script /usr/bin/lxde-logout which executes the binary file lxsession-logout. However, it appears that we're dealing with a translatable string here (I found the file
/usr/share/local/usr/share/locale/en_GB/LC_MESSAGES/lxsession.moe/en_GB/LC_MESSAGES/lxsession.mo but nothing for en_US). I'm just guessing here, but perhaps copying the British English file to /usr/share/locale/en_US/LC_MESSAGES and editing all occurrences of the word 'Logout' ??
Re: How to edit the logout entry on main menu
Posted: Tue Sep 20, 2011 6:10 am
by amjjawad
rockdoctor wrote:In Fedora, the lxde-logout.desktop file causes the execution of the script /usr/bin/lxde-logout which executes the binary file lxsession-logout. However, it appears that we're dealing with a translatable string here (I found the file
/usr/share/local/usr/share/locale/en_GB/LC_MESSAGES/lxsession.moe/en_GB/LC_MESSAGES/lxsession.mo but nothing for en_US). I'm just guessing here, but perhaps copying the British English file to /usr/share/locale/en_US/LC_MESSAGES and editing all occurrences of the word 'Logout' ??
When I opened that file, I found some weird symbols inside and it was like one or two words only, just rubbish couldn't understand what was that.
Perhaps we're talking about the wrong file?
I have Lubuntu 11.04.