You are not logged in.

#1 2015-06-09 20:20:32

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Changing xterm font changed cursors, reverting font doesn't fix...

I changed my xterm font, adding

xterm*font: -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*

to .Xresources, and

xrdb ~/.Xresources

to .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

#2 2015-06-10 12:20:10

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

diphodryl wrote:

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

#3 2015-06-10 23:12:41

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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 xmonad

The 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

#4 2015-06-11 01:25:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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_ptr

edit: 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

#5 2015-06-11 11:44:12

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

diphodryl wrote:

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

#6 2015-06-14 00:27:25

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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.

Tribly wrote:

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

#7 2015-06-14 01:14:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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

#8 2015-06-14 04:03:16

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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 cursor

which 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

#9 2015-06-14 11:06:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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

#10 2015-06-14 21:41:05

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

Trilby wrote:

Can you post the output of the following:

md5sum /usr/share/fonts/misc/cursor.pcf.gz
e28f45019634136d40a238fc297265e8  /usr/share/fonts/misc/cursor.pcf.gz
pacman -Qo /usr/share/fonts/misc/cursor.pcf.gz
/usr/share/fonts/misc/cursor.pcf.gz is owned by xorg-fonts-misc 1.0.3-4
pacman -Qkk xorg-fonts-misc
xorg-fonts-misc: 456 total files, 0 altered files

Offline

#11 2015-06-14 22:19:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

That all looks correct.  I'm stumped.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2015-06-15 01:30:45

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

drcouzelis: Where do you remember the Arch logo cursor from? Is it the same as the one pictured in my link?

Offline

#13 2015-06-15 07:17:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

Scrapping the bottom of the barrel here, but try changing the `xrdb` line in .xinitrc to this:

xrdb -merge ~/.Xresources

Jin, Jîyan, Azadî

Offline

#14 2015-06-15 12:33:35

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

diphodryl wrote:

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. hmm

diphodryl wrote:

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

#15 2015-06-26 19:30:16

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

Head_on_a_Stick wrote:

Scrapping the bottom of the barrel here, but try changing the `xrdb` line in .xinitrc to this:

xrdb -merge ~/.Xresources

No change.

drcouzelis wrote:

...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

#16 2015-06-27 16:03:46

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Changing xterm font changed cursors, reverting font doesn't fix...

diphodryl wrote:

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. wink

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

#17 2015-06-27 18:31:49

diphodryl
Member
Registered: 2015-04-18
Posts: 12

Re: Changing xterm font changed cursors, reverting font doesn't fix...

drcouzelis wrote:

What is the output of "pacman -Qq | grep xcursor"?

libxcursor
xorg-xcursorgen

What 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=Adwaita

Offline

#18 2015-07-03 02:45:25

blutechgirl
Member
Registered: 2015-05-27
Posts: 43

Re: Changing xterm font changed cursors, reverting font doesn't fix...

you can try checking /usr/share/icons/default/index.theme
does it say

[Icon Theme]
Inherits=Adwaita

if not try changing it to that

Offline

#19 2015-07-03 02:47:46

blutechgirl
Member
Registered: 2015-05-27
Posts: 43

Re: Changing xterm font changed cursors, reverting font doesn't fix...

i didnt see you already tried that i guess my suggestion won't work sorry for the useless post

Offline

#20 2015-07-03 07:39:05

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Changing xterm font changed cursors, reverting font doesn't fix...

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

Board footer

Powered by FluxBB