View previous topic :: View next topic |
Author |
Message |
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Sat Dec 03, 2005 3:25 pm Post subject: Changing the mouse cursor size [SOLVED] |
|
|
My mouse cursor has suddenly changed size. I think that what happened is that a couple of day's ago I update xorg, and it overwrote some config file, and only now that I've restarted X the changes have become apparent.
The problem is that when I log in, at first my cursor seems fine. When I start a program there are 2 things that may happen: 1) Program starts, cursor stays the same size, or 2) Program starts in background (cursor changes to "waiting" cursor (a clock)), then the program starts and my cursor has suddenly grown by a factor 2. It then stays like this for the rest of my session, until I logout/login.
I've had a similar problem before, and I managed to solve it after a long google search, but unfortunately I can't find anything this time, so that's why I'm asking here.
This is what I have in my .Xdefaults:
And this is the file I think that changed, I think that I managed to solve my problem the previous time by specifying a cursor size in this file, but I can't remember/find what to put in there.
/usr/share/cursors/xorg-x11/default/index.theme:
Quote: | [Icon Theme]
Inherits=whiteglass |
What I have tried is:
-gnome-mouse-properties - no change
-gcursor - no change
-put "size=16" in /usr/share/cursors/xorg-x11/default/index.theme - no change
So, how do I change my cursor size? _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator
Last edited by Da Fox on Sat Dec 17, 2005 8:52 pm; edited 1 time in total |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Sat Dec 03, 2005 4:52 pm Post subject: |
|
|
thank you for pointing out gnome-mouse-properties, which I already tried and which does not solve my problem. _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sun Dec 04, 2005 12:57 am Post subject: |
|
|
Da Fox wrote: | thank you for pointing out gnome-mouse-properties, which I already tried and which does not solve my problem. | then there is something wrong with your system if the app that is supposed to do it doesn't do it. _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Sun Dec 04, 2005 2:31 am Post subject: |
|
|
great, more repeating of information already mentioned in the initial post.
Look, even if gnome-mouse-properties worked, I probably wouldn't use it, as it allows you only 3 choices:
1) Too small,
2) Too big,
3) Huge
great app...
And then there's gcursor, which at least let's you specify a size in pixels, even if that is ignored by X.
Some other observation then:
Why do I need to log in/out/in/etc just to change the size of my cursor? Clearly X doesn't mind changing cursor sizes on the fly. Everything in Gnome is instant-apply, Why not so with cursor size?!
ps. cokehabit, I don't want to offend you personally, I just find it rather pointless to react to a thread if you
a) don't bother to read the initial post, so you understand the nature of a problem (your first post)
b) post just to post. (your second post). You see, if my system were working properly, then I wouldn't need to be asking for help or would I?
Since you seem to be on a winning streak right now, would you please inform me as to what exactly is wrong with my system, and how to fix it? _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
thaswiftness n00b
Joined: 31 May 2005 Posts: 34 Location: Florida
|
Posted: Sun Dec 04, 2005 5:38 am Post subject: |
|
|
I had the same problem with the whiteglass theme. Never could figure out why. So I changed themes to Lil' Polar from gnome-look.org and haven't been troubled since. |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Sun Dec 04, 2005 11:54 am Post subject: |
|
|
Unfortunately I'm not using Gnome 2.12 (at least not until it's stable in portage)
I know I fixed this before, and I'm 90% sure it had something to do with /usr/share/cursors/xorg-x11/default/index.theme.
why O why is there no documentation on this sort of thing?
All google can come up with is a years old story of a dude who hacked X for his disabled classmate so it would do Big cursors. Very cool, but not very helpfull.
Is there not some man page or hidden documentation page on X.org that details all these 'mystical files'?
--edit
I also use the Whiteglass theme, and (as I said before) had this problem before, but managed to solve it. I just can't remember/find HOW I did it. _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Wed Dec 07, 2005 9:38 pm Post subject: |
|
|
(secretly hidden early bump)
I just noticed something totally odd:
The last change I made with gcursor was changing my cursor to 'gentoo' (the ugly purple triangle), size 16, which didn't do diddly squad.
Or so I thought! As it seems there are SOME occasions when I do have this purple cursor instead of the whiteglass cursor:
When in firefox, if my mouse moves over a flash animation, it changes to the gentoo cursor, and also in amsn (a TCL application) the cursor get the gentoo theme.
Further, when it is the purple triangle, it has the right size (16px), and as soon as it moves off the app/flash it's once more the whiteglass theme, size 24px.
Are there per application(type) cursor settings?
How do cursor sizes work?
And most importantly: where are these settings stored? _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Fri Dec 09, 2005 11:16 pm Post subject: |
|
|
Please use common sense and stop building a post pyramid by bumping your thread every 12 hours. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Sat Dec 10, 2005 12:12 am Post subject: |
|
|
amne wrote: | Please use common sense and stop building a post pyramid by bumping your thread every 12 hours. |
Ok, I exhausted every option I have, I just don't know how to make my mouse cursor behave. And apparently, neither does anyone else.
I figured the best I could do was try to keep the topic 'in active view', so as many people as possible might take a look, and perhaps even offer a solution. Or at the very least, come up with some ideas that I might try. I normally don't like bumping posts as often as I did, so from now on I'll restrict to the more traditional 1 bump per 24 hours
Still I really would appreciate any thoughts that you have, or things I might try (that I haven't tried). It's just really annoying to work with a cursor that is way to large. Even something as simple as selecting text gets awkward! You might say 'then switch cursor theme', but I'm not prepared to do that, for more than one reason. First of all I really like this theme (whiteglass), secondly it seems to work for everyone else except me (somehow), thirdly this problem (or at least one with the same symptoms) has been solved before, and finally I won't give up so easily.
So please help me figure this one out.
ps:
and amne, I did use common sense, as you might have noticed if you had bothered to read my initial post, it just wasn't enough. I tried everything I could, and failed. It has been over a week now,working with this enlarged cursor for without getting a single usefull reply, and I know that's no excuse for bumping (too) often, however ... ah fsck it, I don't need to justify my actions for you. I'm just a little annoyed, and for that I am truly sorry. _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20087
|
Posted: Sat Dec 10, 2005 9:44 pm Post subject: |
|
|
I took the liberty of deleting your extraneous bumps. Once in any give 24hour period is considered appropriate.
What is the output of: echo $XCURSOR_SIZE ?
Do you have any cursor configurations in ~/.icons/<subdirs>?
I've experienced some similar issues as you've described in your "secretly hidden early bump" post with the purple and correct size. I've not solved it yet, but it only happens with one window, so I don't notice it often. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Sat Dec 10, 2005 11:30 pm Post subject: |
|
|
pjp wrote: | I took the liberty of deleting your extraneous bumps. |
Thanks, it was looking rather silly
As user (and su'd as root) there is no output, it seems this is unset. Where can I set this?
---edit
I stopped X, did "export XCURSOR_SIZE=16" and then "startx". Now it is set, but the cursor is still the same. So I guess that's not (all of) it.
---
pjp wrote: | Do you have any cursor configurations in ~/.icons/<subdirs>? |
I don't think so. There are just icon themes there. I did a search for "cursor", "config" and "cfg" but didn't find anything that looked like it was related to cursors. _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Mon Dec 12, 2005 5:08 pm Post subject: |
|
|
There is no ~/.icons/default/index.theme (the 'default' directory does not exist), and I couldn't find anything related to cursor size in other index.theme files.
What should I look for in an index.theme file? There is alot of 'size:' entries, but none seem linked to cursors.
also, when I comment out "Inherits=whiteglass' from /usr/share/cursors/xorg-x11/default/index.theme, the cursor is as it should be, 16px, only the standard black&white X cursor.
When I just start gnome, the whiteglass cursor is also 16px, but as soon as an action changes the cursor shape (start a program, cursor becomes a clock) the size also changes, namely to 24px!
I have created a ~/.Xresources file (actually a symlink to ~/.Xdefaults) which has Code: | Xcursor.theme: whiteglass
Xcursor.size: 16 | in it, and still my size request is ignored. _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Mon Dec 12, 2005 5:47 pm Post subject: |
|
|
OK, don't know if this'll change anything, bu you should have Inherits=core in /usr/share/cursors/xorg-x11/default/index.theme; set up the site cursor in /usr/local/share/cursors/xorg-x11/default/index.theme.
Other than that - what settings do you have in gconf under /desktop/gnome/peripherals/mouse/? Could be gnome-settings-daemon conflicting with another setting.
(Seriously - try gnome 2.12 - it's lovely! You can set the cursor theme and size in a capplet; so much nicer...) _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Mon Dec 12, 2005 7:45 pm Post subject: |
|
|
ecatmur wrote: | you should have Inherits=core in /usr/share/cursors/xorg-x11/default/index.theme; set up the site cursor in /usr/local/share/cursors/xorg-x11/default/index.theme. |
I'm sorry, but I don't understand what you mean, do you mean that I should change "Inherits=core" to "Inherits=whiteglass('mytheme')"? Because I have done that a long time ago. It is needed for the theme (shape), but as far as I can tell, it doesn't do diddly for the size, unless there is a 3vil hidden "Size=xx" option
I'm seriously considering emerging Gnome 2.12, but it feels like the imfamous 'sledgehammer approach'...
--edit:
This is what I have in gconf-editor/desktop/gnome/peripherals/mouse/:
Quote: | cursorfont: novalue
cursor_size: 16
cursor_theme: whiteglass
doubleclick: 400
drag_threshold: 8
left_handed: [ ]
locate_pointer: [ ]
motion_acceleration: 3
motion_threshold: 7
single_click: [V]
|
lol, every bit of config that I can find says the cursor should be 16px, yet as soon as I start a program it jumps to 24 :'( _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Mon Dec 12, 2005 10:02 pm Post subject: |
|
|
Da Fox wrote: | ecatmur wrote: | you should have Inherits=core in /usr/share/cursors/xorg-x11/default/index.theme; set up the site cursor in /usr/local/share/cursors/xorg-x11/default/index.theme. |
I'm sorry, but I don't understand what you mean, do you mean that I should change "Inherits=core" to "Inherits=whiteglass('mytheme')"? Because I have done that a long time ago. It is needed for the theme (shape), but as far as I can tell, it doesn't do diddly for the size, unless there is a 3vil hidden "Size=xx" option
|
/usr/share/cursors/xorg-x11/default/index.theme ==> Inherits=core
/usr/local/share/cursors/xorg-x11/default/index.theme ==> Inherits=whiteglass _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Mon Dec 12, 2005 10:30 pm Post subject: |
|
|
I'm sorry, I misread the 'local' part.
I didn't have a /usr/local/share/cursors directory, so I created one
(and appropriate subdirs) and made the changes you suggested.
The effects are quite interesting:
Parts of apps have the whiteglass cursor, others core. Example: firefox overall is whiteglass, hyperlinks etc are core. Window titles are whiteglass, inside of gnome-terminal is core. The whiteglass theme starts out, as usual, small. After opening a program it, as usual, 'resizes' to 24px. Now the really fun part:
When hovering over a app part with whiteglass theme, cursor is 24px, move the mouse over a core part, cursor is 16px.
--edit
Now it gets really weird: after another login/logout, I'm now unable to reproduce the effect described above _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Mon Dec 12, 2005 11:17 pm Post subject: |
|
|
Try reducing the cursor size in gconf:
$ gconftool-2 -s /desktop/gnome/peripherals/mouse/cursor_size -t int 8
I'm just thrashing here; could it maybe be related to dpi? I have a gconf cursor size of 24 with the gentoo theme and it looks sensible, but with whiteglass ithe cursor is far too big (tho 16 is just right, so...) _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Tue Dec 13, 2005 12:00 pm Post subject: |
|
|
It still doesn't work. There is a really weird pattern emerging now though:
Code: |
Cursor size | Where | Why (my guess)
-------------|--------------------------------------------------------------------------|--------------------------------------
24px | gdm | ??
16px | gnome start, while Splash | .Xdefaults
8px | after splash / until started, and while the cursor hasn't changed shape | gconf (-editor)
24px | as soon as the cursor changes shape. | ??
|
Perhaps there is a Global X cursor size setting? But where? _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Tue Dec 13, 2005 5:08 pm Post subject: |
|
|
I've created a new user 'test'
Both 'test' and 'root' have the exact same behaviour as my own account. _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Wed Dec 14, 2005 9:36 pm Post subject: |
|
|
any more ideas? _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|