ワークスペース2.30.2にはワークスペースがたくさんあります。 (古いものかどうかはわかりません。提供されています)満足です。
しかし、何かが変更されました(centOS 6.3からcentOS 6.6に移動しましたが、それが原因であるかどうかはわかりません)。これで、ワークスペーススイッチャーのサイズが変更されず、ワークスペース名と比較して小さすぎます。
スイッチャーをより広くする方法はありますか?それともキーを押して現在のワークスペース名を表示する方法はありますか?
ベストアンサー1
次のコマンドはワークスペース名:-
gsettings get org.gnome.desktop.wm.preferences workspace-names
あなたはそれを使用することができますxdotool
: -
NAME
xdotool - command-line X11 automation tool
DESCRIPTION
xdotool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize
windows, etc. It does this using X11's XTEST extension and other Xlib functions.
There is some support for Extended Window Manager Hints (aka EWMH or NetWM). See the "EXTENDED WINDOW MANAGER
HINTS" section for more information.
いくつかの便利なコマンド:-
xdotool get_num_desktops
:現在のデスクトップ数を出力します。xdotool get_desktop
:出力現在のデスクトップビューに。
したがって、gsettings get org.gnome.desktop.wm.preferences workspace-names
次の出力['Name1', 'Name2']
と現在の2番目のワークスペースにあるxdotool get_desktop
出力を検討してください。2
Name2
また、wmctrl
次の内容も役に立ちます。
NAME
wmctrl - interact with a EWMH/NetWM compatible X Window Manager.
SYNOPSIS
wmctrl [ options | actions ]...
DESCRIPTION
wmctrl is a command that can be used to interact with an X Window manager that is compatible with the
EWMH/NetWM specification. wmctrl can query the window manager for information, and it can request that cer‐
tain window management actions be taken.