Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xfdesktop is only on a single tag + tag indicates there are a window #2784

Open
Kukunin opened this issue Jun 7, 2019 · 5 comments
Open

Comments

@Kukunin
Copy link

Kukunin commented Jun 7, 2019

Hello. I use xfce DE with just awesome, so I need the only cool WM management from awesome, no its notifications or desktop management. I continue using xfdesktop for my desktop (wallpapers, icons etc)

Output of awesome --version:

awesome v4.3 (Too long)
• Compiled against Lua 5.3.5 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.6
• LGI version: 0.9.2

How to reproduce the issue:

Run xfdesktop, take a look how it renders

Actual result:

It is rendered only on a single tag + tag indicates (with a little square) that there is a window

Expected result:

It should be rendered on background despite the current tag + tag indicator should be empty in wibox.

xprop for the xfdesktop is:

_NET_WM_OPAQUE_REGION(CARDINAL) = 2, 0, 1362, 2, 0, 2, 1366, 766
_NET_WM_DESKTOP(CARDINAL) = 1
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 1, 1
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
awful.client.property.single_instance_id(UTF8_STRING) = 
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x1c00001
_GTK_THEME_VARIANT(UTF8_STRING) = 
_NET_WM_USER_TIME(CARDINAL) = 0
XdndAware(ATOM) = BITMAP
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 29360430, 29360431
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1c0012d
WM_CLIENT_LEADER(WINDOW): window id # 0x1c00001
_NET_WM_PID(CARDINAL) = 2387
WM_LOCALE_NAME(STRING) = "uk_UA.utf8"
WM_CLIENT_MACHINE(STRING) = "thinkpad"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
		program specified minimum size: 1366 by 768
		program specified maximum size: 1366 by 768
		program specified base size: 0 by 0
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "xfdesktop", "Xfdesktop"
WM_ICON_NAME(COMPOUND_TEXT) = "Робочий стіл"
_NET_WM_ICON_NAME(UTF8_STRING) = "Робочий стіл"
WM_NAME(COMPOUND_TEXT) = "Робочий стіл"
_NET_WM_NAME(UTF8_STRING) = "Робочий стіл"

I know that I can create a rule in config, but I don't know what properties I should assign to it.
Thanks

@psychon
Copy link
Member

psychon commented Jun 10, 2019

but I don't know what properties I should assign to it.

Can you try sticky = true and check if it does what you want?

@Kukunin
Copy link
Author

Kukunin commented Jun 10, 2019

    { rule = { class = "Xfdesktop" },
      properties = { sticky = true } },

works great. thanks! Is there plan to add sticky = true for every _NET_WM_WINDOW_TYPE_DESKTOP?

I can try to prepare a PR

@Kukunin
Copy link
Author

Kukunin commented Jun 10, 2019

also, is there a way to remove an indicator from tags list?

my desktop

there is no windows on tag 9 but xfdesktop, it still shows it's non-empty

@Elv13
Copy link
Member

Elv13 commented Jun 10, 2019 via email

@actionless
Copy link
Member

actionless commented Jul 5, 2019

there is also skip_taskbar client property which you can use in rules:

https://awesomewm.org/apidoc/core%20components/client.html#skip_taskbar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants