You are not logged in.
Hi,
For my Arch x86_64 with chakra I made a backup system intended to work like this:
udev detects my backup device, assigns a link in /dev and starts a backup script. that all works fine.
the backup script is run as root, as it was invoked by udev. now, i want it to display a dialogbox on screen, whether to backup or not. that was done wwith the following command:
sudo -u ford -H -s /usr/bin/kdialog --yesno "Backup durchführen?" --title "Backup" --display :0
as i am from germany i'd like it to display the umlaut correctly, but it doesnt.
i assume this problem to be connected to some other issues:
if i log on to a root terminal from inside my X i can type umlauts without problems.
On another virtual terminal logged on, i cannot type umlauts, the symbolmap seems to differ. still, the keyboard seems to be set up to de_DE too.
Where can i change the keyboard map for root or how can i make the kdialog-command use my settings?
so long and thanks…
ford
towel-day.com
nvidia ist keine Hautcreme
Offline
> if i log on to a root terminal from inside my X
You mean like Konsole? It's a terminal emulator.
Please post your /etc/rc.conf and locale settings.
Last edited by karol (2010-07-17 15:28:00)
Offline
sorry, of course i mean terminal emulator…sorry.
the localisation part of rc.conf looks like this:
#
LOCALE="de_DE.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Berlin"
KEYMAP="de"
CONSOLEFONT="Agafari-12"
CONSOLEMAP=
USECOLOR="yes"
its working in my users environment.
the locale:
root@prefect:~$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
its all the same for my user and root. any ideas?
ford
towel-day.com
nvidia ist keine Hautcreme
Offline
Does you consolefont have umlauts?
Offline
i dunno. how do i find out?
but its also about the kdialog, and the system font has umlauts for sure.
towel-day.com
nvidia ist keine Hautcreme
Offline
So it may be a kdialog encoding issue then.
Edit: Yeah, some people were reporting problems w/ it. I'll see what I can do about it.
Last edited by karol (2010-07-17 15:57:26)
Offline
Try this: "Backup durchf\xfchren?"
\xfc is a code für 'ü'.
echo -e "Backup durchf\xfchren?"
works here (I don't use KDE so no kdialog for me).
Offline
sorry, doesnt work here…
towel-day.com
nvidia ist keine Hautcreme
Offline
"Backup durchführen?" maybe
Edit: I'm going to download Chakra and I'll try to fix it.
Edit 2: I've checked and "<p>Backup durchführen?</p> works for me. Try it.
Last edited by karol (2010-07-17 17:27:34)
Offline