You are not logged in.
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
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
already done but does not work
Offline
OK, I think I got the syntax wrong
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
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
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
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
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
Thanks , works perfectly !
Offline
Excellent
Please mark the thread as solved.
You must unlearn what you have learned.
-- yoda
Offline