notes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes [2018/06/11 21:57] – add Fix Java for Minecraft in Ubuntu 18.04 josh | notes [2023/03/19 09:49] (current) – add KDE Plasma Task Manager button width josh | ||
|---|---|---|---|
| Line 314: | Line 314: | ||
| ====== Disable media controls on KDE Plasma 5 lockscreen ====== | ====== Disable media controls on KDE Plasma 5 lockscreen ====== | ||
| + | |||
| + | Finally in Kubuntu 20.04 the settings GUI works to disable this! System Settings -> Workspace -> Workspace Behavior -> Screen Locking -> Appearance -> Media controls. | ||
| + | |||
| + | Previously: | ||
| See [[https:// | See [[https:// | ||
| Line 336: | Line 340: | ||
| < | < | ||
| - | loopback loop (hd0,1)/ | + | loopback loop (hd0,msdos1)/ |
| linux (loop)/ | linux (loop)/ | ||
| initrd (loop)/ | initrd (loop)/ | ||
| + | boot | ||
| </ | </ | ||
| Line 350: | Line 355: | ||
| / | / | ||
| / | / | ||
| + | </ | ||
| + | |||
| + | ====== KDE Plasma Task Manager button width ====== | ||
| + | |||
| + | When turning on Group by Program name but turning off Combine into a single button, the maximum task manager button size decreases. | ||
| + | I fixed this by editing preferredMaxWidth() in ''/ | ||
| + | |||
| + | <code javascript> | ||
| + | function preferredMaxWidth() { | ||
| + | if (tasks.iconsOnly) { | ||
| + | if (tasks.vertical) { | ||
| + | return tasks.width + verticalMargins(); | ||
| + | } else { | ||
| + | return tasks.height + horizontalMargins(); | ||
| + | } | ||
| + | } | ||
| + | |||
| + | // if (plasmoid.configuration.groupingStrategy != 0 && !plasmoid.configuration.groupPopups) { | ||
| + | // return preferredMinWidth(); | ||
| + | // } | ||
| + | |||
| + | return Math.floor(preferredMinWidth() * 1.6); | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | plasmashell can be restarted to see the change take effect with: | ||
| + | |||
| + | < | ||
| + | killall plasmashell; | ||
| </ | </ | ||
notes.1528768626.txt.gz · Last modified: by josh
