Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-10-21 04:14:19

ggstone
Member
Registered: 2011-10-12
Posts: 12

How to chang the language in xfce4 without reboot?

hi,
Now,I build a linux could surpport different language using xfce4-desktop.
In xfce4-desktop , I put the command  'export  LC_ALL=zh_CN.utf8' in xterminal, it could show Chinese in xterminal.
But the desktop menu are still in English.
How to change the language in xfce4 without reboot?

Thanks!

Offline

#2 2011-10-21 09:57:03

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: How to chang the language in xfce4 without reboot?

You will need to stop the process and restart it with the new locale.

For example for xfce4-panel (always check the --help output to know how to properly quit an application):

xfce4-panel --quit
LANG=zh_CN xfce4-panel &

Last edited by mmassonnet (2011-10-23 10:05:02)


Mike

Offline

#3 2011-10-23 09:45:40

ggstone
Member
Registered: 2011-10-12
Posts: 12

Re: How to chang the language in xfce4 without reboot?

mmassonnet,thanks!
I will try it soon!

Offline

#4 2011-10-24 03:53:07

ggstone
Member
Registered: 2011-10-12
Posts: 12

Re: How to chang the language in xfce4 without reboot?

xfce4-session-logout --logout
LANG=zh_CN startxfce4 &

It's ok!

but it can't work

xfce4-session-logout --logout && LANG=zh_CN startxfce4 &

Is there any method that in one command could complete the work?
thanks!

Last edited by ggstone (2011-10-24 03:56:25)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.22 KiB (Peak: 531.16 KiB) ]