Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-07-05 19:57:17

wybodekker
Member
Registered: 2016-07-05
Posts: 2

use environment variables in panel launchers

one of my panel launchers starts icedove, but it not see my environment variable: LC_TIME=en_DK.utf8. How can I let it honor that variable so that my date will be formatted as yyyy-mm-dd HH:MM?

Offline

#2 2016-07-05 23:50:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: use environment variables in panel launchers

Try the following as your launcher command:

env LC_TIME=en_DK.utf8 icedove

If that doesn't work, try:

bash -c "env LC_TIME=en_DK.utf8 icedove"

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2016-07-06 07:08:51

wybodekker
Member
Registered: 2016-07-05
Posts: 2

Re: use environment variables in panel launchers

thanks! Both worked. I had tried the first before, but without the "env", like I normally do on the command line.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 518.95 KiB (Peak: 519.79 KiB) ]