You are not logged in.

#1 2009-03-26 20:59:03

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

[Solved] Banish my mouse!

Anyone know how to banish the X mouse cursor?

I've been using evilwm for quite a while as my window manager and it doesn't require using a mouse. Recently I started using vimperator in my browser, so I don't use a mouse there. Basically, I touch the mouse quite infrequently.

Of course I still have a mouse pointer on the screen which I must manually put into a corner, but I thought there has to be a more automated solution. Ratpoison has a neat banish command which automatically throws the mouse in the corner when it starts. Is there any way to do that through X or something?

Bob

Last edited by Hrod beraht (2009-03-26 21:17:21)

Offline

#2 2009-03-26 21:01:50

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: [Solved] Banish my mouse!

community/unclutter

Offline

#3 2009-03-26 21:03:17

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [Solved] Banish my mouse!

xwarppointer

You could also go so far as in xorg.conf:
Section "ServerFlags"
  Option "AllowMouseOpenFail" "true"

Offline

#4 2009-03-27 10:52:45

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Solved] Banish my mouse!

Procyon wrote:

xwarppointer

You could also go so far as in xorg.conf:
Section "ServerFlags"
  Option "AllowMouseOpenFail" "true"

and what that do exactly?


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#5 2009-03-27 11:11:59

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [Solved] Banish my mouse!

Allows you to run X without a mouse at all. Actually I think I tried it once and the mouse cursor icon was in the middle of the screen. So it's not what you want.

Offline

#6 2009-03-27 11:55:41

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: [Solved] Banish my mouse!

bwalk wrote:

community/unclutter

This is most likely what you want.  It hides the mouse after a configurable amount of inactivity.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#7 2009-03-27 18:07:44

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [Solved] Banish my mouse!

You could also use xdotool


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#8 2009-03-27 18:24:07

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [Solved] Banish my mouse!

Or you could use a combination of unclutter and xdotool, like I do. Use unclutter to make the cursor invisible after 3 seconds, and create a keyboard shortcut in your WM to invoke:

xdotool mousemove 1280 800 #or whatever your resolution is

That achieves an effect pretty similar to Ratpoison's "banish" command".


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

Board footer

Powered by FluxBB