From: "Alexandre Russel" <scandrou@hpo.net>
Subject: Re: where to put my .xmodmap?
Date: 22 Aug 2004 02:47:26 +0900 [thread overview]
Message-ID: <m3fz6gl6xd.fsf@localhost.localdomain> (raw)
In-Reply-To: s38u0uwtqyt.fsf@numerus.ling.uu.se
bkhl@elektrubadur.se (Björn Lindström) writes:
> "Alexandre Russel" <scandrou@hpo.net> writes:
>
> > When I was looking into modmap I have seen this advice so tried it.
> > First had no .xsession in my home directory so created one and added:
> >
> > xmodmap ~/.xmodmap
> >
> > to it, but it didn't do anything.(considering there was no .xsession
> > file in the first place I don't think this file is read anyway). I had
> > a look in all of my . file and couldn't find one that would be read by
> > X.
>
> It may be that Fedora calls this file by some other name, but probably
> you just have to make it executable.
really BAD.
If any one reading that thread is using his system only as root
user, do not make your .xsession file executable if it contains
only the:
xmodmap ~/.xmodmap
line, the result is not friendly.
I am using Fedora core 1 with gnome. I have my .xmodmap set up:
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
keycode 115 = Control_L
add Control = Control_L
keycode 116 = Control_R
add Control = Control_R
and following the preceding advice wrote the line:
xmodmap .xmodmap
in my .xsession file and made it executable. I logged out and try
to log in again. I couldn't with the message:
Your session only lasted 10 seconds. If you have not logged out
yourself, this could mean that there is some installation problem
or that you maybe out of disk place. Try login with one of the
failsafe sessions to see if you can fix this problem.
Then I was asked if I wanted to view the details in
/.xsession-errors file with the result:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utm
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/: 0.Xservers" -h "" -l":o""xyz"
with xyz standing for my login name(note that the previous line are note cut and paste but wrote down and retyped so there maybe some inconsistence).
I could get out of the situation login in as root user, su with my normal login name, renaming the .xsession in my home directory and login again under my login name. I am not sure I could have done the same thing if I had only a root user on my system.
So X definitely read the .xsession file but mine was not written properly...
Any help welcome,
Cheers,
Alex.
next prev parent reply other threads:[~2004-08-21 17:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-21 14:25 where to put my .xmodmap? Alexandre Russel
2004-08-21 14:35 ` Björn Lindström
2004-08-21 14:50 ` Alexandre Russel
2004-08-21 16:07 ` Björn Lindström
2004-08-21 17:47 ` Alexandre Russel [this message]
2004-08-21 18:00 ` Björn Lindström
2004-08-22 7:01 ` Alexandre Russel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fz6gl6xd.fsf@localhost.localdomain \
--to=scandrou@hpo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).