You are not logged in.
I changed my xterm font, adding
xterm*font: -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*to .Xresources, and
xrdb ~/.Xresourcesto .xinitrc. I restarted X, and my cursors had changed. This makes no sense to me. Reverting to the default font by removing the lines above doesn't reinstate the default cursors. Help appreciated.
Offline
I restarted X, and my cursors had changed.
You mean, the mouse cursor changed? Are you explicitly setting your mouse cursor theme? What are you setting it to?
Please post your "~/.xinitrc" file.
Did you change any other files while you were making changes to "~/.xinitrc"?
Offline
Yes, the mouse cursors. I haven't done anything with mouse cursor themes. The only changes I made were the lines in .Xresources and .xinitrc stated above. Here is my .xinitrc:
xrdb ~/.Xresources
xbindkeys
setxkbmap -option "compose:caps"
exec xmonadThe cursor used to be like a default Windows cursor. Now it rather resembles the Arch logo.
Last edited by diphodryl (2015-06-10 23:14:17)
Offline
The Xdefaults change was just a coincidence and can have no bearing on your mouse cursor.
Does the mouse cursor look like the arch logo everywhere, or just over certain windows?
What WM/DE do you use? Usually WMs set the mouse cursor as the default X11 cursor is just a big "X". If you want, adding the following line to your xinitrc should get a more traditional cursor back, but I'd be curious to find out what's changing it in the first place:
xsetroot -cursor_name left_ptredit: oops, it says xmonad right there - nevermind the WM question.
Last edited by Trilby (2015-06-11 01:26:30)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The cursor used to be like a default Windows cursor. Now it rather resembles the Arch logo.
I remember that "Arch Linux logo" cursor.
Please read through the wiki page for setting the xcursor theme: https://wiki.archlinux.org/index.php/Cursor_themes
Pay special attention to the sections that say "Already installed cursor themes can be viewed with the command:" and "XDG specification".
Does learning more about how the xcursor theme is set help you figure out what's going on? Are you able to set it manually yourself to an xcursor theme that you want?
Offline
I can't figure out what happened. It seems this cursor is a part of the default cursor theme. But I could swear it wasn't there before and I don't like it.
Usually WMs set the mouse cursor as the default X11 cursor is just a big "X". If you want, adding the following line to your xinitrc should get a more traditional cursor back, but I'd be curious to find out what's changing it in the first place:
xsetroot -cursor_name left_ptr
The command does nothing. The current cursor theme is the default. To answer your other question, firefox is the only graphical app I use at the moment, and it appears over firefox. I get the big X over gimp.
drcouzelis: I have read that page and it doesn't help. As I said, there are no custom cursor themes installed. I can set a custom cursor theme, but can you recommend one that's simple and looks like the default, but without this weird looking pointer?
Edit: Is there a way to edit the picture for one of the cursors of the default theme? Where are the pictures for the default theme even located? They aren't in /usr/share/icons as far as I can tell.
Last edited by diphodryl (2015-06-14 00:29:57)
Offline
The default cursors are compiled into the X server, they can be seen here. But this is not what you are talking about. Now that you've told us the programs involved we have more information: this is the gtk cursor settings you are talking about, not X.
I suspect the xsetroot command didn't do anything because you may have put it after the exec line in your xinitrc. You can run the same command from a terminal within X and the big "X" that you had over gimp will turn into the more common pointer.
But if you want to figure out why the gtk cursor over firefox is odd, then follow the pointers (no pun intended) provided by drcouzelis.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Here's the thing. You're right, the xsetroot command works to change the pointer over gimp, but the pointer it displays instead is the same Arch logo cursor that's over firefox. This isn't a firefox-specific issue. Furthermore, I came to the conclusion that this pointer was part of the default theme by running
xfd -fn cursorwhich showed the default cursor set, and it is exactly like the set you linked to, except that instead of the Windows-like cursors with the tail, it has the Arch logo cursors. Here's a screen grab of xfd.
I don't know about gtk cursor settings, so correct me if I'm wrong, but this appears to be an X cursor theme that's inconsistent with the one you linked to and the one that was in effect before this happened.
Last edited by diphodryl (2015-06-14 04:09:23)
Offline
Sorry about that - it seems I was wrong. That was a very illustrative test with xfd. I was also wrong about those icons actually being compiled in to Xorg - they are in /usr/share/fonts/misc/cursor.pcf.gz.
Can you post the output of the following:
md5sum /usr/share/fonts/misc/cursor.pcf.gz
pacman -Qo /usr/share/fonts/misc/cursor.pcf.gz
pacman -Qkk xorg-fonts-misc"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Can you post the output of the following:
md5sum /usr/share/fonts/misc/cursor.pcf.gz
e28f45019634136d40a238fc297265e8 /usr/share/fonts/misc/cursor.pcf.gzpacman -Qo /usr/share/fonts/misc/cursor.pcf.gz
/usr/share/fonts/misc/cursor.pcf.gz is owned by xorg-fonts-misc 1.0.3-4pacman -Qkk xorg-fonts-misc
xorg-fonts-misc: 456 total files, 0 altered filesOffline
That all looks correct. I'm stumped.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
drcouzelis: Where do you remember the Arch logo cursor from? Is it the same as the one pictured in my link?
Offline
Scrapping the bottom of the barrel here, but try changing the `xrdb` line in .xinitrc to this:
xrdb -merge ~/.XresourcesJin, Jîyan, Azadî
Offline
drcouzelis: Where do you remember the Arch logo cursor from? Is it the same as the one pictured in my link?
I don't know what I was thinking of. Sorry. ![]()
I can set a custom cursor theme, but can you recommend one that's simple and looks like the default, but without this weird looking pointer?
Sure! "xcursor-vanilla-dmz" for white cursors and "xcursor-vanilla-dmz-aa" for black cursors.
...Here's my attempt at scraping the bottom of the barrel. Create a new user. Start X with nothing but an Xterm window. Start Firefox (and whatever else). What mouse cursor set is being used with the new user?
Offline
Scrapping the bottom of the barrel here, but try changing the `xrdb` line in .xinitrc to this:
xrdb -merge ~/.Xresources
No change.
...Here's my attempt at scraping the bottom of the barrel. Create a new user. Start X with nothing but an Xterm window. Start Firefox (and whatever else). What mouse cursor set is being used with the new user?
Same cursor.
Is anyone else using the default theme? If not, could I ask someone to revert to the default theme (with an up-to-date system) and see what their cursors look like? Maybe post the output of 'xfd -fn cursor'? I greatly appreciate the help. I'd like to get to the bottom of this.
Offline
Is anyone else using the default theme? If not, could I ask someone to revert to the default theme (with an up-to-date system) and see what their cursors look like? Maybe post the output of 'xfd -fn cursor'? I greatly appreciate the help. I'd like to get to the bottom of this.
I tried it out. I did not see the "Arch Linux" cursor, which doesn't surprise me. ![]()
Here's some more things to investigate:
What is the output of "pacman -Qq | grep xcursor"?
What is the output of "cat ~/.icons/default/index.theme"?
What is the output of "cat /usr/share/icons/default/index.theme"?
(I apologize if these tests have already been covered...)
Offline
What is the output of "pacman -Qq | grep xcursor"?
libxcursor
xorg-xcursorgenWhat is the output of "cat ~/.icons/default/index.theme"?
The file doesn't exist.
What is the output of "cat /usr/share/icons/default/index.theme"?
[Icon Theme]
Inherits=AdwaitaOffline
you can try checking /usr/share/icons/default/index.theme
does it say
[Icon Theme]
Inherits=Adwaitaif not try changing it to that
Offline
i didnt see you already tried that i guess my suggestion won't work sorry for the useless post
Offline
The /usr/share/icons/default/index.theme will always be set to the above because it's provided by libxcursor. Even if you changed it, the changes would be overridden on upgrade.
Do you have a ~/.gtkrc-2.0 file? Settings in there will override the system defaults. If so, look for the gtk-cursor-theme-name key.
Edit: Actually, index.theme will not be overwritten on upgrade as it is specified in the backup array in the libxcursor pkgbuild.
Last edited by Chazza (2015-07-06 12:39:30)
Offline