LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2005, 06:49 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 3,099

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Angry 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?
 
Old 06-19-2005, 01:23 AM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
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?
 
Old 06-19-2005, 01:36 AM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 3,099

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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
 
Old 06-21-2005, 09:33 AM   #4
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
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.
 
Old 06-21-2005, 09:51 AM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 3,099

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Oh, I will try that, I know that I have a global xinitrc in /etc/X11/xinit but no xsession in /etc/X11
 
Old 06-21-2005, 06:10 PM   #6
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 3,099

Original Poster
Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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
 
Old 06-22-2005, 01:17 AM   #7
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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...
 
  


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
Mandriva Graphical Login Issues neyoung Mandriva 3 11-09-2005 04:21 AM
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 07:09 PM
Need help changing graphical login to regular login jnezezon Linux - Newbie 2 11-13-2003 10:36 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 10:43 PM
Gnome Graphical Login -> Text Login, how? Furtzi Linux - Newbie 1 03-09-2002 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:08 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
Open Source Consulting | Domain Registration