You are not logged in.

#1 2012-08-28 14:44:52

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

[Solved]How to customize OpenBox cursors

I'm also most there. All that is left is to somehow change the white border of the default black cursors, to a green border.

I have been unable to determine where the cursors are kept and I've been unable to determine how to change cursor themes, though I believe that it's and X thing and not actually and OpenBox thing.

So if you please, assuming you know the answer, it would be really nice to get this last tiny thing done.


Best regards.



zacariaz wrote:

Ok, so I've discovered that I can change the cursor color for any application via .Xresources, so that close right?
Wrong!
I'll me damned if I can figure out how to do it on a global scale, that is for all applications, and I'll be damned if I can figure out how to change the part of the cursor I'm actually interested in, that is of course the border, outline or whatever you wanna call it.

Anyway, I've got a headache now.


Best regards.

Last edited by zacariaz (2012-08-30 16:04:24)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#2 2012-08-28 15:08:14

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,725
Website

Re: [Solved]How to customize OpenBox cursors


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2012-08-28 15:18:11

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

already been there and now I've been there again. If I've missed something, please do let me know.

To clarify further:
1. I need to know where the current cursors are located so that I may copy and modify them.
2. I need to know how to get X or OpenBox or whatever, to use my new modified cursors instead of the old ones.

I'm sorry, but I didn't find any help using you link.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#4 2012-08-28 15:23:40

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved]How to customize OpenBox cursors

zacariaz wrote:

I'm sorry, but I didn't find any help using you link.

Did you follow the link in that topic to

Please see Openbox Themes and Apps for information on these GUI customizations.

And then to here: https://wiki.archlinux.org/index.php/Op … se_cursors

And here: https://wiki.archlinux.org/index.php/X11_Cursors

Offline

#5 2012-08-28 15:27:39

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

Yes I've been there, however, I think I may have been wrong in my assumption that I would need to make a new set of cursors. I any case I'm still very much confused. At this moment I'm reading up on Xdefaults, which I believe is deprecated or something, but should, as far as I've read, be the tool to fix my problem.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#6 2012-08-28 15:29:10

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved]How to customize OpenBox cursors

Xdefaults has been replaced by Xresources, but Xdefaults still works.

https://wiki.archlinux.org/index.php/Xdefaults

Offline

#7 2012-08-28 15:32:57

spark666
Member
Registered: 2011-05-23
Posts: 137

Re: [Solved]How to customize OpenBox cursors

I think its much simpler if you: extract the archive theme, copy the theme folder in /usr/share/icons/ ,install lxappearance and choose whit it the cursor theme (at Mouse Cursor section)

Last edited by spark666 (2012-08-28 15:34:15)

Offline

#8 2012-08-28 15:45:19

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

spark666 wrote:

I think its much simpler if you: extract the archive theme, copy the theme folder in /usr/share/icons/ ,install lxappearance and choose whit it the cursor theme (at Mouse Cursor section)

I'm sorry but I haven't got a clue what you're talking about.
Which archive theme?


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#9 2012-08-28 16:05:05

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

So I've come as far as to convert my original .Xdefaults to .Xresources by incuding

[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources

in my .Xinitrc, otherwise

URxvt*transparent:true
URxvt*scrollBar:false
URxvt*geometry:80x34
URxvt*borderLess:true
URxvt*foreground:Green

wouldn't work.

The I've tried messing around with

Xcursor.color: VALUE

in various variations, however it only works for Urxvt and besides, I'm not really interested in changing the color, rather the "border" color.

Edit:
Correction, I though Xcursor.color made a difference, but apparently it doesn't.

Last edited by zacariaz (2012-08-28 16:07:33)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#10 2012-08-28 16:06:02

spark666
Member
Registered: 2011-05-23
Posts: 137

Re: [Solved]How to customize OpenBox cursors

zacariaz wrote:

I'm sorry but I haven't got a clue what you're talking about.
Which archive theme?

lol,never mind,i double read what you said.I tought you want to understand how to apply a cursor theme,to choose it.But i see you have a different request.Sorry

Last edited by spark666 (2012-08-28 16:08:16)

Offline

#11 2012-08-28 16:10:34

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

spark666 wrote:
zacariaz wrote:

I'm sorry but I haven't got a clue what you're talking about.
Which archive theme?

lol,never mind,i double read what you said.I tought you want to understand how to apply a cursor theme,to choose it.But i see you have a different request.Sorry

The theme I'm using, which I'm really only using as a template anyway, is an openbox theme with no cursors of any kind.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#12 2012-08-28 16:35:56

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

Ok, so I've discovered that I can change the cursor color for any application via .Xresources, so that close right?
Wrong!
I'll me damned if I can figure out how to do it on a global scale, that is for all applications, and I'll be damned if I can figure out how to change the part of the cursor I'm actually interested in, that is of course the border, outline or whatever you wanna call it.

Anyway, I've got a headache now.


Best regards.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#13 2012-08-28 17:29:00

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

Okay, I'm kinda done here.
I think maybe the resource I'm looking fore is pointerBackground or pointerColor2, but I can't get it to work and I can't find further information on the subject.

Last edited by zacariaz (2012-08-28 17:32:54)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#14 2012-08-29 15:17:13

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

Okay, so at this point I've tried just about everything I can think of with no luck, and even those things that apparently should work, like

Xcursor.size: VALUE

in .Xresources, don't.

I really hate giving up when I'm so close to perfection, but if you can't help I really haven't got a choice.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#15 2012-08-29 16:26:21

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

I think I may have found the default cursor I was looking for in:
/usr/share/gtk-doc/html/pygtk/cursors
which of course makes no sense, but it's the only ones I could find besides the ones in
/usr/share/icons
and none of them matched the ones used, while these seem to.
They are also in png format, which is kinda odd I think, but makes my job easier in any case.

Now I just need to exchange any white pixel in all the files with a green ones big_smile

I should think imagemagick is up to the challenge.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#16 2012-08-30 16:05:12

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]How to customize OpenBox cursors

Took forever, but I finally did it, using xcursorgen and a hell of a lot of typing.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

Board footer

Powered by FluxBB