Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-18-2005, 05:49 PM
|
#1
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,305
|
Mouse buttons , graphical login issues........AGAIN
I really hate bringing this up again, I apologize, but I am still not having any luck with my mouse buttons under a different user level. If I leave the default settings alone, and have linux start up in a command prompt and then start KDE, all of my mouse buttons, side buttons and wheel works, because of the xinitrc file, but since I changed the user level to 4, I only get basic mouse function, and I tried to follow the steps in this link.. http://docs.kde.org/development/en/k...uickstart.html as in creating a symlink between .xession in ~ with xinitrc, I made the symlink, and tried restarting, and the results , nothing.... any ideas?
|
|
|
06-19-2005, 12:23 AM
|
#2
|
Member
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267
Rep:
|
Can you post the .xinitrc file.
I dont use kdm or any graphical login but dont they run as root when booting in run level 4 and thus requiring the root .xinitrc, .xsession files?
|
|
|
06-19-2005, 12:36 AM
|
#3
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,305
Original Poster
|
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
#custom mouse buttom remap
xmodmap -e "pointer = 1 2 3 6 7 4 5"
# Start the window manager:
startkde
|
|
|
06-21-2005, 08:33 AM
|
#4
|
Member
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267
Rep:
|
Im assuming thats the user .xinitrc / .xsession file. Have you tried copying those custom mouse settings to the global xinitrc / xsession files ?
/etc/X11/Xsession
/etc/X11/xinit/xinitrc
Most of the time xinitrc is just a symlink to Xsession.
|
|
|
06-21-2005, 08:51 AM
|
#5
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,305
Original Poster
|
Oh, I will try that, I know that I have a global xinitrc in /etc/X11/xinit but no xsession in /etc/X11
|
|
|
06-21-2005, 05:10 PM
|
#6
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,305
Original Poster
|
ok, I made a sym link in /etc/xsession to /etc/X11/xinit/xinitrc and restarted, and I have noticed that the scroll wheel SOMEWHAT works, and what I mean by that is, when I try to scroll through texts in a text editor or dir. listing in konqueror, I have to make sure that the mouse cursor is hovering over the side bar of the window , otherwise, nothing happens, also in mozilla, if I use the wheel, instead of scrolling, it goes back or forward through pages, if I roll the wheel up or down..  .......btw, xsession is just a blank file that calls xinitrc? Or should there be something in xsession? Anyways, this is what I have in xorg.conf for the mouse, and after that is xinitrc..
Code:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
Code:
#custom mouse buttom remap
xmodmap -e "pointer = 1 2 3 6 7 4 5"
# Start the window manager:
startkde
|
|
|
06-22-2005, 12:17 AM
|
#7
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
take a look at
/etc/X11/xdm/Xsession
/etc/X11/gdm/Xsession
and
/opt/kde/share/config/kdm/Xsession
(depending on which login manager you use)
note Xsession sources ~/.xprofile before running startkde or fluxbox or whichever wm -- that may be somewhere to try putting the xmodmap. I've never tried it...
|
|
|
All times are GMT -5. The time now is 02:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|