Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
im trying to get my Microsoft Intellimouse Explorer to work and so i need to auto run a command when xstarts, i tried doing this by creating a .xinitrc file in my home directory and adding xmodmap -e "pointer = 1 2 3 6 7 4 5", however when i restart x, it goes to start up, but then just goes back to console and wont start. what am i doing wrong? why does x refuse to start when i create the .xinitrc file? is there any other way i could run this command when x starts?
Last edited by AlteZza2k2; 10-04-2003 at 09:32 PM.
The .xinitrc is typically a shell script which starts many clients
according to the user's preference. When this shell script exits,
startx kills the server and performs any other session shutdown needed.
basically, your .xinitrc is too short. It does what you tell it to do and then terminates. The man page gives the following sample .xinitrc
maybe /etc/X11/xinit/xinitrc
in my case the above calls the script
/etc/X11/Xsession
and this might be a better place to try out. Do make a backup of this beforehand, though. You've got delete ~/.xinitrc as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.