Quick question: In Fluxbox, IceWM, and LXDE I set my mouse speed by typing in a terminal 'xset m 2/3 5' This works for me. How do I make that permanent? Can I add that to a boot or grub line? Is there someway to do it in xorg.conf? Is there a mouse settings option where I can set acceleration and threshold in each/any of the WMs/DEs? I have tried adding the above command to the startup file (~/.fluxbox/startup), but that didn't do anything. Even if it did, I'd like it to be permanent for all xsessions, not just fluxbox.
Thanks for listening.
topic title: Mouse Settings
5 posts
• Page 1 of 1
-
Posts: 6
- Joined: 12 Jul 2009
-
secipollasecipollaPosts: 1,228
- Joined: 15 Jun 2008
#2
Maybe to make settings permanent (and for all WM's) you should edit somehow the ~/.xinitrc .
I'm basing this upon this thread
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/mouse-config-t1793.html"
linktext was:"antix.freeforu ms.org/mouse-config-t1793.html"
====================================
" onclick="window.open(this.href);return false
The new 8.2-prefinal already has this mouse config app but you could ask OU812 to send it to you (in the thread above there's how to install it).
I'm basing this upon this thread
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/mouse-config-t1793.html"
linktext was:"antix.freeforu ms.org/mouse-config-t1793.html"
====================================
" onclick="window.open(this.href);return false
The new 8.2-prefinal already has this mouse config app but you could ask OU812 to send it to you (in the thread above there's how to install it).
-
Posts: 1,520
- Joined: 07 Oct 2007
#3
Open, as user, .xinitrc in leafpad and add this to the top.
This will set you mouse every time x starts regardless of the type of session. You can also add any other setting or apps you want started there as well, just make sure you place a"&" at the end or it will not work properly. Some applications need to wait until the Session has started before they will work, in this case delay it's start by:
10 being the number of seconds to wait until it starts.
Enjoy
Code: Select all
#!/bin/bash
xset m 2/3 5 &
case $1 in
icewm)
exec icewm-session
;;.....................................
Code: Select all
(sleep 10 && someapp) &
Enjoy
-
Posts: 6
- Joined: 12 Jul 2009
#4
Eire, the script seems to be working perfectly! Thank you very much.
I'm sure to be back with more questions, though...
I'm sure to be back with more questions, though...
-
Posts: 1,520
- Joined: 07 Oct 2007
#5
Come back any time.