Skip to content

Commit e2c3cc3

Browse files
committed
update readme
1 parent 36fb569 commit e2c3cc3

File tree

2 files changed

+12
-31
lines changed

2 files changed

+12
-31
lines changed

readme.md

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,15 @@ This is a modification of dde-dock for top panel. Comparing to dde-dock, it:
2323
* global menu support (with dde-globalmenu-service)
2424
* show window title on top panel
2525
* show title buttons on top panel when current window maximized
26-
* double click on empty area on top panel will maximize current window
26+
* double-clicking on empty area on top panel will maximize current window
2727
* dragging and moving current maximized window by dragging empty area of top panel
28-
* coping with `~/.config/kwinrc` can remove the window title bar when maximized
28+
* remove the window title bar when maximized
2929
* support multi monitors
3030
* personal customization
3131

3232
Know issues:
3333
* panels on **non-primary monitors** only have the window title function. The plugins can not work on them. `It is not an issue` because the `QPluginLoader` can only create one instance from one plugin file. So the panel cannot create as many plugin widgets as the panels. Still trying to add the plugin back to all panels
34-
* Shortcuts of the global menu not work yet
35-
36-
37-
## Behaviors
38-
39-
* Always show title buttons for maxmized window and hide for unmaxminzed window (optional: show menu for maximized window on hover)
40-
* Show window title only when no global menu for current window
34+
* Shortcuts of the global menu not work
4135

4236
## Screenshot
4337

@@ -54,22 +48,10 @@ Know issues:
5448

5549
### For Deepin V20
5650

57-
1. download zip from release page and unzip it
58-
1. cp `*.xml` to `/usr/share/glib-2.0/schemas`, and run `sudo glib-compile-schemas /usr/share/glib-2.0/schemas`
59-
2. cp `dde-top-panel` to `/usr/bin`
60-
3. cp `dde-top-panel.desktop` to `/usr/share/applications`
61-
4. open your launcher, run `dde-top-panel`. enable auto-start by right clicking
62-
5. for removing the title bar of maximized windows, make sure your `~/.config/kwinrc` contains items below, then logout.
63-
```shell script
64-
[Windows]
65-
BorderlessMaximizedWindows=true
66-
```
67-
4. If you want to use plugins on top panel, just copy the plugin files to `~/.local/lib/dde-top-panel/plugins`. For example, if you want to get tray icons on top panel, just `cp /usr/lib/dde-dock/plugins/libtray.so ~/.local/lib/dde-top-panel/plugins`
68-
5. If you want to enable the global menu, please install [dde-globalmenu-service](https://github.com/SeptemberHX/dde-globalmenu-service.git)
69-
70-
### For Arch
71-
72-
Thanks to @JunioCalu . dde-top-panel is in the AUR now. [https://aur.archlinux.org/packages/dde-top-panel](https://aur.archlinux.org/packages/dde-top-panel)
51+
1. download deb package from releases and install the deb package. you can enable the auto-start in the launcher
52+
2. for removing the title bar of maximized windows, you can enable this feature in the settings by right clicking
53+
3. If you want to use plugins on top panel, just copy the plugin files to `~/.local/lib/dde-top-panel/plugins`. For example, if you want to get tray icons on top panel, just `cp /usr/lib/dde-dock/plugins/libtray.so ~/.local/lib/dde-top-panel/plugins`
54+
4. If you want to enable the global menu, please install [dde-globalmenu-service](https://github.com/SeptemberHX/dde-globalmenu-service.git)
7355

7456
### For Other distributions
7557

@@ -84,10 +66,9 @@ cd dde-top-panel
8466
mkdir build
8567
cd build
8668
cmake ..
87-
make -j8
69+
make -j8 package
8870
```
89-
Then `dde-top-panel` should be in `build/frame/dde-top-panel`.
90-
Then go to step 2 in How to run for Deepin V20
71+
Then a deb package will be generated.
9172

9273
## For tray icons of wine applications
9374

translations/dde-top-panel_zh_CN.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<translation></translation>
1818
</message>
1919
<message>
20-
<location filename="../widgets/ActiveWindowControlWidget.cpp" line="158"/>
21-
<location filename="../widgets/ActiveWindowControlWidget.cpp" line="162"/>
22-
<location filename="../widgets/ActiveWindowControlWidget.cpp" line="194"/>
20+
<location filename="../widgets/ActiveWindowControlWidget.cpp" line="161"/>
21+
<location filename="../widgets/ActiveWindowControlWidget.cpp" line="165"/>
22+
<location filename="../widgets/ActiveWindowControlWidget.cpp" line="197"/>
2323
<source>Desktop</source>
2424
<translation>桌面</translation>
2525
</message>

0 commit comments

Comments
 (0)