パネル

パネル

私の以前によると質問そして答えはアルカディウス・ドラブチク、私は3つのモニターごとに別々のインスタンスである3つの異なるfbpanelインスタンスを設定しました。

これが私がfbpanelを起動する方法です:

fbpanel -x 0 --profile left &
fbpanel -x 1 --profile center &
fbpanel -x 2 --profile right &

この3つの設定ファイルleftは私の。設定ファイルには、現在開いているアクティブウィンドウをタブに表示し(alt + tab)、または「最小化」を切り替えることができるプラグイン定義が含まれています。centerright~/.config/fbpanel/centertaskbar

Plugin {
type = taskbar
expand = true
config {
    ShowIconified = true
    ShowMapped = true
    ShowAllDesks = false
    tooltips = true
    IconsOnly = false
    MaxTaskWidth = 150
}

ただし、taskbarセントラルモニターには(3つのモニターすべての)すべてのアプリケーションが含まれています。そのため、3つのモニターを収容できるモニターがありますtaskbar

私は現在、左側のモニターを占めているアプリケーションだけが、左側のfbpanelのタスクバーに表示されるように、taskbar私の3つごとに1つずつ持ちたいと思います。fbpanels

したがって、デフォルトでアプリケーションウィンドウを中央モニターから左側のモニターに移動すると、現在の中央のfbpanelタスクバーに「ドッキングされている」アプリケーションが左のfbpanelタスクバーに移動する必要があります。

これが可能かどうかわかりません。

私の設定の詳細は次のとおりです。

私は使用しており、オペレーティングシステムfbpanelopenboxDebian Busterです。fbpanel問題が解決したら、喜んでパッケージを再コンパイルします。

ベストアンサー1

パネル

これパネルプラグインタスクバーその機能は実装されていません(レビュー後に確認済み)。プラグインソース)。

利用可能な唯一のオプションは、次のように定義されます。

XCG(xc, "tooltips", &tb->tooltips, enum, bool_enum);
XCG(xc, "iconsonly", &tb->icons_only, enum, bool_enum);
XCG(xc, "acceptskippager", &tb->accept_skip_pager, enum, bool_enum);
XCG(xc, "showiconified", &tb->show_iconified, enum, bool_enum);
XCG(xc, "showalldesks", &tb->show_all_desks, enum, bool_enum);
XCG(xc, "showmapped", &tb->show_mapped, enum, bool_enum);
XCG(xc, "usemousewheel", &tb->use_mouse_wheel, enum, bool_enum);
XCG(xc, "useurgencyhint", &tb->use_urgency_hint, enum, bool_enum);
XCG(xc, "maxtaskwidth", &tb->task_width_max, int);

利用可能なオプションはよく文書化されていませんが、以下はいくつかの説明です。

ShowIconified = true # Displays icons on the windows.
ShowMapped = true # If false here, only windows that are minimized are shown.
ShowAllDesks = false # Show the windows of all virtual desktops.
tooltips = true # Displays the complete title of the window when hovering it.
IconsOnly = false # Displays only the icons of the windows and nothing else.
MaxTaskWidth = 150 # Specifies the maximum width of a window in the taskbar.

ソースコードにパッチを適用しない唯一の可能性は、異なる画面で異なる仮想デスクトップを使用し(各画面に1つの仮想デスクトップを割り当てる)、showalldesks3つのfbpanelオプションをそれぞれfalseに設定することです。、これらのソリューション(画面ごとの仮想デスクトップ)について詳しく説明します。ここそしてここ

その他の事項も参考にしてください質問/必要結果なしでアップストリームで作られました。

代替:

参考までに、LXDEに関するその他の質問をお読みください。ここそしてこここのような理由でLXDEの使用を放棄しているようですが、過去の問題には解決策があるようです。

ほとんどの軽量デスクトップパネル(XFCE / LXDEなど)は、必要な機能(現在の画面のウィンドウ操作のみを表示)をサポートしています。同じ方法)。 )。

以下は、独立して使用できるパネルのおおよそのリストです。

XFCEパネル:

## install the panel and its dependency
apt-get install xfce4-panel

## start the panel alone
xfce4-panel

LXDEパネル:

## install the panel and its dependency
apt-get install lxpanel

## start the panel alone
lxpanel

LXQTパネル:

## install the panel and its dependency
apt-get install lxqt-panel

## start the panel alone
lxqt-panel

おすすめ記事