8.3. GNOME Shell 拡張機能でデストップ環境のカスタマイズ
GNOME Shell 拡張機能は、デフォルトの GNOME Shell インターフェイスと、ウィンドウ管理やアプリケーション起動などの各部分のカスタマイズを可能にします。
サードパーティーの GNOME Shell 拡張機能を Red Hat Enterprise Linux に実装する前に、以下の文書に必ず目を通し、サードパーティーソフトウェアに関する Red Hat サポートポリシー (Red Hat グローバルサポートサービスは、サードパーティーのソフトウェア、ドライバー、そして認定されていないハードウェアおよびハイパーバイザー、もしくはゲストのオペレーティングシステムについてどのようなサポートを提供していますか ?) を確認するようにしてください。
8.3.1. GNOME Shell 拡張機能の概要
以下では、RHEL 8 で利用可能な GNOME Shell 拡張機能の概要を説明します。これには、特定の拡張機能を提供するパッケージの名前や、各拡張機能の説明が含まれます。
表8.2 利用可能な GNOME Shell 拡張機能の概要
パッケージ名 | 拡張名 | 説明 |
---|---|---|
gnome-shell-extension-apps-menu | apps-menu | GNOME Shell の アプリケーション メニュー |
gnome-shell-extension-top-icons | Top Icons | 上部にレガシーアイコンを表示する |
gnome-shell-extension-user-theme | user-theme | GNOME Shell でのカスタムテーマのサポート |
gnome-shell-extension-drive-menu | drive-menu | GNOME Shell のドライブステータスメニュー |
gnome-shell-extension-window-list | window-list | GNOME Shell で画面の下部にウィンドウリストを表示する |
gnome-shell-extension-dash-to-dock | Dash to Dock | micxgx.gmail.com による Gnome Shell のドック |
gnome-shell-extension-desktop-icons | Desktop Icons | GNOME クラシックのエクスペリエンスのデスクトップアイコンのサポート |
gnome-shell-extension-no-hot-corner | nohotcorner | GNOME Shell でホットコーナーを無効にする |
gnome-shell-extension-systemMonitor | systemMonitor | GNOME Shell の システムモニター |
gnome-shell-extension-updates-dialog | Updates Dialog | ソフトウェアの更新があるときにモーダルダイアログを表示する |
gnome-shell-extension-window-grouper | window-grouper | 同じワークスペースの同じプロセスに属するウィンドウを保持する |
gnome-shell-extension-panel-favorites | panel-favorites | GNOME Shell のトップバーにあるお気に入りのランチャー |
gnome-shell-extension-windowsNavigator | windowNavigator | GNOME shell でのウィンドウおよびワークスペースのキーボード選択のサポート |
gnome-shell-extension-auto-move-windows | Autom Move Windows | GNOME Shell で特定のワークスペースをアプリケーションに割り当て |
gnome-shell-extension-launch-new-instance | launch-new-instance | 常に GNOME Shell の新しいアプリケーションインスタンスの起動 |
gnome-shell-extension-workspace-indicator | workspace-indicator | GNOME Shell のワークスペースインジケーター |
gnome-shell-extension-disable-screenshield | Disable Screen Shield | ロックが無効になっている場合は、GNOME Shell スクリーンシールドを無効にする |
gnome-shell-extension-native-window-placement | native-window-placement | GNOME Shell のネイティブウィンドウの配置 |
gnome-shell-extension-screenshot-window-sizer | screenshot-window-sizer | GNOME Shell のスクリーンショットのウィンドウサイザー |
gnome-shell-extension-horizontal-workspaces | horizontal-workspaces | GNOME クラシックのエクスペリエンスのデスクトップアイコンのサポート |
gnome-shell-extension-places-menu | places-menu | GNOME Shell のステータスメニューを 配置 する |
gnome-classic-session | – | GNOME クラシックのモードセッション |
8.3.2. マシン全体の拡張機能の有効化
前提条件
システムの全ユーザーが拡張機能を利用できるように、拡張機能を /usr/share/gnome-shell/extensions
ディレクトリーにインストールしている。
手順
マシン全体の設定用に、ローカルデータベースファイルを
/etc/dconf/db/local.d/00-extensions
に作成します。[org/gnome/shell] # List all extensions that you want to have enabled for all users enabled-extensions=['myextension1@myname.example.com', 'myextension2@myname.example.com']
enabled-extensions
キーは、拡張機能の UUID (myextension1@myname.example.com
およびmyextension2@myname.example.com
) を使用して有効にした拡張機能を指定します。システムデータベースを更新します。
# dconf update
システム全体の設定に変更を適用するために、ユーザーは、一度ログアウトしてログインし直す必要があります。
注記現在、ログインしているユーザーに対して追加の拡張機能を有効にする方法はありません。また、独自の GNOME 拡張機能をインストールして有効にした既存のユーザーには適用されません。
8.3.3. 有効にした拡張機能のロックダウン
ユーザーが拡張機能の有効化または無効化を行わないようにするには、org.gnome.shell.enabled-extensions
キーをロックします。
手順
マシン全体の設定用に、ローカルデータベースファイルを
/etc/dconf/db/local.d/00-extensions
に作成します。[org/gnome/shell] # List all extensions that you want to have enabled for all users enabled-extensions=['myextension1@myname.example.com', 'myextension2@myname.example.com']
enabled-extensions
キーは、拡張機能の UUID (myextension1@myname.example.com
およびmyextension2@myname.example.com
) を使用して有効にした拡張機能を指定します。ユーザーの設定を上書きし、ユーザーが
/etc/dconf/db/local.d/locks/extensions
で設定を変更できないようにします。# Lock the list of mandatory extensions /org/gnome/shell/enabled-extensions
システムデータベースを更新します。
# dconf update
- システム全体の設定に変更を適用するために、ユーザーは、一度ログアウトしてログインし直す必要があります。
org.gnome.shell.enabled-extensions
をロックすると、~/.local/share/gnome-shell/extensions
または /usr/share/gnome-shell/extensions
にインストールされていても、org.gnome.shell.enabled-extensions
キーのリストに記載されていない拡張機能は GNOME Shell により読み込まれないため、ユーザーが拡張機能を使用することができなくなります。
8.3.4. 必須の拡張機能の設定
GNOME Shell では、ユーザーが使用する必要がある拡張機能セットを指定できます。
前提条件
拡張機能が、/usr/share/gnome-shell/extensions
ディレクトリーにインストールされている。
手順
マシン全体の設定用に、ローカルデータベースファイルを
/etc/dconf/db/local.d/00-extensions-mandatory
に作成します。[org/gnome/shell] # List all mandatory extensions enabled-extensions=['myextension1@myname.example.com', 'myextension2@myname.example.com']
enabled-extensions
キーは、拡張機能の UUID (myextension1@myname.example.com
およびmyextension2@myname.example.com
) を使用して有効にした拡張機能を指定します。ユーザーの設定を上書きし、ユーザーが
/etc/dconf/db/local.d/locks/extensions-mandatory
で設定を変更できないようにします。# Lock the list of mandatory extensions /org/gnome/shell/enabled-extensions
システムデータベースを更新します。
# dconf update
- システム全体の設定に変更を適用するために、ユーザーは、一度ログアウトしてログインし直す必要があります。