User Tools

Site Tools


notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes [2018/05/17 23:19] – add Install xubuntu from .iso file on a second drive with GRUB joshnotes [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://bugs.kde.org/show_bug.cgi?id=384264]]. See [[https://bugs.kde.org/show_bug.cgi?id=384264]].
Line 336: Line 340:
  
 <code> <code>
-loopback loop (hd0,1)/xubuntu-18.04-desktop-amd64.iso+loopback loop (hd0,msdos1)/xubuntu-18.04-desktop-amd64.iso
 linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/xubuntu-18.04-desktop-amd64.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/xubuntu-18.04-desktop-amd64.iso
 initrd (loop)/casper/initrd.lz initrd (loop)/casper/initrd.lz
 +boot
 +</code>
 +
 +====== Fix Java for Minecraft in Ubuntu 18.04 ======
 +
 +See [[https://www.reddit.com/r/Minecraft/comments/8ip8vh/issue_with_minecraft_java_launcher_and_ubuntu_1804/]] and [[https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty/50103533#50103533]].
 +
 +<code>
 +sudo apt install openjdk-8-jdk
 +sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
 +/usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts
 +/var/lib/dpkg/info/ca-certificates-java.postinst configure
 +</code>
 +
 +====== 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 ''/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/code/layout.js'':
 +
 +<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);
 +}
 +</code>
 +
 +plasmashell can be restarted to see the change take effect with:
 +
 +<code>
 +killall plasmashell; kstart5 plasmashel
 </code> </code>
notes.1526613548.txt.gz · Last modified: by josh