! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
different behavior for terminal/xterm when launched from launcher or from com...
Status:
RESOLVED: INVALID
Product:
Xfce4-panel
Component:
Launcher

Comments

Description pierre 2010-03-30 00:45:01 CEST
Hi.

I run gentoo on a 86_64 and the latest xfce.
I run xfce since I bought my first laptop.
It rocks! specially for what I use my laptop for (vlc, firefox and a terminal).

I have this problem : 
I use utf8. when I open a Terminal from xfce4-panel's launcher, or from a keyboard shortcut I created (Crt T), special characters don't render well.  
 
If I then open another one from command line, they show just nice...

the same with xterm.
I've even created /usr/bin/myXterm with a customized xterm launcher (xterm -sb -sl 1000 -fa DejaVu -fs 11 -u8 -geometry 80x24 -bg "#d6d6d1d1d1d1" &)

when launched from panel launcher or from shortcut, it doesn't work.
meaning, it has the good geometry and colors, fonts, blablabla, but no utf8 (the -u8 option ).

I must say I'm a bit lost here. I have tried any kind of configuration ...

I'm a programmer. I usually manage quite well encodings. I have no other issue with encodings in my setup.

I have this problem since 4.4.some
I've never reported it thinking it was coming from my setup.

But after trying and trying, I give up and ask for help!

pierre
Comment 1 pierre 2010-04-18 19:55:15 CEST
found out that 

/proc/nb_xfce_launched_xterm/environ 

was really different from 

/proc/nb_manual_launched_xterm/environ.


just adding :
export LANG="en_US.UTF-8"

before launching xterm (in the /usr/bin/myXterm script above) solved the problem.


I AM VERY HAPPY!

anyway, I left this report as "NEW" as I don't know why the environments variables are so different when launched from panel or from xfce4-settings-helper's shortcuts, and manually.
Comment 2 Nick Schermer editbugs 2010-11-17 08:37:11 CET
We inherit the environment from the terminal xfce4-panel is started in (normal behavior), so you might want to start you login terminal with utf8 support. Not much we can do about this, because we don't alter the environment.

Bug #6351

Reported by:
pierre
Reported on: 2010-03-30
Last modified on: 2010-11-17

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information