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: 10,948

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

Board footer

Powered by FluxBB