Gentoo Archives: gentoo-user

From: Peter Ruskin <peter.ruskin@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] where to place command to be executed on X.org start
Date: Tue, 31 Jul 2007 13:40:56
Message-Id: 200707311433.04468.peter.ruskin@dsl.pipex.com
In Reply to: Re: [gentoo-user] where to place command to be executed on X.org start by Dan Keder
1 On Tuesday 31 July 2007, Dan Keder wrote:
2 > Peter Ruskin wrote:
3 > > On Tuesday 31 July 2007, Alex V. Fansky wrote:
4 > > > Hello,
5 > > > I want command "xmodmap ~/.Xmodmap" to be executed on my
6 > > > X.org start and even restart. Where is the best place to put
7 > > > it?
8 > >
9 > > ~/.bashrc
10 >
11 > AFAIK .bashrc is sourced even when no X is running (e.g. when
12 > logging in via ssh).
13 >
14 Yes, but but when you log in to a non-X terminal you can still log
15 in - all you get is a message like "xmodmap: unable to open
16 display ''".
17
18 --
19 Peter
20 ========================================================================
21 Gentoo Linux: Portage 2.1.3_rc9 kernel-2.6.22-gentoo-r1
22 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ gcc(GCC): 4.1.2
23 KDE: 3.5.7 Qt: 3.3.8
24 ========================================================================
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] where to place command to be executed on X.org start Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>