Re: KDM + environment variables
duorastat, golggotmÃnu 2. b. 2003 17.41, Sebastian Seifert ÄÃlii: > Hello, > > I need to set a per-user environment variable that is set on login. How can > I do that in a KDM/Debian-compatible way (i.e. without requiring root to do > dirty things in /etc)? > > I'm using KDM for login. I want to be able to select different window > managers from the login prompt, so I cannot just set up an ~/.xsession file > that sets the variable and then starts kde. > > Is there anything that gets executed upon login (and before starting the > window manager) on a per user basis? Or is there at least a chance to set > the environment variable in a KDE config file (KDE is what is mostly used)? > Here's my .02$, and a method that works for me. Use a file called ~/.xsession, and set your variables there. Here's a snippet from my file: #!/bin/zsh export LC_ALL=se_NO.UTF-8 exec startkde BÃrre Gaup, Kiruna, Sweden pgpPiDfpEFZaY.pgp Description: signature
Re: KDM + environment variables
On Thu, 2 Oct 2003, Paul Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, Oct 02, 2003 at 08:06:55PM +0200, Sebastian Seifert wrote: > > Either doesn't work. As far as I can see, ~/.profile does not get > > executed at all (did you mean .bash_profile? or maybe it's a > > tcsh/ksh/... specific file), while .bashrc is only executed when I > > start a bash. The variable is not set for any application that I > > start via KDE, e.g. a tcsh I used for testing. But I need it set in > > graphical applications. > > ~/.kderc? Put a script in /etc/X11/Xsession.d -- -| Bob Hauck -| To Whom You Are Speaking -| http://www.haucks.org/
Re: KDM + environment variables
On Fri, Oct 03, 2003 at 10:52:17AM +0200, Børre Gaup wrote: > duorastat, golggotmánu 2. b. 2003 17.41, Sebastian Seifert ??álii: > > I want to be able to select different window managers from the login > > prompt, so I cannot just set up an ~/.xsession file that sets the > > variable and then starts kde. > > > Use a file called ~/.xsession, and set your variables there. > *groan* ... if you'd be using kdm's upstream Xsession, it would source ~/.profile and additionally ~/.xprofile for x-specific settings. but as debian has a somewhat strict policy, you are screwed. :-P no, seriously: save this script as /etc/X11/Xsession.d/98private-sripts: - readonly STARTUP #so users cannot override the system policy DM_PATH=$PATH test -f /etc/profile && . /etc/profile test -f $HOME/.profile && . $HOME/.profile IFS_SAVE=$IFS IFS=: for i in $PATH; do case :$DM_PATH: in *:$i:*) ;; ::) DM_PATH=$i;; *) DM_PATH=$DM_PATH:$i;; esac done IFS=$IFS_SAVE PATH=$DM_PATH export PATH test -f /etc/xprofile && . /etc/xprofile test -f $HOME/.xprofile && . $HOME/.xprofile - the DM_PATH voodoo is there to merge the path kdm set with the one set in .profile. if you consider this superflous (on a standard debian installl it is ...), simply remove it. greetings -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done.
No accented chars in 3.1.4
Hi, I'm seeing something very strange with KDE/Qt. Accented characters don't work in konqueror, konsole, kate... etc. (but they do in kmail, for example). It's even more strange that if I start any of those programs from the [kc]onsole, they do work perfectly. I have a mix of kdelibs: - libqt from Sid. - kdelibs from Sid. - kdebase "dpkg-builded" from CVS (branch_3_1) and also tested with 3.1.4 sources available in kde.org (BTW, their debian version are still 3.1.3 in both, cvs and official 3.1.4 tar's). - kdenetwork from Sid (3.1.3-1). Is it possible that the problem occurs with all KDE programas compiled against qt 3.2 in Sid? Or it's just a problem of the CVS/tar sources from kde.org? On the other hand, "special characters", "html characters" and asian chars are still not shown (just the "big" square). Regards, -- ricardo galli GPG id C8114D34 http://mnm.uib.es/~gallir/
Importing Addresses into KMail
Hi, can anyone suggest a way to import large address-databases from outlook 2000 into Kmail? It's practically the only issue keeping me from never booting w2k at home again. I'd like to occasionally update my home machine to the data I have at work, the calendar would be great too, but I could live with the addresses alone. Import Vcard is impractical with hundreds of entries, Import List chokes on my entries with comments thanks, Chris -- Dr.-Ing. Christof Hurschler Bodenstedtstr. 13 D-30173 Hannover +49-0172-5946909
Re: Importing Addresses into KMail
On October 3, 2003 02:52 pm, Christof Hurschler wrote: > 2000 into Kmail? It's practically the only issue keeping me from never > booting w2k at home again. I'd like to occasionally update my home machine > to the data I have at work, the calendar would be great too, but I could You have no Calendar?? `apt-get install korganizer` right away :) -- -- "Catch the Magic of Linux..." Michael Peddemors - Senior Consultant LinuxAdministration - Internet Services NetworkServices - Programming - Security Wizard IT Services http://www.wizard.ca Linux Support Specialist - http://www.linuxmagic.com LinuxMagic is a Registered TradeMark of Wizard Tower TechnoServices Ltd. (604)589-0037 Beautiful British Columbia, Canada
Re: No accented chars in 3.1.4
A Divendres 03 Octubre 2003 15:33, Ricardo Galli va escriure: > Hi, > I'm seeing something very strange with KDE/Qt. Accented characters don't > work in konqueror, konsole, kate... etc. (but they do in kmail, for > example). > > It's even more strange that if I start any of those programs from the > [kc]onsole, they do work perfectly. Same here and all KDE builded recentlly from 3_1_BRANCH. -- El hombre no tiene el valor de mirar a la cara tres cosas: el sol, la muerte y a sí mismo. -- Vilaca.
Re: No accented chars in 3.1.4
On Friday 03 October 2003 15:33, Ricardo Galli wrote: > Hi, > I'm seeing something very strange with KDE/Qt. Accented characters don't > work in konqueror, konsole, kate... etc. (but they do in kmail, for > example). What? Like á é í ó à è ì ò? Works for me in: KMail, kate, KWord, konsole, konqueror. Seems to work universally. Anders -- This email was generated using KMail from KDE 3.1.4 on Debian GNU/Linux
Re: No accented chars in 3.1.4
On Friday 03 October 2003 21:42, Josep Febrer shaped the electrons to shout: > A Divendres 03 Octubre 2003 15:33, Ricardo Galli va escriure: > > Hi, > > I'm seeing something very strange with KDE/Qt. Accented characters > > don't work in konqueror, konsole, kate... etc. (but they do in kmail, > > for example). > > > > It's even more strange that if I start any of those programs from the > > [kc]onsole, they do work perfectly. > > Same here and all KDE builded recentlly from 3_1_BRANCH. Pufff, it's a relief, I thought I was doing something very wrong... thanks. Whay it does work if not started from kdelibs (i.e. from a console) and if fails otherwise? I checked every single configuration file and didn't see any thing suspicious. -- ricardo galli GPG id C8114D34 http://mnm.uib.es/~gallir/
Re: No accented chars in 3.1.4
On Friday 03 October 2003 22:17, Anders Ellenshøj Andersen shaped the electrons to shout: > On Friday 03 October 2003 15:33, Ricardo Galli wrote: > > Hi, > > I'm seeing something very strange with KDE/Qt. Accented characters > > don't work in konqueror, konsole, kate... etc. (but they do in kmail, > > for example). > > What? Like á é í ó à è ì ò? > > Works for me in: KMail, kate, KWord, konsole, konqueror. Did you compile kdebase 3.1.4 or cvs branch_3_1? In my case kmail works, but it's 3.1.3, compiled in Debian, that's to say, with libqt 3.1 > Seems to work universally. Not for some spanish users ;-) -- ricardo galli GPG id C8114D34 http://mnm.uib.es/~gallir/
konsole beep
Hi, I've a strange problem with konsole "beep". When I choose the sound for the console events I can hear them but when, for example, I hit backspace no sound comes out. The arts I/O device is /dev/dsp1. xmms works well with alsa, oss and arts. The first sound card works well too. (-->headphone) Choosing dsp0 or [alsa] hw:0 or hw:1 doesn't help. ~/.kde/share/config/konsolerc: bellmode=1 aplay -l List of PLAYBACK Hardware Devices card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1] Subdevices: 1/1 Subdevice #0: subdevice #0 List of PLAYBACK Hardware Devices card 1: V8235 [VIA 8235], device 0: VIA 8235 [VIA 8235] Subdevices: 0/1 Subdevice #0: subdevice #0 card 1: V8235 [VIA 8235], device 1: VIA 8235 [VIA 8235] Subdevices: 1/1 Subdevice #0: subdevice #0 Mixer settings seems ok. Any hints ? Thanks, Gabriele Persia.