help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where to put my .xmodmap?


From: Björn Lindström
Subject: Re: where to put my .xmodmap?
Date: Sat, 21 Aug 2004 20:00:27 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)

"Alexandre Russel" <scandrou@hpo.net> writes:

> So X definitely read the .xsession file but mine was not written
> properly...

You'll have to start a window manager from the .xsession, since it is
now what xdm/gdm/whatever will run when you login.

I appended mine to the end of my posting. ratpoison is my window
manager, you'll probably want have that line, but replace ratpoison with
whatever wm you're using.

You can check what the rest of the commands are doing by reading the
corresponding man pages.

The first line makes .xsession be executed by zsh, which is to make it
use my ~/.zshenv. You'll probably not need that.

Here it comes:

#!/usr/bin/env zsh

# Initalization
xmodmap ~/.xmodmap
xrdb .Xdefaults
xsetroot -cursor_name left_ptr -solid black
xset b off

# Set mixer
aumix -L

# Start background processes.
unclutter -idle 3 -root &
xscreensaver &
xwrits &

firefox &
xterm -title screen@numerus -e ssh -t numerus.ling.uu.se screen -dR &
xterm -title Emacs -e emacs -nw &
xterm &

exec ratpoison


reply via email to

[Prev in Thread] Current Thread [Next in Thread]