[gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Alex V. Fansky
Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? -- Alex V. Fansky Minsk, BSU -- [EMAIL PROTECTED] mailing list

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Anders Trobäck
On Tue, 31 Jul 2007 13:23:04 +0300 Alex V. Fansky [EMAIL PROTECTED] wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? How do you start X, XDM, GDM, KDM or maybe startx? --

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Dan Keder
Peter Ruskin wrote: On Tuesday 31 July 2007, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? ~/.bashrc AFAIK .bashrc is sourced even when no X is running (e.g. when logging in via ssh).

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Neil Bothwick
On Tue, 31 Jul 2007 14:19:29 +0200, Dan Keder wrote: I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? ~/.bashrc AFAIK .bashrc is sourced even when no X is running (e.g. when logging in via ssh). More

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Tim Allingham
On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? -- Alex V. Fansky Minsk, BSU can't you use .xinitrc for this? signature.asc Description: This is a

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Neil Bothwick wrote: More importantly, it is not sourced when X starts up. Try ~/.xinitrc - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal)

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Peter Ruskin wrote: Yes, but but when you log in to a non-X terminal you can still log in - all you get is a message like xmodmap: unable to open display ''. Then execute those commands with a conditional test of the $DISPLAY env var... test

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Neil Bothwick
On Tue, 31 Jul 2007 10:09:24 -0300, Arturo 'Buanzo' Busleiman wrote: More importantly, it is not sourced when X starts up. Try ~/.xinitrc That may work, it depends on how the OP is starting X, which he hasn't said, despite being asked. It could be .xinitrc, .Xsession or .kde/Autostart/

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Neil Bothwick
On Tue, 31 Jul 2007 14:58:28 +0100, Peter Ruskin wrote: More importantly, it is not sourced when X starts up. Works for me. Which proves nothing more than you are starting bash with X. .bashrc is for Bash, .xinitrc is for X. .bashrc running when X starts for you is a by-product of your

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Albert Hopkins
On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? Kinda depends on how you start your X session. I'll talk about the ones I know about: * If you use

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Alex V. Fansky
В сообщении от Tuesday 31 July 2007 16:05:54 Tim Allingham написал(а): On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? -- Alex V. Fansky Minsk, BSU

Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Tim Allingham
On Tue, 2007-07-31 at 14:58 +0100, Peter Ruskin wrote: On Tuesday 31 July 2007, Neil Bothwick wrote: AFAIK .bashrc is sourced even when no X is running (e.g. when logging in via ssh). More importantly, it is not sourced when X starts up. Works for me. -- Peter