Is there a way to get the name of the current workspace in Ubuntu?
有没有办法在Ubuntu中获取当前工作区的名称?
2 个解决方案
#1
0
It looks like the EWMH properties _NET_CURRENT_DESKTOP
and _NET_DESKTOP_NAMES
are what you're looking for. With Xlib, you'd use the XGetWindowProperty function.
看起来EWMH属性_NET_CURRENT_DESKTOP和_NET_DESKTOP_NAMES是您正在寻找的。使用Xlib,您将使用XGetWindowProperty函数。
#2
0
You can display the current workspace-number in the top-panel if that helps:
如果有帮助,您可以在顶部面板中显示当前工作空间编号:
- run "gnome-tweak-tool"
- under Shell-Extensions select "Workspace indicator".
在Shell-Extensions下选择“工作区指示器”。
#1
0
It looks like the EWMH properties _NET_CURRENT_DESKTOP
and _NET_DESKTOP_NAMES
are what you're looking for. With Xlib, you'd use the XGetWindowProperty function.
看起来EWMH属性_NET_CURRENT_DESKTOP和_NET_DESKTOP_NAMES是您正在寻找的。使用Xlib,您将使用XGetWindowProperty函数。
#2
0
You can display the current workspace-number in the top-panel if that helps:
如果有帮助,您可以在顶部面板中显示当前工作空间编号:
- run "gnome-tweak-tool"
- under Shell-Extensions select "Workspace indicator".
在Shell-Extensions下选择“工作区指示器”。