Skip to content

Commit 7b6281b

Browse files
committed
2 parents d921ff1 + 069b870 commit 7b6281b

File tree

8 files changed

+252
-48
lines changed

8 files changed

+252
-48
lines changed

dde-top-panel.desktop

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Desktop Entry]
2+
Comment=DDE Top Panel
3+
Exec=/usr/bin/dde-top-panel
4+
Hidden=false
5+
Name=DDE-Top-Panel
6+
NoDisplay=false
7+
Type=Application
8+
X-GNOME-Autostart-enabled=true

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,21 @@ I only have deepin v20 installed on my computer, and I cannot compile it for oth
7676
Dependency: `Qt5Widgets, Qt5Concurrent, Qt5X11Extras, Qt5DBus, Qt5Svg, DtkWidget, DtkCMake, KF5WindowSystem, XCB_EWMH, DFrameworkDBus, QGSettings, DtkGUI`
7777

7878
```shell
79+
sudo apt install git cmake libdtkcore5-bin libkf5windowsystem-dev libxcb-ewmh-dev libxdo-dev
7980
git clone https://github.com/SeptemberHX/dde-top-panel.git
8081
cd dde-top-panel
8182
mkdir build
8283
cd build
8384
cmake ..
84-
make
85+
make -j8
8586
```
8687
Then `dde-top-panel` should be in `build/frame/dde-top-panel`.
8788
Then go to step 2 in How to run for Deepin V20
8889

8990
## For tray icons of wine applications
9091

9192
Due to the logical of tray plugins, only one tray widget can hold the wine trays (You can click the icon and it will response to the click).
92-
93+
9394
The main code of wine trays is in `plugins/tray/xembedtraywidget`. Generally, it wraps the raw wine trays with a new widget and embeds it to the tray, then it operates on the new widget. The problem is every tray widget will create a new container widget for each wine trays, and the tray widgets launched before can't the window id of the new container widget.
9495

9596
Just move `libtray.so` from `/usr/lib/dde-dock/plugins/libtray.so` to `~/.local/lib/dde-top-panel/plugins/`. Then there will be no tray icons on dock.

0 commit comments

Comments
 (0)