Changeset View
Changeset View
Standalone View
Standalone View
ReadMe.md
- This file was added.
1 | # Plasma Active Window Control | ||||
---|---|---|---|---|---|
2 | | ||||
3 | This widget add close/maximize/minimize buttons for the active window. It also displays the window title and icon, with the ability to show the global menu as well. Originally written by @kotelnik on GitHub. | ||||
4 | | ||||
5 | * All Bugs | ||||
6 | https://bugs.kde.org/buglist.cgi?list_id=1556771&product=Active%20Window%20Control | ||||
7 | * New Bug | ||||
8 | https://bugs.kde.org/enter_bug.cgi?product=Active%20Window%20Control | ||||
9 | | ||||
10 | You can also send Pull Requests as normal diffs (`git diff`) via Phabricator. | ||||
11 | | ||||
12 | * Phabricator | ||||
13 | https://phabricator.kde.org/source/plasma-active-window-control/ | ||||
14 | * Pull Requests | ||||
15 | https://phabricator.kde.org/differential/query/sv1JhxTYnBq6/#R | ||||
16 | * New PR (Repo: Active Window Control Applet for Plasma) | ||||
17 | https://phabricator.kde.org/differential/diff/create/ | ||||
18 | | ||||
19 | | ||||
20 | ### Install | ||||
21 | | ||||
22 | In order to install the widget, first download the new codebase: | ||||
23 | | ||||
24 | ``` | ||||
25 | git clone https://github.com/KDE/plasma-active-window-control | ||||
26 | cd plasma-active-window-control | ||||
27 | ``` | ||||
28 | | ||||
29 | TODO: I'll need to figure out the exact build dependencies. For now, something like the following may install most of them. I'll need to test in an fresh KDE Neon install. | ||||
30 | | ||||
31 | ``` | ||||
32 | sudo apt-get build-dep plasma-pa | ||||
33 | sudo apt-get build-dep kwin | ||||
34 | ``` | ||||
35 | | ||||
36 | Then build it. | ||||
37 | | ||||
38 | ``` | ||||
39 | mkdir build | ||||
40 | cd build | ||||
41 | cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON | ||||
42 | make | ||||
43 | sudo make install | ||||
44 | ``` | ||||
45 | | ||||
46 | ### Update | ||||
47 | | ||||
48 | ``` | ||||
49 | cd plasma-active-window-control | ||||
50 | git pull origin master --ff-only | ||||
51 | ``` | ||||
52 | | ||||
53 | Then run the build commands in under the install instructions again. | ||||
54 | | ||||
55 | ### Uninstall | ||||
56 | | ||||
57 | ``` | ||||
58 | cd plasma-active-window-control | ||||
59 | cd build | ||||
60 | sudo make uninstall | ||||
61 | ``` | ||||
62 | |