You are not logged in.
By default the terminal emulator Yakuake is not shown in the application switching menu (Alt+Tab) in KDE Plasma. Would it be possible to add it there? How do I do that? Thank you!
Offline
why? The point of yakuake is to be a dropdown window you can invoke via a dedicated shortcut in whichever context you are in?
Online
I know, you are right. But sometimes, I find it helpful to switch context with Alt+Tab.
Offline
Post the output of "xprop" on the window.
nb. that even if this works, it'll imply that the window also shows up in the taskbar
Offline
Please find below the output of xprop:
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_FOCUSED, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_NET_WM_USER_TIME(CARDINAL) = 7979927
WM_TRANSIENT_FOR(WINDOW): window id # 0x40000f
_KDE_SLIDE(_KDE_SLIDE) = 0x0, 0x1, 0xaa, 0xaa
WM_WINDOW_ROLE(STRING) = "MainWindow#1"
_NET_WM_ICON_NAME(UTF8_STRING) =
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.yakuake"
_NET_WM_ICON(CARDINAL) =
Icon (20 x 20): (not shown)
Icon (28 x 28): (not shown)
Icon (40 x 40): (not shown)
Icon (60 x 60): (not shown)
Icon (80 x 80): (not shown)
Icon (160 x 160): (not shown)
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "perl-5.36.0 : xprop"
_NET_WM_NAME(UTF8_STRING) = "perl-5.36.0 : xprop \342\200\224 Yakuake"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_UTILITY, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x40000f
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
window id # of group leader: 0x40000f
WM_CLIENT_MACHINE(STRING) = "smolya"
_NET_WM_PID(CARDINAL) = 4331
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 4194318
WM_CLASS(STRING) = "yakuake", "yakuake"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 0, 0
user specified size: 2560 by 1380
program specified resize increment: 1 by 1
program specified base size: -1 by -1
window gravity: StaticLast edited by mabalenk (2023-02-10 11:01:15)
Offline
Please edit your post and wrap the output in "code" tags, https://bbs.archlinux.org/help.php#bbcode
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_FOCUSED, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER
wmctrl -x -r yakuake -b remove,skip_taskbarnb. that even if this works, it'll imply that the window also shows up in the taskbar
Offline
Thank you for your suggestion. Please check my edits. I tried executing:
wmctrl -x -r yakuake -b remove,skip_taskbarBut it didn't have any effect. I attempted to prefix it with sudo, but it didn't change anything.
Offline
Stop yellung sudo when stuff doesn't work - that's a recipe for disaster.
You can expect the command to remove the _NET_WM_STATE_SKIP_TASKBAR flag, check xprop on whether it does.
This does unfortunately not guarantee that the WM tracks _NET_WM_STATE in general or the flag in particular.
Can you activate the window w/
wmctrl -xa yakuakeOffline
Thank you for your suggestions! I can confirm, the _NET_WM_STATE_SKIP_TASKBAR flag is deactivated with:
wmctrl -x -r yakuake -b remove,skip_taskbarHowever, executing
wmctrl -xa yakuakedoes not make Yakuake appear in the context switching menu (Alt+Tab).
Offline
It's not supposed to make it "appear in the context switching menu (Alt+Tab)" (whatever that is) but to show and focus the window.
Sanity check:
loginctl session-status | head -24Offline
Executing wmctrl -xa yakuake does not show and focus on the window.
Please find below the output of loginctl:
loginctl session-status | head -24
2 - mabalenk (1000)
Since: Fri 2023-02-10 11:47:21 GMT; 1h 3min ago
Leader: 3901 (sddm-helper)
Seat: seat0; vc1
Display: :0
Service: sddm; type x11; class user
Desktop: KDE
State: active
Unit: session-2.scope
|-3901 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-authb15d0ed9-2ebc-4b0f-b676-af0a290e6420 --id 1 --start /usr/bin/startplasma-x11 --user mabalenk
|-3914 /usr/bin/kwalletd5 --pam-login 6 8
`-3915 /usr/bin/startplasma-x11
Feb 10 11:47:22 smolya sddm-helper[3913]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Feb 10 11:47:22 smolya sddm-helper[3915]: Adding cookie to "/home/mabalenk/.Xauthority"
Feb 10 11:47:22 smolya kwalletd5[3914]: kf.wallet.kwalletd: Wallet failed to get opened by PAM, error code is -9
Feb 10 12:23:30 smolya kwalletd5[3914]: Application ' "Opera" ' using kwallet without parent window!Offline
What's the output of "wmctrl -l" when the yakuake window is *not* visible?
Offline
Please find below the output of wmctrl -l. I called it from Alacritty, when Yakuake is running minimised in the background.
mabalenk@smolya:~$ wmctrl -l
0x0160001d -1 smolya Desktop — Plasma
0x01600030 -1 smolya Plasma
0x03000003 0 smolya How to add Yakuake to Alt+Tab switching menu / Applications & Desktop Environments / Arch Linux Forums - Opera
0x0400000c 0 smolya mabalenk--python2c.pdf — Okular
0x04400002 0 smolya mabalenk@smolya:~Offline
Ah, blast. (It doesn't print the class by default and one cannot say whether one of those is yakuake)
wmctrl -xlOffline
No, it is still not in the list:
mabalenk@smolya:~$ wmctrl -xl
0x0160001d -1 plasmashell.plasmashell smolya Desktop — Plasma
0x01600030 -1 plasmashell.plasmashell smolya Plasma
0x03000003 0 Opera.Opera smolya How to add Yakuake to Alt+Tab switching menu / Applications & Desktop Environments / Arch Linux Forums - Opera
0x0400000c 0 okular.okular smolya mabalenk--python2c.pdf — Okular
0x04400002 0 Alacritty.Alacritty smolya mabalenk@smolya:~Offline
Yakuake probably destroys and re-creates the window, for a sanity check
xwininfo on yakuake, but regardless whether it's override redirect or recreated, you'll not be getting it into the list of managed windows - therefore not into the tabbox.
Unless you patch yakuake or it has a relevant option.
Offline
Please find the output of xwininfo on Yakuake below:
xwininfo: Window id: 0x40000d " (failure in conversion from UTF8_STRING to ANSI_X3.4-1968)"
Absolute upper-left X: 0
Absolute upper-left Y: 0
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 2560
Height: 1380
Depth: 32
Visual: 0x6aa
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x40000c (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: yes
Map State: IsViewable
Override Redirect State: no
Corners: +0+0 -0+0 -0-60 +0-60
-geometry 2561x1381+0+0Offline
Not override-redirect.
Does yakuake show up in "wmctrl -xl" when it's visible?
Offline
No, it only shows up when I execute wmctrl -xl in Yakuake itself:
wmctrl -xl
0x0160001d -1 plasmashell.plasmashell smolya Desktop — Plasma
0x01600030 -1 plasmashell.plasmashell smolya Plasma
0x03000003 0 Opera.Opera smolya How to add Yakuake to Alt+Tab switching menu / Applications & Desktop Environments / Arch Linux Forums - Opera
0x0400000c 0 okular.okular smolya mabalenk--python2c.pdf — Okular
0x04400002 0 Alacritty.Alacritty smolya mabalenk@smolya:~/Downloads
0x0500000d 0 konsole.konsole smolya 04-dudx_dudy : bash — Konsole
0x0040000d 0 yakuake.yakuake smolya 01-avgstddev : bash — YakuakeOffline
That's not very likely, but it means that yakuake recreates the window every time you open it (I assume the _NET_WM_STATE_SKIP_TASKBAR flag re-appears?)
you'll not be getting it into the list of managed windows - therefore not into the tabbox.
Unless you patch yakuake or it has a relevant option.
Offline
Yes, I can confirm that the _NET_WM_STATE_SKIP_TASKBAR flag re-appears. Are we in a stalemate position? Thank you for all your time and help!
Offline
You'll have to look around whether yakuake allows you to run it as a somewhat more normal window.
With its current behavior, you'll otherwise not be able to get it into the tabbox w/o patching yakuake.
Offline