LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2006, 01:07 PM   #1
eternal64
LQ Newbie
 
Registered: Apr 2006
Location: Sweden
Distribution: SuSe v10.0
Posts: 14

Rep: Reputation: 0
Edit xinitrc


Hi,

Im trying to set up my mouse and part of that is to set the line

Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
in my xinitrc file.
I put the line in the file but it still doesnt read it (checked with xmodmap -pp). What i figure it could be two things.

1. I put the line on the wrong place inside the file. There is a exit 0 at the bottom of my xinitrc ,i put the line above that. Is that wrong?

2. I put the line in the wrong file. The file where i put the line is

Code:
/etc/X11/xinit/xinitrc
are there more xinitrc files and is this the correct file for my code?
 
Old 04-07-2006, 01:16 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
you should use probably the users's own ~/.xinitrc file (~ is your home directory; ~/ means the same as /home/username/)..or if you don't have one, then create it:

Code:
touch ~/.xinitrc
<editor> ~/.xinitrc
where <editor> is the editor of your choise (nano, joe, vim, emacs, gedit, ...)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Am i supposed to edit xinitrc to run a command at startup? Tyir Linux - General 36 12-05-2007 01:57 PM
how do I edit .xinitrc? JohnStormrider Linux - Newbie 6 09-02-2005 07:19 PM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 06:57 PM
When I edit .xinitrc, X will not start... QtCoder Slackware 2 11-09-2003 11:18 PM
.xinitrc mrsolo Linux - Software 5 10-30-2002 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration