Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Mouse Settings

New to Linux? New to antiX? New to fluxbox?
Feel free to post questions, queries here.
We're a helpful bunch!

Mouse Settings

Postby ramblinreub on Thu Jul 16, 2009 6:42 am

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.
ramblinreub
 
Posts: 2
Joined: Sun Jul 12, 2009 5:51 pm

Re: Mouse Settings

Postby secipolla on Thu Jul 16, 2009 4:48 pm

Maybe to make settings permanent (and for all WM's) you should edit somehow the ~/.xinitrc .
I'm basing this upon this thread mouse-config-t1793.html

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).
secipolla
 
Posts: 437
Joined: Sun Jun 15, 2008 2:56 pm
Location: São Paulo / Brazil

Re: Mouse Settings

Postby eriefisher on Fri Jul 17, 2009 12:34 am

Open, as user, .xinitrc in leafpad and add this to the top.
Code: Select all
#!/bin/bash

xset m 2/3 5 &

case $1 in
icewm)
   exec icewm-session
   ;;.....................................

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:
Code: Select all
(sleep 10 && someapp) &

10 being the number of seconds to wait until it starts.

Enjoy
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: Mouse Settings

Postby ramblinreub on Fri Jul 17, 2009 2:40 am

Eire, the script seems to be working perfectly! Thank you very much.

I'm sure to be back with more questions, though...
ramblinreub
 
Posts: 2
Joined: Sun Jul 12, 2009 5:51 pm

Re: Mouse Settings

Postby eriefisher on Fri Jul 17, 2009 3:19 am

Come back any time.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast


Return to New users

Who is online

Users browsing this forum: No registered users and 0 guests

cron