You are not logged in.

#1 2016-07-31 11:03:39

0-day
Member
Registered: 2015-10-04
Posts: 154

xbattbar & evilwm (solved)

I installed xbattbar but when I open firefox in full screen mode it is covered . how do I get xbattbar always visible with evilwm ?

Last edited by 0-day (2016-07-31 15:37:06)

Offline

#2 2016-07-31 11:43:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: xbattbar & evilwm (solved)

Try adding this line to the file at ~/.evilwmrc

dock xbattbar

You could use this command to accomplish that:

echo 'dock xbattbar' >> ~/.evilwmrc

Then log out & back in again.

Offline

#3 2016-07-31 13:38:14

0-day
Member
Registered: 2015-10-04
Posts: 154

Re: xbattbar & evilwm (solved)

already done but does not work

Offline

#4 2016-07-31 14:00:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: xbattbar & evilwm (solved)

OK, I think I got the syntax wrong hmm

Install the x11-utils package then open a terminal and run this command:

xprop

This will change the mouse cursor to an X shape -- use this new cursor to click on the xbattbar section of the screen.

This should produce some output in the terminal and you need to find this line in that terminal output:

WM_CLASS(STRING) =

Then use whatever is after the "=" sign and between the quotation marks.

It may be something like this:

WM_CLASS(STRING) = "Xbattbar", "xbattbar"

But it might be slightly different.

Take whatever is in between those quotation marks on that line and add it to ~/.evilwmrc, like this:

app xbattbar dock

Be sure to also remove the "dock xbattbar" line that we tried before from ~/.evilwmrc

Offline

#5 2016-07-31 14:05:08

0-day
Member
Registered: 2015-10-04
Posts: 154

Re: xbattbar & evilwm (solved)

xprop
_NET_WM_USER_TIME(CARDINAL) = 4961923
_NET_WM_DESKTOP(CARDINAL) = 1
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_RESIZE
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0x1800021
		bitmap id # of mask for icon: 0x1800024
		window id # of group leader: 0x1800001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_ICON(CARDINAL) = 	Icon (48 x 48):
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	                                                
	  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  
	  ░                                          ░  
	  ░                                          ░  
	  ░                                          ░  
	  ░   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ░  
	  ░   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ░  
	  ░   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ░  
	  ░   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓   ░  
	  ░   ▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓   ░  
	  ░   ▒▒▒▒▒▒▒     ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓   ░  
	  ░   ▒▒▒▒▒▒       ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓   ░  
	  ░   ▒▒▒▒▒   ▓▓▓   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▓▓   ░  
	  ░   ▒▒▒▒░  ▒▓▒▒░  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▓▓   ░  
	  ░   ▒▒▒▒░  ░░░░   ▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▓▓   ░  
	  ░   ▒▒▒▒░         ▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▒▓▓   ░  
	  ░   ▒▒▒▒░  ▒▒▒▒▒▒▒▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓   ░  
	  ░   ▓▒▒▒▒  ▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓   ░  
	  ░   ▓▒▒▒▒   ░▒▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   ░  
	  ░   ▓▓▓▓▓▒       ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   ░  
	  ░   ▓▓▓▓▓▓▒      ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   ░  
	  ░   ▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   ░  
	 ░▒   ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░         ░▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░         ░▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒  ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░  ▒░ 
	 ░▒ ░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░ ▒░ 
	 ░▒ ░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░ ▒░ 
	 ░▒ ░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░ ▒░ 
	 ░▒░░ ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ ░░▒░ 
	 ░▒░░                                      ░░▒░ 
	 ░▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒░ 
	  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  
	  ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░  
	                                                
	                                                
	                                                


_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 25165829
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1800004
WM_CLIENT_LEADER(WINDOW): window id # 0x1800001
_NET_WM_PID(CARDINAL) = 28141
WM_LOCALE_NAME(STRING) = "it_IT.UTF-8"
WM_CLIENT_MACHINE(STRING) = "antiX"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 657 by 362
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "evilvte", "Evilvte"
WM_ICON_NAME(STRING) = "evilvte"
_NET_WM_ICON_NAME(UTF8_STRING) = "evilvte"
WM_NAME(STRING) = "evilvte"
_NET_WM_NAME(UTF8_STRING) = "evilvte"

Offline

#6 2016-07-31 14:12:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: xbattbar & evilwm (solved)

0-day wrote:
WM_CLASS(STRING) = "evilvte", "Evilvte"

In this example, you have clicked on the terminal window.

This is *not* what I wanted you to do.

When the cursor changes shape after you run the `xprop` command, the next thing you should click on should be the xbattbar program that is running on your desktop.

You will know when you have got it right because the "WM_CLASS(STRING) =" bit will be "Xbattbar", "xbattbar" or something similar.

Offline

#7 2016-07-31 14:21:53

0-day
Member
Registered: 2015-10-04
Posts: 154

Re: xbattbar & evilwm (solved)

I clicked with x on the bar but nothing happens...I also tried to close xbattbar with xkill but does not work

Last edited by 0-day (2016-07-31 14:25:20)

Offline

#8 2016-07-31 14:48:51

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,673

Re: xbattbar & evilwm (solved)

From the xbattbar man page -

xbattbar shows its battery status in a simple bar indicator.  -a option makes the indicator window keep always on top of your screen.

so:

xbattbar -a

in your ~/.xinitrc for example. The man page is short, check out the other options.

Keep in mind that evilwm is only partially EWMH compliant so it may not support having xbattbar above all windows.

Last edited by PackRat (2016-07-31 14:51:03)


You must unlearn what you have learned.
    -- yoda

Offline

#9 2016-07-31 15:31:28

0-day
Member
Registered: 2015-10-04
Posts: 154

Re: xbattbar & evilwm (solved)

Thanks , works perfectly !

Offline

#10 2016-07-31 15:34:05

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,673

Re: xbattbar & evilwm (solved)

Excellent

Please mark the thread as solved.


You must unlearn what you have learned.
    -- yoda

Offline

Board footer

Powered by FluxBB