LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FVWM, X, and the incorrect mouse cursor on Xterm (https://www.linuxquestions.org/questions/linux-software-2/fvwm-x-and-the-incorrect-mouse-cursor-on-xterm-387385/)

King V 11-28-2005 05:43 PM

FVWM, X, and the incorrect mouse cursor on Xterm
 
I've run into a bit of a strange problem.

I installed Red Hat 9.0 on 2 separate machines at work, and am using FVWM 2.4.19 for my window manager.

The first machine is an old PII system, everything is fine.

The second machine is a P4 with an Nvidia graphics card, but I ran into a slight problem.

I have my .Xdefaults set so that Xterms come with a green text and black background.

Now, on the PII system, when I hover the mouse over the text area of the Xterm, the mouse cursor changes into something roughly resembling a very thin capital letter I

On the P4, the mouse turns into a black X. Not black with the white outline, but completely black. Basically, this means it's invisible unless it's overlapping some text.

I can't figure out what is causing this. Why am I getting the incorrect cursor in that instance? If I run Firefox, I can get the capital-I type cursor over the text fields.

I have the same system.fvwm2rc file for both machines, and am using the same version of fvwm2, as well as the same (extremely minimal) .Xdefaults file.

Any thoughts? I'd like to keep the same color scheme and all that, I just want what I've got on the P4 system to behave like the PII.

Thanks in advance.

Okie 11-28-2005 05:57 PM

look in the fvwm config or modules submenu, one or the other lets you change your root curser's color & style, (i know on mine it does)

Okie 11-28-2005 05:59 PM

me again, i just logged in to fvwm, and in the menu it is in modules > forms > root curser

King V 11-29-2005 09:44 AM

Got a bit more info.

My menus didn't have that module, but I temporarily used a sample fvwm2rc file and got that module going.

Unfortunately, it ONLY sets the root cursor, not what the mouse looks like when hovering over a particular window or not.

The cursor I want when hovering over an xterm is actually called "xterm".... but it doesn't seem to work right.

In fact, I've noticed that whatever I set the root cursor to, when I hover over an xterm window, it just turns into the same cursor, but without the white outline, thus looking almost invisible.

When I set the root cursor to the "xterm" type cursor, if I hover over the xterm window, it turns into the previous cursor that I set, but also invisible (no white outline).

So, no luck. Is there anywhere that I can manually check and insure the correct files for the various mouse cursors are installed?

Right now I'm just tempted to remove, then re-download and install fvwm2 and hope for the best, but I'm not betting on it.

Okie 11-29-2005 10:43 AM

that is an odd problem, i just testing mine and when i have xterm set to a white background i get a black curser over it, and when i have set xterm to use a black background i get a white curser over it...

maybe it is a X or xterm issue, have you used other terminals like rxvt or konsole or gnome-terminal, aterm, eterm???

King V 12-01-2005 10:06 AM

No, I haven't tried that, but I did try something else and it's just VERY strange.

Here's my .Xdefaults file:
Code:

*Foreground:    green
*Background:    black

xterm*font:            10x20
xterm*scrollBar:        true
xterm*saveLines:        5000

xload*Highlight:        black

I tried changing *Background to blue instead of black, and I can see the black X when the cursor goes over the main text area of the Xterm.

BUT . . . if I change *Background to white, then launch another Xterm, I get the vertical-bar that looks like the capital letter I when I go over the main text area!! What the-?!?

I tried a very few other colors (green, orange, lightgray, red), and they all get the black X with no white outline when I go over the main text area. Only white seems to give me the correct (and visible) cursor when I go over the main text area.

Also, with the non-white backgrounds, I can see the transition. When I move the mouse over the text area and it becomes a black X, if I move upward slowly into the titlebar, I can see that it gets about halfway into the titlebar, then changes to the black X with the white outline.

I don't know if it matters, but would it be helpful if I included my system.fvwm2rc file?


All times are GMT -5. The time now is 12:54 AM.