You are not logged in.

#1 2009-03-02 00:28:46

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

AwesomeWm cursor theme

I'm having trouble setting a cursor theme in awesomewm. I added this line to the Xdefaults:

Xcursor.theme:Ecliz

which works when I'm in firefox and on other applications, just not on the desktop. Any ideas?

Offline

#2 2009-03-02 02:34:48

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: AwesomeWm cursor theme

xsetroot -cursor_name left_ptr

in your .xinitrc.

Offline

#3 2009-03-02 04:05:36

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: AwesomeWm cursor theme

That won't do much for his Ecliz theme? smile

Reasons, xcb does not support Xcursor yet so until then you can use a cursor theme that is similar to default (NeutralPlus) but has shadows, animations and all that other fancy stuff (presuming that is what you are after). You can view default cursors with  xfd -fn cursor  for comparison.


You need to install an RTFM interface.

Offline

#4 2009-03-02 04:07:31

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: AwesomeWm cursor theme

Actually that does work, but only if awesome is already running. If I run it xinit it goes ignored.

Offline

#5 2009-03-02 04:12:23

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: AwesomeWm cursor theme

Statusbar is where I see the mouse, not on desktop backgrounds (it's a tiling wm smile)


You need to install an RTFM interface.

Offline

#6 2009-03-02 04:14:53

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: AwesomeWm cursor theme

I use gimp sometimes so it is nice. wink But it does not work on the statusbar, just noticed.

Offline

#7 2009-11-18 13:35:19

code933k
Member
From: Bogotá, Colombia
Registered: 2009-09-04
Posts: 5
Website

Re: AwesomeWm cursor theme

Reasons wrote:

Actually that does work, but only if awesome is already running. If I run it xinit it goes ignored.

sleep 0.6 && xsetroot -cursor_name left_ptr &
exec awesome

hmm


if (default_browser_sucks() == 0)
    system("format C:\\");

Offline

#8 2010-09-17 21:10:13

kite
Member
From: Ukraine
Registered: 2010-09-17
Posts: 2
Website

Re: AwesomeWm cursor theme

anrxc wrote:

Reasons, xcb does not support Xcursor yet

XCB is X11 C Bindings, not more... it will never support libxcursor or anything more (libxcursor depends on xlib). Porting libxcursor to use directly xcb instead of xlib is different thing. So, true reason is that awesome developers don't want to setup cursor through xcb, because it's very difficult, and don't want to use other library (xlib&libxcursor) to do this.
So, if you are not awesome developer, and if you have xlib (I think you have), you can set cursor for root window and for panels (wibox-es) through xlib/libxmu/libxcursor and don't wait for something unknown.

Last edited by kite (2010-09-17 21:17:24)

Offline

#9 2010-09-18 09:33:27

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: AwesomeWm cursor theme

XCB is X11 C Bindings, not more...

Good thing you told us. One year later.


You need to install an RTFM interface.

Offline

#10 2010-09-18 13:10:10

kite
Member
From: Ukraine
Registered: 2010-09-17
Posts: 2
Website

Re: AwesomeWm cursor theme

anrxc wrote:

XCB is X11 C Bindings, not more...

Good thing you told us. One year later.

The year passed, but xcb hasn't support of libxcursor "yet". ;)
And it will never support it...  XCB is more low-level library then libxcursor (libxcursor depends on xlib and xlib depends on xcb in arch). It's more correct to told people "there are no library for supporting format of xcursor files without xlib dependency".

So, at the present time there is only one way to use now widely-spread cursor themes, and there are no problem to write patch for awesome which adds setting proper cursor, but this will require three more dependences - libx11, libxmu and libxcursor.

Last edited by kite (2010-09-18 13:16:10)

Offline

#11 2010-09-18 23:49:34

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: AwesomeWm cursor theme

Here is the explanation from the XCB and awesome developer that I was quoting
http://www.mail-archive.com/awesome@naq … 00202.html
..and more more recent with more information
http://www.mail-archive.com/awesome@naq … 01183.html


You need to install an RTFM interface.

Offline

Board footer

Powered by FluxBB