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?
How to edit the logout entry on main menu
Re: How to edit the logout entry on main menu
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
Motheroard: G41M-ES2L w/ 2.60 Ghz 2-core proc., 2 GB RAM, & 1 GB Vid RAM
Debian 6 STABLE w/: slim lxde-core libdvdnav4&read4 gstreamerbad&ugly reportbug-ng chromium gecko-mediaplayer p7zip transmission epdfview openoffice bleachbit claws-mail
Debian 6 STABLE w/: slim lxde-core libdvdnav4&read4 gstreamerbad&ugly reportbug-ng chromium gecko-mediaplayer p7zip transmission epdfview openoffice bleachbit claws-mail
Re: How to edit the logout entry on main menu
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
Suppose you're Spanish, you would add a Spanish name below the English one:
Code: Select all
Name=Logout
Name[es]=Salir
-EDIT- sorry, I read your question better. Just change
Code: Select all
Name[pt_BR}=Desconectar
Code: Select all
Name[pt_BR}=Sair
Re: How to edit the logout entry on main menu
For those who are using Lubuntu, command will be: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.Code: Select all
Name=Logout Name[es]=Salir
-EDIT- sorry, I read your question better. Just changetoCode: Select all
Name[pt_BR}=Desconectar
Code: Select all
Name[pt_BR}=Sair
Code: Select all
sudo leafpad /usr/share/applications/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
I'm very interested to know how can I change the default names but not sure how to find that file?
Feel Free to contact me: http://amjjawad.net
-
- Posts: 116
- Joined: Tue Nov 11, 2008 4:51 pm
Re: How to edit the logout entry on main menu
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' ??
/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' ??
Geology - It's not rocket science, it's rock science!
Re: How to edit the logout entry on main menu
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.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' ??
Perhaps we're talking about the wrong file?
I have Lubuntu 11.04.
Feel Free to contact me: http://amjjawad.net