Plasma/Tips: Difference between revisions
< Plasma
(Convert my tweak list https://zren.github.io/kde/#configuration to mediawiki format) |
m (it's called Application Launcher not "Start Menu" in recent Plasma, correct settings path) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
[[#disable-restoring-session-on-login-restarting-apps-open-during-logout|Disable restoring session on Login (restarting apps open during Logout)]] | [[#disable-restoring-session-on-login-restarting-apps-open-during-logout|Disable restoring session on Login (restarting apps open during Logout)]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Startup & Shutdown<br /> | ||
:Desktop Session Tab | :Desktop Session Tab → On Login: Check Start with an empty session<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 20: | Line 20: | ||
[[#hide-the-button-in-the-top-corner|Hide the ☰ button in the top corner]] | [[#hide-the-button-in-the-top-corner|Hide the ☰ button in the top corner]] | ||
<p> | <p> | ||
:Right Click the desktop wallpaper | :Right Click the desktop wallpaper → Desktop/Folder View Settings<br /> | ||
:Tweaks Tab | :Tweaks Tab → Uncheck: Show the desktop toolbox<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 28: | Line 28: | ||
[[#hide-the-button-in-the-panel-on-the-bottom-right|Hide the ☰ button in the panel on the bottom right]] | [[#hide-the-button-in-the-panel-on-the-bottom-right|Hide the ☰ button in the panel on the bottom right]] | ||
<p> | <p> | ||
:Right Click the ☰ button | :Right Click the ☰ button → Lock Widgets.<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 35: | Line 35: | ||
[[#always-hide-system-tray-notification-icons|Always Hide System Tray Notification Icons]] | [[#always-hide-system-tray-notification-icons|Always Hide System Tray Notification Icons]] | ||
<p> | <p> | ||
:Right Click the “Expand System Tray Triangle” | :Right Click the “Expand System Tray Triangle” → System Tray Settings.<br /> | ||
:Entries Tab | :Entries Tab → Networks → Visibility: Hidden<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 43: | Line 43: | ||
[[#disable-icon-in-system-tray|Disable Icon in System Tray]] | [[#disable-icon-in-system-tray|Disable Icon in System Tray]] | ||
<p> | <p> | ||
:Right Click the “Expand System Tray Triangle” | :Right Click the “Expand System Tray Triangle” → System Tray Settings.<br /> | ||
:General Tab | :General Tab → Extra Items → Uncheck: Clipboard, Battery<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 52: | Line 52: | ||
<p> | <p> | ||
:While the widgets are unlocked<br /> | :While the widgets are unlocked<br /> | ||
:Right Click the “Start” menu | :Right Click the “Start” menu → Alternatives → Application Menu<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 59: | Line 59: | ||
[[#dont-sort-windows-in-taskbar|Don’t sort windows in Taskbar]] | [[#dont-sort-windows-in-taskbar|Don’t sort windows in Taskbar]] | ||
<p> | <p> | ||
:Right Click | :Right Click the empty area on the taskbar next to the tasks → Task Manager Settings<br /> | ||
:General Tab | :General Tab → Sorting: Manual<br /> | ||
:General Tab | :General Tab → Uncheck: Keep Launchers Separate<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 68: | Line 68: | ||
[[#hide-windows-from-other-desktops-in-taskbar|Hide windows from other Desktops in Taskbar]] | [[#hide-windows-from-other-desktops-in-taskbar|Hide windows from other Desktops in Taskbar]] | ||
<p> | <p> | ||
:Right Click a Task | :Right Click a Task → Task Manager Settings<br /> | ||
:General Tab | :General Tab → Filters → Check: Current Desktop<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 77: | Line 77: | ||
<p> | <p> | ||
:Launch App<br /> | :Launch App<br /> | ||
:Right Click app in Taskbar | :Right Click app in Taskbar → Check: Show Launcher When Not Running<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 84: | Line 84: | ||
[[#hide-audio-indicator-in-window-list|Hide audio indicator in window list]] | [[#hide-audio-indicator-in-window-list|Hide audio indicator in window list]] | ||
<p> | <p> | ||
:Right Click a Task | :Right Click a Task → Task Manager Settings<br /> | ||
:General Tab | :General Tab → Uncheck: Mark applications that play audio<br /> | ||
</p> | |||
</li> | |||
<li id="disable-middle-click-paste-notes-widget" class="tip"> | |||
[[#disable-middle-click-paste-notes-widget|Disable Middle-Click Paste Notes Widget]] | |||
<p> | |||
:Right Click Desktop Wallpaper → Configure Desktop<br /> | |||
:Mouse Actions Tab → Press the Delete icon next to the Middle-Button row.<br /> | |||
</p> | |||
</li> | |||
<li id="lock-widgets" class="tip"> | |||
[[#lock-widgets|Lock Widgets]] | |||
<p> | |||
:Plasma 5.18 and above has hidden the "lock widgets" toggle. It's very easy to enter "edit mode" with a long press. If you want to get the old locked mode behavior, run the following command:<br /> | |||
<syntaxhighlight lang="bash"> | |||
qdbus org.kde.plasmashell /PlasmaShell evaluateScript 'lockCorona(!locked)' | |||
</syntaxhighlight> | |||
:If you want an easier way to toggle locking widgets in Plasma 5.18, install [https://store.kde.org/p/1100895/ Win7ShowDesktop widget] which has a "Lock Widgets" toggle in it's right click menu.<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 92: | Line 111: | ||
[[#disable-top-left-hot-corner|Disable Top Left “Hot Corner”]] | [[#disable-top-left-hot-corner|Disable Top Left “Hot Corner”]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Desktop Behaviour<br /> | ||
:Screen Edges Tab | :Screen Edges Tab → Top Left: No Action<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 100: | Line 119: | ||
[[#bind-ctrl-alt-left-right-to-switch-desktop|Bind Ctrl+Alt+Left/Right to Switch Desktop]] | [[#bind-ctrl-alt-left-right-to-switch-desktop|Bind Ctrl+Alt+Left/Right to Switch Desktop]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Desktop Behaviour<br /> | ||
:Virtual Desktops Tab | :Virtual Desktops Tab → Switching → Shortcuts<br /> | ||
:Switch One Desktop Left: < | :Switch One Desktop Left: <keycap>Ctrl+Alt+Left</keycap><br /> | ||
:Switch One Desktop Right: < | :Switch One Desktop Right: <keycap>Ctrl+Alt+Right</keycap><br /> | ||
:Switch To Desktop 1, 2, …: None<br /> | :Switch To Desktop 1, 2, …: None<br /> | ||
</p> | </p> | ||
Line 111: | Line 130: | ||
[[#disable-switch-desktop-when-scrolling-over-desktop-wallpaper|Disable Switch Desktop when scrolling over desktop wallpaper]] | [[#disable-switch-desktop-when-scrolling-over-desktop-wallpaper|Disable Switch Desktop when scrolling over desktop wallpaper]] | ||
<p> | <p> | ||
:Right Click the desktop wallpaper | :Right Click the desktop wallpaper → Desktop/Folder View Settings<br /> | ||
:Mouse Actions Tab | :Mouse Actions Tab → Remove: Vertical Scroll → Switch Desktop<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 119: | Line 138: | ||
[[#disable-bouncing-cursor-when-apps-open|Disable bouncing cursor when apps open]] | [[#disable-bouncing-cursor-when-apps-open|Disable bouncing cursor when apps open]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Applications<br /> | ||
:Change "Bouncing" Cursor to "No Feedback"<br /> | :Change "Bouncing" Cursor to "No Feedback"<br /> | ||
</p> | </p> | ||
Line 127: | Line 146: | ||
[[#disable-focus-stealing-prevention|Disable focus stealing prevention]] | [[#disable-focus-stealing-prevention|Disable focus stealing prevention]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Window Management<br /> | ||
:Window Behaviour Tab | :Window Behaviour Tab → Focus Stealing Prevention: None<br /> | ||
</p> | |||
</li> | |||
<li id="fix-alt-click-in-certain-games-software" class="tip"> | |||
[[#fix-alt-click-in-certain-games-software|Fix Alt+Click in certain games/software]] | |||
<p> | |||
:'''Note:''' Plasma 5.20 has changed the default to <keycap>Meta+Click+Drag</keycap>, but these instructions are the same for changing back to <keycap>Alt+Click+Drag</keycap>.<br /> | |||
:<keycap>Alt+Click+Drag</keycap> was a standard keybinding for moving a window in Linux. It tends to conflict with software designed for Windows like Games, Inkscape and Blender. To fix, we'll change it to <keycap>Meta+Click+Drag</keycap>.<br /> | |||
:System Settings → Window Management<br /> | |||
:Window Actions Tab → Inner Window, Titlebar, Frame → Modifier Key: <keycap>Meta</keycap><br /> | |||
:'''OR''' set Left button: "Nothing" to disable it completely.<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 135: | Line 165: | ||
[[#normal-alt-tab-popup|“Normal” Alt+Tab popup]] | [[#normal-alt-tab-popup|“Normal” Alt+Tab popup]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Window Management<br /> | ||
:Task Switcher Tab | :Task Switcher Tab → Click the "star icon"<br /> | ||
:Install "[https://store.kde.org/p/1153173 Thumbnail Grid]", then close the installer window.<br /> | :Install "[https://store.kde.org/p/1153173 Thumbnail Grid]", then close the installer window.<br /> | ||
:Select "Thumbnail Grid" in the dropdown.<br /> | :Select "Thumbnail Grid" in the dropdown.<br /> | ||
Line 146: | Line 176: | ||
<p> | <p> | ||
:Normally it will wait 90 milliseconds before trying to show the popup. This makes quick switches faster since it doesn't need to draw anything.<br /> | :Normally it will wait 90 milliseconds before trying to show the popup. This makes quick switches faster since it doesn't need to draw anything.<br /> | ||
:We need to set <code>DelayTime=0</code> under the group <code>[TabBox]</code> in the file <code>~/config/kwinrc</code>, then reload kwin.<br /> | :We need to set <code>DelayTime=0</code> under the group <code>[TabBox]</code> in the file <code>~/.config/kwinrc</code>, then reload kwin.<br /> | ||
:It's easier to use these commmands than doing it by hand.<br /> | :It's easier to use these commmands than doing it by hand.<br /> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 152: | Line 182: | ||
qdbus org.kde.KWin /KWin reconfigure | qdbus org.kde.KWin /KWin reconfigure | ||
</syntaxhighlight> | </syntaxhighlight> | ||
:You can also disable the highlight window effect by going to:<br /> | |||
:System Settings → Window Management → Task Switcher Tab<br /> | |||
:Uncheck: Show selected window<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 158: | Line 191: | ||
[[#disable-lock-screen|Disable Lock Screen]] | [[#disable-lock-screen|Disable Lock Screen]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Desktop Behaviour → Screen Locking Tab<br /> | ||
:Uncheck: Lock screen automatically after __ min<br /> | :Uncheck: Lock screen automatically after __ min<br /> | ||
:Uncheck: Lock screen on resume<br /> | :Uncheck: Lock screen on resume<br /> | ||
Line 167: | Line 200: | ||
[[#disable-logout-shutdown-confirmation|Disable Logout/Shutdown Confirmation]] | [[#disable-logout-shutdown-confirmation|Disable Logout/Shutdown Confirmation]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Startup and Shutdown<br /> | ||
:Desktop Session Tab | :Desktop Session Tab → Uncheck: Confirm Logout<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 175: | Line 208: | ||
[[#windows-keybindings-for-moving-windows|Windows Keybindings for moving windows]] | [[#windows-keybindings-for-moving-windows|Windows Keybindings for moving windows]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Shortcuts → Global Keyboard Shortcuts Tab<br /> | ||
:KWin | :KWin → Show Desktop: <keycap>Win+M</keycap><br /> | ||
:KWin | :KWin → Maximize Window: <keycap>Win+Up</keycap><br /> | ||
:KWin | :KWin → Minimize Window: <keycap>Win+Down</keycap><br /> | ||
:KWin | :KWin → Quick Tile Window to the Left: <keycap>Win+Left</keycap><br /> | ||
:KWin | :KWin → Quick Tile Window to the Right: <keycap>Win+Right</keycap><br /> | ||
:To open the “Start Menu” with the Windows key [[# | :To open the “Start Menu” with the Windows key [[#Windows.2FMeta_Key|see the section below]].<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 188: | Line 221: | ||
[[#present-all-windows-with-win-tab|Present all windows with Win+Tab]] | [[#present-all-windows-with-win-tab|Present all windows with Win+Tab]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Desktop Behavior<br /> | ||
:Desktop Effects Tab | :Desktop Effects Tab → Check Present Windows<br /> | ||
:Click the Gear Icon | :Click the Gear Icon → Change the <keycap>Ctrl+F10</keycap> shortcut to <keycap>Meta+Tab</keycap><br /> | ||
:Layout mode: "Natural" | :Layout mode: "Natural" → "Flexible Grid"<br /> | ||
</p> | |||
</li> | |||
<li id="change-titlebar-height" class="tip"> | |||
[[#change-titlebar-height|Change titlebar height]] | |||
<p> | |||
:System Settings → Fonts<br /> | |||
:Window title → Edit Font Size<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 198: | Line 239: | ||
[[#hide-titlebars-when-maximized-like-ubuntu|Hide titlebars when maximized (like Ubuntu)]] | [[#hide-titlebars-when-maximized-like-ubuntu|Hide titlebars when maximized (like Ubuntu)]] | ||
<p> | <p> | ||
:We need to set <code>BorderlessMaximizedWindows=true</code> under the group <code>[Windows]</code> in the file <code>~/config/kwinrc</code>, then reload kwin.<br /> | :We need to set <code>BorderlessMaximizedWindows=true</code> under the group <code>[Windows]</code> in the file <code>~/.config/kwinrc</code>, then reload kwin.<br /> | ||
:It's easier to use these commmands than doing it by hand.<br /> | :It's easier to use these commmands than doing it by hand.<br /> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 204: | Line 245: | ||
qdbus org.kde.KWin /KWin reconfigure | qdbus org.kde.KWin /KWin reconfigure | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</p> | |||
</li> | |||
<li id="launch-app-with-discrete-gpu" class="tip"> | |||
[[#launch-app-with-discrete-gpu|Launch app with discrete GPU]] | |||
<p> | |||
:Also known as using <code>prime-run</code> ([https://wiki.archlinux.org/index.php/PRIME PRIME wiki]) or using the <code>DRI_PRIME=1</code> environment variable.<br /> | |||
:Open Application Launcher → Right Click app<br /> | |||
:Application Tab → Advanced Options<br /> | |||
:Discrete GPU → Check: Run using dedicated graphics card<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 215: | Line 266: | ||
<p> | <p> | ||
:Feature has been added by default since Plasma 5.8.<br /> | :Feature has been added by default since Plasma 5.8.<br /> | ||
:If it's not working, make sure your "Start Menu" widget has a global shortcut like < | :If it's not working, make sure your Application Launcher ("Start Menu") widget has a global shortcut like <keycap>Alt+F1</keycap> set (you can't assign it directly to <keycap>Meta</keycap>, but it will open with <keycap>Meta</keycap> if another shortcut is assigned).<br /> | ||
:Right Click the KDE Icon | :Right Click the KDE Icon → Configure Application Launcher<br /> | ||
:Keyboard Shortcuts | :Keyboard Shortcuts tab → Shortcut: <keycap>Alt+F1</keycap><br /> | ||
:;<b>Latte Dock</b><br /> | :;<b>Latte Dock</b><br /> | ||
Line 236: | Line 287: | ||
[[#do-not-open-the-start-menu-with-windows-meta-key|Do not open the "Start Menu" with Windows/Meta key]] | [[#do-not-open-the-start-menu-with-windows-meta-key|Do not open the "Start Menu" with Windows/Meta key]] | ||
<p> | <p> | ||
:We need to set <code>Meta=</code> under the group <code>[ModifierOnlyShortcuts]</code> in the file <code>~/config/kwinrc</code>, then reload kwin.<br /> | :We need to set <code>Meta=</code> under the group <code>[ModifierOnlyShortcuts]</code> in the file <code>~/.config/kwinrc</code>, then reload kwin.<br /> | ||
:It's easier to use these commmands than doing it by hand.<br /> | :It's easier to use these commmands than doing it by hand.<br /> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 248: | Line 299: | ||
[[#open-krunner-with-windows-meta-key|Open KRunner with Windows/Meta key]] | [[#open-krunner-with-windows-meta-key|Open KRunner with Windows/Meta key]] | ||
<p> | <p> | ||
:We need to set <code>Meta=</code> under the group <code>[ModifierOnlyShortcuts]</code> in the file <code>~/config/kwinrc</code>, then reload kwin.<br /> | :We need to set <code>Meta=</code> under the group <code>[ModifierOnlyShortcuts]</code> in the file <code>~/.config/kwinrc</code>, then reload kwin.<br /> | ||
:It's easier to use these commmands than doing it by hand.<br /> | :It's easier to use these commmands than doing it by hand.<br /> | ||
:'''Plasma 5.18 and above:'''<br /> | |||
<syntaxhighlight lang="bash"> | |||
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch" | |||
qdbus org.kde.KWin /KWin reconfigure | |||
</syntaxhighlight> | |||
:'''Plasma 5.17 and below:'''<br /> | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner,org.kde.kglobalaccel.Component,invokeShortcut,run command" | kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner,org.kde.kglobalaccel.Component,invokeShortcut,run command" | ||
Line 264: | Line 321: | ||
[[#change-login-screen-wallpaper|Change Login Screen Wallpaper]] | [[#change-login-screen-wallpaper|Change Login Screen Wallpaper]] | ||
<p> | <p> | ||
:System Settings | :System Settings → Startup and Shutdown<br /> | ||
:Login Screen (SDDM) Tab | :Login Screen (SDDM) Tab → Background → Load From File<br /> | ||
:We should also change the lock screen.<br /> | :We should also change the lock screen.<br /> | ||
:System Settings | :System Settings → Desktop Bahviour<br /> | ||
:Screen Locking Tab | :Screen Locking Tab → Wallpaper → Wallpaper Type: Image<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 281: | Line 338: | ||
:;<b>Plasma 5.13</b><br /> | :;<b>Plasma 5.13</b><br /> | ||
::System Settings | ::System Settings → Desktop Behavior → Workspace<br /> | ||
::Click Behavior: Double Click to open files and folders<br /> | ::Click Behavior: Double Click to open files and folders<br /> | ||
:;<b><= Plasma 5.12</b><br /> | :;<b><= Plasma 5.12</b><br /> | ||
::System Settings | ::System Settings → Input Devices<br /> | ||
::Mouse Tab | ::Mouse Tab → Icons: Double Click to open files and folders<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 293: | Line 350: | ||
[[#always-show-hidden-files|Always Show Hidden Files]] | [[#always-show-hidden-files|Always Show Hidden Files]] | ||
<p> | <p> | ||
:☰ Control | :☰ Control → Adjust View Properties<br /> | ||
:Check: Show hidden files<br /> | :Check: Show hidden files<br /> | ||
:Apply view properties to: All Folders<br /> | :Apply view properties to: All Folders<br /> | ||
Line 303: | Line 360: | ||
[[#browse-zip-tar-gz-rar-with-dolphin|Browse (.zip / .tar.gz / .rar) with Dolphin]] | [[#browse-zip-tar-gz-rar-with-dolphin|Browse (.zip / .tar.gz / .rar) with Dolphin]] | ||
<p> | <p> | ||
:☰ Control | :☰ Control → Configure Dolphin<br /> | ||
:Navigation Tab | :Navigation Tab → Check: Open archives as folder<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 311: | Line 368: | ||
[[#clean-up-context-menu-right-click-menu|Clean up Context Menu (Right Click Menu)]] | [[#clean-up-context-menu-right-click-menu|Clean up Context Menu (Right Click Menu)]] | ||
<p> | <p> | ||
:☰ Control | :☰ Control → Configure Dolphin<br /> | ||
:Services Tab | :Services Tab → Uncheck: “Copy To”, “Delete”, “File to activity”, “Send as Email”, “Send to IM”, “Send via Bluetooth”, “Send via KDE Connect”<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 319: | Line 376: | ||
[[#show-terminal-panel|Show Terminal Panel]] | [[#show-terminal-panel|Show Terminal Panel]] | ||
<p> | <p> | ||
:☰ Control | :☰ Control → Panels → Terminal (F4)<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 326: | Line 383: | ||
[[#paste-into-terminal-panel|Paste into Terminal Panel]] | [[#paste-into-terminal-panel|Paste into Terminal Panel]] | ||
<p> | <p> | ||
:☰ Control | :☰ Control → Configure Shortcuts<br /> | ||
:Paste | :Paste → Set Alternative (Defaulted to Shift+Insert) as “None”<br /> | ||
</p> | |||
</li> | |||
<li id="disable-file-indexing-baloo" class="tip"> | |||
[[#disable-file-indexing-baloo|Disable File Indexing (Baloo)]] | |||
<p> | |||
:Some user may want to disable the indexing when:<br /> | |||
:;<b>[https://www.reddit.com/r/kde/search?q=baloo&restrict_sr=on For some users], the <code>baloo_file</code> process can slow down the system.</b><br /> | |||
:;<b>The <code>~/.local/share/baloo/index</code> can use over a Gigabyte of space.</b><br /> | |||
::Run <code>balooctl indexSize</code> to break the database usage down.<br /> | |||
:System Settings → Search<br /> | |||
:Uncheck: Enable File Search<br /> | |||
</p> | |||
</li> | |||
</ul> | |||
<h3><span id="LibreOffice_Writer">[[#LibreOffice_Writer|LibreOffice Writer]]</span></h3> | |||
<ul> | |||
<li id="save-as-docx-by-default" class="tip"> | |||
[[#save-as-docx-by-default|Save as .docx by default]] | |||
<p> | |||
:Tools → Options<br /> | |||
:Load/Save → General<br /> | |||
:Always save as: "Word 2007-2019 (*.docx)"<br /> | |||
:<blockquote>[https://help.libreoffice.org/Common/Using_Microsoft_Office_and#Saving_Documents_by_Default_in_Microsoft_Office_Formats LibreOffice wiki]</blockquote> | |||
</p> | |||
</li> | |||
</ul> | |||
<h3><span id="LibreOffice_Calc">[[#LibreOffice_Calc|LibreOffice Calc]]</span></h3> | |||
<ul> | |||
<li id="set-default-font-size-family-cellpadding" class="tip"> | |||
[[#set-default-font-size-family-cellpadding|Set Default Font Size/Family/CellPadding]] | |||
<p> | |||
:Styles → Manage Styles<br /> | |||
:Right click Default → Modify<br /> | |||
:Font → Family: Noto Sans (Office uses Carlito/Calibri)<br /> | |||
:Font → Size: 12 (Office uses 11)<br /> | |||
:Borders → Padding: 1.00mm<br /> | |||
:Ok<br /> | |||
:File → Templates → Save As Template<br /> | |||
:Name: Default<br /> | |||
:Category: My Templates<br /> | |||
:Check "Set as default template"<br /> | |||
</p> | |||
</li> | |||
</ul> | |||
<h3><span id="Steam">[[#Steam|Steam]]</span></h3> | |||
<ul> | |||
<li id="hide-big-picture-etc-in-the-system-tray-context-menu" class="tip"> | |||
[[#hide-big-picture-etc-in-the-system-tray-context-menu|Hide “Big Picture”, etc in the System Tray Context Menu]] | |||
<p> | |||
:Steam → Settings → Interface Tab<br /> | |||
:Set Taskbar Preferences → Only Check: Library, Friends, Exit Steam<br /> | |||
</p> | |||
</li> | |||
<li id="cleanup-friends-list" class="tip"> | |||
[[#cleanup-friends-list|Cleanup Friends List]] | |||
<p> | |||
:Steam → Friends → View Friends List<br /> | |||
:Click on the Cog / Settings Icon<br /> | |||
:Ignore 'Away' status when sorting friends: On<br /> | |||
:Compact Favorites Area: On<br /> | |||
:Compact Friends List: On<br /> | |||
:Append nickname to friend's name: On<br /> | |||
:Hide offline friends in custom categories: On<br /> | |||
</p> | |||
</li> | |||
<li id="hide-friend-is-playing-notifications" class="tip"> | |||
[[#hide-friend-is-playing-notifications|Hide “Friend is playing ____” Notifications]] | |||
<p> | |||
:Steam → Friends → View Friends List<br /> | |||
:Click on the Cog / Settings Icon<br /> | |||
:Notifications → Uncheck: When friend joins a game<br /> | |||
:Notifications → Uncheck: When comes online<br /> | |||
</p> | |||
</li> | |||
<li id="never-show-advertisement-popups" class="tip"> | |||
[[#never-show-advertisement-popups|Never Show Advertisement Popups]] | |||
<p> | |||
:Steam → Settings → Interface Tab<br /> | |||
:Uncheck: Notify me about additions to my games and other releases<br /> | |||
</p> | |||
</li> | |||
<li id="startup-in-tray" class="tip"> | |||
[[#startup-in-tray|Startup in Tray]] | |||
<p> | |||
:Find Steam in the App Launcher widget<br /> | |||
:Right Click Steam → Edit Application<br /> | |||
:Application Tab → Command: <code>/usr/bin/steam -silent %U</code><br /> | |||
:If you added Steam to the autostarted apps, you will need to edit the command there as well.<br /> | |||
:Relevant [https://github.com/ValveSoftware/steam-for-linux/issues/5806 bug report].<br /> | |||
</p> | |||
</li> | |||
<li id="close-steam-to-tray" class="tip"> | |||
[[#close-steam-to-tray|Close Steam to Tray]] | |||
<p> | |||
:We need to launch steam using <code>STEAM_FRAME_FORCE_CLOSE=1 steam</code> as mentioned in [https://github.com/ValveSoftware/steam-for-linux/issues/5806 this bug report], but editing every single game shortcut that Steam generates is a hassel. So we'll set a [https://userbase.kde.org/Session_Environment_Variables/en session environment variable] by adding <code>export STEAM_FRAME_FORCE_CLOSE=1</code> to <code>~/.config/plasma-workspace/env/path.sh</code>. It's easier to run this commands:<br /> | |||
<syntaxhighlight lang="bash">echo 'export STEAM_FRAME_FORCE_CLOSE=1' >> ~/.config/plasma-workspace/env/path.sh</syntaxhighlight> | |||
:Then logout and back in so that your "panel" is launched with the session variable so that it can pass it to Steam when Steam is launched from the app launcher or desktop shortcut.<br /> | |||
</p> | |||
</li> | |||
</ul> | |||
<h3><span id="Clementine">[[#Clementine|Clementine]]</span></h3> | |||
<ul> | |||
<li id="clean-up-ui" class="tip"> | |||
[[#clean-up-ui|Clean up UI]] | |||
<p> | |||
:Tools → Preferences<br /> | |||
:Playback Tab → Uncheck: Show a glowing animation on the current track<br /> | |||
:Search Tab → Uncheck: DigitallyImported, DropBox, Google Drive, Jazz<br /> | |||
:Last.fm Tab → Uncheck: Show the “love” amd “ban” buttons<br /> | |||
:Last.fm Tab → Uncheck: Show the scrobble button<br /> | |||
</p> | |||
</li> | |||
<li id="dont-fade-between-songs" class="tip"> | |||
[[#dont-fade-between-songs|Don’t fade between songs]] | |||
<p> | |||
:Playback Tab → Uncheck: Fade out when stopping a track<br /> | |||
:Playback Tab → Uncheck: Cross-fade when changing tracks manually<br /> | |||
</p> | |||
</li> | |||
<li id="double-click-song-should-play-song-now" class="tip"> | |||
[[#double-click-song-should-play-song-now|Double Click song should play song now]] | |||
<p> | |||
:Behaviour → Using the menu to add a song will: Always start playing<br /> | |||
:Behaviour → Double clicking a song will: Replace the playlist + Always start playing<br /> | |||
</p> | |||
</li> | |||
</ul> | |||
<h3><span id="Gtk_Apps_(Gimp/Hexchat/etc)">[[#Gtk_Apps_(Gimp/Hexchat/etc)|Gtk Apps (Gimp/Hexchat/etc)]]</span></h3> | |||
<ul> | |||
<li id="fix-white-text-on-white-background-tooltips" class="tip"> | |||
[[#fix-white-text-on-white-background-tooltips|Fix white text on white background tooltips]] | |||
<p> | |||
:System Settings → Colors<br /> | |||
:Uncheck: Apply colors to non-Qt applications<br /> | |||
</p> | |||
</li> | |||
</ul> | |||
<h3><span id="VirtualBox">[[#VirtualBox|VirtualBox]]</span></h3> | |||
<ul> | |||
<li id="prevent-windows-meta-key-from-opening-the-host-app-menu" class="tip"> | |||
[[#prevent-windows-meta-key-from-opening-the-host-app-menu|Prevent Windows/Meta Key from opening the host App Menu]] | |||
<p> | |||
:Run the Virtual Machine.<br /> | |||
:Press the host key (Right <keycap>Ctrl</keycap>)<br /> | |||
:Press <keycap>Alt+F3</keycap> → More Actions → Special Application Settings<br /> | |||
:Window Matching Tab → Window class: [<code>Exact Match</code>] <code>virtualbox machine</code><br /> | |||
:Appearances & Fixes Tab → Check "Ignore Global Shortcuts"<br /> | |||
:Change "Do Not Affect" to "Force", then select "Yes".<br /> | |||
:<blockquote>Note that this also disables Spectable's screenshot global shortcuts while the VM window is focused.</blockquote> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 338: | Line 568: | ||
[[#overlay-tabs-on-top-of-the-title-bar|Overlay tabs on top of the title bar]] | [[#overlay-tabs-on-top-of-the-title-bar|Overlay tabs on top of the title bar]] | ||
<p> | <p> | ||
:<code>⋮</code> Button | :<code>⋮</code> Button → Settings<br /> | ||
:Appearance | :Appearance → Uncheck: Use system title bar and borders<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 351: | Line 581: | ||
</li> | </li> | ||
<li id="enable-hardware-acceleration" class="tip"> | <li id="enable-hardware-acceleration-in-chrome" class="tip"> | ||
[[#enable-hardware-acceleration|Enable Hardware Acceleration]] | [[#enable-hardware-acceleration-in-chrome|Enable Hardware Acceleration in Chrome]] | ||
<p> | <p> | ||
:If you notice tearing while playing video, check <code>chrome://gpu</code> and see if it says hardware acceleration is unavailable. It's very likely that it's just that chrome doesn't recognize that it can use your GPU.<br /> | :If you notice tearing while playing video, check <code>chrome://gpu</code> and see if it says hardware acceleration is unavailable. It's very likely that it's just that chrome doesn't recognize that it can use your GPU.<br /> | ||
:> [http://www.webupd8.org/2014/01/enable-hardware-acceleration-in-chrome.html | :<blockquote>[http://www.webupd8.org/2014/01/enable-hardware-acceleration-in-chrome.html Original Article]</blockquote> | ||
:Go to <code>chrome://flags#ignore-gpu-blacklist</code>, search for "Override software rendering list", enable it and restart Chrome.<br /> | :Go to <code>chrome://flags#ignore-gpu-blacklist</code>, search for "Override software rendering list", enable it and restart Chrome.<br /> | ||
</p> | </p> | ||
Line 372: | Line 602: | ||
<ul> | <ul> | ||
<li id="use-the-kde-file-selector-dialog" class="tip"> | <li id="use-the-kde-file-selector-dialog" class="tip"> | ||
[[#use-the-kde-file-selector-dialog|Use the KDE File selector dialog]] | [[#use-the-kde-file-selector-dialog|Use the KDE File selector dialog]] | ||
<p> | <p> | ||
:Make sure you have the <code>xdg-desktop-portal-kde</code> package installed.<br /> | :Make sure you have the <code>xdg-desktop-portal</code> and <code>xdg-desktop-portal-kde</code> package installed.<br /> | ||
:Right click the Firefox launcher in the app launcher | :Right click the Firefox launcher in the app launcher → Edit Application<br /> | ||
:Application tab | :Application tab → Command <code>GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u</code><br /> | ||
:Press <code>Ctrl+Esc</code> and search to make sure the <code>xdg-desktop-portal-gtk</code> process is not running. If it is, end all <code>xdg-</code> processes.<br /> | |||
:Restart Firefox<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 388: | Line 621: | ||
:;<b>[https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/ Privacy Badger]</b><br /> | :;<b>[https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/ Privacy Badger]</b><br /> | ||
</p> | |||
</li> | |||
<li id="enable-middle-click-autoscroll" class="tip"> | |||
[[#enable-middle-click-autoscroll|Enable Middle Click AutoScroll]] | |||
<p> | |||
:☰ → Preferences → General<br /> | |||
:Browsing → Check: Use autoscrolling<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 394: | Line 635: | ||
[[#open-new-tab-page-on-startup|Open New Tab page on startup]] | [[#open-new-tab-page-on-startup|Open New Tab page on startup]] | ||
<p> | <p> | ||
: | :☰ → Preferences → Home<br /> | ||
: | :Homepage and new windows: <code>Firefox Home</code><br /> | ||
:OR <code>Custom Url</code> with <code>about:newtab</code><br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 402: | Line 644: | ||
[[#leaner-new-tab-page|Leaner New Tab page]] | [[#leaner-new-tab-page|Leaner New Tab page]] | ||
<p> | <p> | ||
:☰ | :☰ → Preferences → Home<br /> | ||
:Uncheck: "Web Search"<br /> | :Uncheck: "Web Search"<br /> | ||
:Uncheck: "Recommended by Pocket"<br /> | :Uncheck: "Recommended by Pocket"<br /> | ||
:Uncheck: "Highlights"<br /> | :Uncheck: "Highlights"<br /> | ||
:Under "Top Sites" change to "4 rows"<br /> | :Under "Top Sites" change to "4 rows"<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 456: | Line 655: | ||
[[#leaner-toolbar-area|Leaner toolbar area]] | [[#leaner-toolbar-area|Leaner toolbar area]] | ||
<p> | <p> | ||
:☰ | :☰ → Customize<br /> | ||
:Density | :Density → Compact<br /> | ||
:Drag the Home button from the toolbar into the main area.<br /> | :Drag the Home button from the toolbar into the main area.<br /> | ||
:Drag the rectangle spacers to remove them as well.<br /> | :Drag the rectangle spacers to remove them as well.<br /> | ||
:Right click the uBlock Origin icon | :Right click the uBlock Origin icon → "Pin to Overflow Menu"<br /> | ||
:Right click the "Save to Pocket" icon | :Right click the "Save to Pocket" icon → "Remove from Address Bar"<br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 468: | Line 667: | ||
[[#place-close-button-next-to-tabs-don-t-use-kde-s-titlebar|Place close button next to tabs / don't use KDE's titlebar.]] | [[#place-close-button-next-to-tabs-don-t-use-kde-s-titlebar|Place close button next to tabs / don't use KDE's titlebar.]] | ||
<p> | <p> | ||
:☰ | :☰ → Customize<br /> | ||
:Uncheck: "Title Bar"<br /> | :Uncheck: "Title Bar"<br /> | ||
</p> | </p> | ||
Line 478: | Line 677: | ||
:Go to <code>about:config</code><br /> | :Go to <code>about:config</code><br /> | ||
:Search for <code>extensions.pocket.enabled</code> and set it to <code>false</code><br /> | :Search for <code>extensions.pocket.enabled</code> and set it to <code>false</code><br /> | ||
</p> | |||
</li> | |||
<li id="enable-hardware-acceleration-in-firefox" class="tip"> | |||
[[#enable-hardware-acceleration-in-firefox|Enable Hardware Acceleration in Firefox]] | |||
<p> | |||
:If you notice tearing while playing video, check <code>about:support</code> and <keycap>Ctrl+F</keycap> to search for <code>HW_COMPOSITING</code>. If it says "blocked by env: Acceleration blocked by platform" then it is not using Hardware Acceleration by default.<br /> | |||
:We need to go to <code>about:config</code> then set <code>layers.acceleration.force-enabled</code> to <code>true</code>.<br /> | |||
:Restart firefox, and it should now say "force_enabled by user: Force-enabled by pref" under <code>HW_COMPOSITING</code> in <code>about:support</code>.<br /> | |||
:-----<br /> | |||
:Firefox is also [https://wiki.mozilla.org/Platform/GFX/WebRender_Where#Linux working on WebRender], which is "[https://mozillagfx.wordpress.com/2020/04/30/moz-gfx-newsletter-52/ a GPU based 2D rendering engine for the web written in Rust]". You can try enabling it by going to <code>about:config</code> and setting <code>gfx.webrender.all</code> to <code>true</code>. Restart firefox, then go to <code>about:support</code> and <keycap>Ctrl+F</keycap> for <code>WEBRENDER</code> to make sure it's enabled.<br /> | |||
</p> | </p> | ||
</li> | </li> | ||
Line 489: | Line 701: | ||
</li> | </li> | ||
<li id="disable- | <li id="disable-keycap-ctrl-tab-keycap-s-recently-used-order" class="tip"> | ||
[[#disable- | [[#disable-keycap-ctrl-tab-keycap-s-recently-used-order|Disable <keycap>Ctrl+Tab</keycap>'s recently used order]] | ||
<p> | <p> | ||
:Go to <code>about:config</code><br /> | :Go to <code>about:config</code><br /> | ||
Line 501: | Line 713: | ||
<p> | <p> | ||
:Install Mozilla's [https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ Multi-Account Containers extension]<br /> | :Install Mozilla's [https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ Multi-Account Containers extension]<br /> | ||
:Right click the extension's icon in the toolbar | :Right click the extension's icon in the toolbar → Pin it to the overflow menu.<br /> | ||
:You can easily open a new tab in a specific container by clicking and holding the "Open a new tab" button.<br /> | :You can easily open a new tab in a specific container by clicking and holding the "Open a new tab" button.<br /> | ||
</p> | </p> | ||
Line 516: | Line 728: | ||
:Note: Uppercase <code>%S</code> will not escape slashes so <code>r kde/new</code> works.<br /> | :Note: Uppercase <code>%S</code> will not escape slashes so <code>r kde/new</code> works.<br /> | ||
:Note: Use lowercase <code>%s</code> in searches like <code>https://duckduckgo.com/?q=%s</code><br /> | :Note: Use lowercase <code>%s</code> in searches like <code>https://duckduckgo.com/?q=%s</code><br /> | ||
</p> | </p> | ||
</li> | </li> | ||
Line 555: | Line 739: | ||
</p> | </p> | ||
</li> | </li> | ||
</ul> | </ul> | ||
<h3><span id=" | <h3><span id="Firefox_(userChrome.css)">[[#Firefox_(userChrome.css)|Firefox (<code>userChrome.css</code>)]]</span></h3> | ||
A firefox user can change the look of the browser by editing a css file. | |||
Checkout [https://www.reddit.com/r/FirefoxCSS/ /r/FirefoxCSS/] for help. | |||
: | |||
< | <ol> | ||
<li>In FireFox v69 and later, we need to go to <code>about:config</code> and change <code>toolkit.legacyUserProfileCustomizations.stylesheets</code> to <code>true</code>.</li> | |||
<li>Then navigate to <code>~/.mozilla/firefox/</code>, inside will be a randomly generated folder similar to <code>abcdef12.default</code> which you should enter.</li> | |||
<li>Inside the "default" folder, create a new folder called <code>chrome</code>, then create a file called <code>userChrome.css</code>.</li> | |||
<li>You can now edit <code>~/.mozilla/firefox/abcdef12.default/chrome/userChrome.css</code>, and changes will be applied upon restarting Firefox.</li> | |||
</ol> | |||
<ul> | <ul> | ||
<li id=" | <li id="show-bookmarks-toolbar-only-on-hover" class="tip"> | ||
[[# | [[#show-bookmarks-toolbar-only-on-hover|Show bookmarks toolbar only on hover]] | ||
<p> | <p> | ||
: | :☰ → Customize<br /> | ||
: | :Toolbars → Check: Bookmarks Toolbar<br /> | ||
: | :Then paste the following CSS into <code>userChrome.css</code> ([[#Firefox_.28userChrome.css.29|instructions]]) and restart firefox.<br /> | ||
: | <syntaxhighlight lang="css"> | ||
#PersonalToolbar { | |||
visibility: collapse !important; | |||
display: block; | |||
position: absolute !important; | |||
z-index: 1; | |||
width: 100%; | |||
box-shadow: 0 6px 6px -6px #000; | |||
} | |||
#nav-bar:focus-within + #PersonalToolbar, | |||
#PersonalToolbar:focus-within, | |||
#PersonalToolbar[customizing="true"], | |||
#navigator-toolbox:hover #PersonalToolbar { | |||
visibility: visible !important; | |||
} | |||
</syntaxhighlight> | |||
</p> | </p> | ||
</li> | </li> | ||
<li id=" | <li id="remove-left-tabbar-padding-when-not-maximized" class="tip"> | ||
[[# | [[#remove-left-tabbar-padding-when-not-maximized|Remove left tabbar padding when not maximized]] | ||
<p> | <p> | ||
: | :Then paste the following CSS into <code>userChrome.css</code> ([[#Firefox_.28userChrome.css.29|instructions]]) and restart firefox.<br /> | ||
: | <syntaxhighlight lang="css"> | ||
.titlebar-placeholder[type="pre-tabs"] { display: none; } /* Firefox 64 */ | |||
.titlebar-spacer[type="pre-tabs"] { width: 0 !important; } /* Firefox 65+ */ | |||
</syntaxhighlight> | |||
</p> | </p> | ||
</li> | </li> | ||
<li id="cleanup-right-click-menu-aka-contextmenu" class="tip"> | |||
[[#cleanup-right-click-menu-aka-contextmenu|Cleanup right click menu (aka contextmenu)]] | |||
<li id=" | |||
[[# | |||
<p> | <p> | ||
: | :Click on µBlock → Click Settings Icon to open the dashboard<br /> | ||
: | :Uncheck: Make use of context menu where appropriate<br /> | ||
:To hide Firefox's default menu items, this [https://support.mozilla.org/en-US/questions/1177488 mozilla forum thread] mentions we need to edit <code>userChrome.css</code>. So paste the following CSS into <code>userChrome.css</code> ([[#Firefox_.28userChrome.css.29|instructions]]) and restart firefox.<br /> | |||
: | <syntaxhighlight lang="css"> | ||
: | #contentAreaContextMenu #context-openlinkincurrent, | ||
#contentAreaContextMenu #context-openlinkinusercontext-menu, | |||
#contentAreaContextMenu #context-bookmarklink, | |||
#contentAreaContextMenu #context-selectall, | |||
#contentAreaContextMenu #context-sendlinktodevice, | |||
#contentAreaContextMenu #context-sendpagetodevice, | |||
#contentAreaContextMenu #context-sep-sendlinktodevice, | |||
#contentAreaContextMenu #context-sep-sendpagetodevice, | |||
#contentAreaContextMenu #context-viewpartialsource-selection { | |||
display: none !important; | |||
} | |||
</syntaxhighlight> | |||
:If you're not a web developer, you can hide "Take a screenshot" by going to <code>about:config</code><br /> | |||
:Search for <code>extensions.screenshots.disabled</code> and set it to <code>true</code><br /> | |||
</p> | </p> | ||
</li> | </li> | ||
</ul> | </ul> | ||
----- | ----- | ||
Note that this list is manually kept in sync with https://zren.github.io/kde/#configuration using | Note that this list is manually kept in sync with https://zren.github.io/kde/#configuration using [https://github.com/Zren/zren.github.io/tree/master/kde_tips this script]. — [https://phabricator.kde.org/p/Zren/ Zren] |
Latest revision as of 10:08, 8 January 2021
This page aims to list common tweaks a user might make to setup a nice KDE Plasma5 desktop.
Autostarted Apps
-
Disable restoring session on Login (restarting apps open during Logout)
- System Settings → Startup & Shutdown
- Desktop Session Tab → On Login: Check Start with an empty session
- System Settings → Startup & Shutdown
Desktop
-
Always Hide System Tray Notification Icons
- Right Click the “Expand System Tray Triangle” → System Tray Settings.
- Entries Tab → Networks → Visibility: Hidden
- Right Click the “Expand System Tray Triangle” → System Tray Settings.
-
Disable Icon in System Tray
- Right Click the “Expand System Tray Triangle” → System Tray Settings.
- General Tab → Extra Items → Uncheck: Clipboard, Battery
- Right Click the “Expand System Tray Triangle” → System Tray Settings.
-
Don’t sort windows in Taskbar
- Right Click the empty area on the taskbar next to the tasks → Task Manager Settings
- General Tab → Sorting: Manual
- General Tab → Uncheck: Keep Launchers Separate
- Right Click the empty area on the taskbar next to the tasks → Task Manager Settings
-
Hide windows from other Desktops in Taskbar
- Right Click a Task → Task Manager Settings
- General Tab → Filters → Check: Current Desktop
- Right Click a Task → Task Manager Settings
-
Pin Apps to Taskbar
- Launch App
- Right Click app in Taskbar → Check: Show Launcher When Not Running
- Launch App
-
Hide audio indicator in window list
- Right Click a Task → Task Manager Settings
- General Tab → Uncheck: Mark applications that play audio
- Right Click a Task → Task Manager Settings
-
Disable Middle-Click Paste Notes Widget
- Right Click Desktop Wallpaper → Configure Desktop
- Mouse Actions Tab → Press the Delete icon next to the Middle-Button row.
- Right Click Desktop Wallpaper → Configure Desktop
-
Lock Widgets
- Plasma 5.18 and above has hidden the "lock widgets" toggle. It's very easy to enter "edit mode" with a long press. If you want to get the old locked mode behavior, run the following command:
qdbus org.kde.plasmashell /PlasmaShell evaluateScript 'lockCorona(!locked)'
- If you want an easier way to toggle locking widgets in Plasma 5.18, install Win7ShowDesktop widget which has a "Lock Widgets" toggle in it's right click menu.
- Plasma 5.18 and above has hidden the "lock widgets" toggle. It's very easy to enter "edit mode" with a long press. If you want to get the old locked mode behavior, run the following command:
-
Disable Top Left “Hot Corner”
- System Settings → Desktop Behaviour
- Screen Edges Tab → Top Left: No Action
- System Settings → Desktop Behaviour
-
Bind Ctrl+Alt+Left/Right to Switch Desktop
- System Settings → Desktop Behaviour
- Virtual Desktops Tab → Switching → Shortcuts
- Switch One Desktop Left: Ctrl+Alt+Left
- Switch One Desktop Right: Ctrl+Alt+Right
- Switch To Desktop 1, 2, …: None
- System Settings → Desktop Behaviour
-
Disable Switch Desktop when scrolling over desktop wallpaper
- Right Click the desktop wallpaper → Desktop/Folder View Settings
- Mouse Actions Tab → Remove: Vertical Scroll → Switch Desktop
- Right Click the desktop wallpaper → Desktop/Folder View Settings
-
Disable bouncing cursor when apps open
- System Settings → Applications
- Change "Bouncing" Cursor to "No Feedback"
- System Settings → Applications
-
Disable focus stealing prevention
- System Settings → Window Management
- Window Behaviour Tab → Focus Stealing Prevention: None
- System Settings → Window Management
-
Fix Alt+Click in certain games/software
- Note: Plasma 5.20 has changed the default to Meta+Click+Drag, but these instructions are the same for changing back to Alt+Click+Drag.
- Alt+Click+Drag was a standard keybinding for moving a window in Linux. It tends to conflict with software designed for Windows like Games, Inkscape and Blender. To fix, we'll change it to Meta+Click+Drag.
- System Settings → Window Management
- Window Actions Tab → Inner Window, Titlebar, Frame → Modifier Key: Meta
- OR set Left button: "Nothing" to disable it completely.
- Note: Plasma 5.20 has changed the default to Meta+Click+Drag, but these instructions are the same for changing back to Alt+Click+Drag.
-
“Normal” Alt+Tab popup
- System Settings → Window Management
- Task Switcher Tab → Click the "star icon"
- Install "Thumbnail Grid", then close the installer window.
- Select "Thumbnail Grid" in the dropdown.
- System Settings → Window Management
-
Show Alt+Tab popup as fast as possible
- Normally it will wait 90 milliseconds before trying to show the popup. This makes quick switches faster since it doesn't need to draw anything.
- We need to set
DelayTime=0
under the group[TabBox]
in the file~/.config/kwinrc
, then reload kwin. - It's easier to use these commmands than doing it by hand.
kwriteconfig5 --file ~/.config/kwinrc --group TabBox --key DelayTime 0 qdbus org.kde.KWin /KWin reconfigure
- You can also disable the highlight window effect by going to:
- System Settings → Window Management → Task Switcher Tab
- Uncheck: Show selected window
- Normally it will wait 90 milliseconds before trying to show the popup. This makes quick switches faster since it doesn't need to draw anything.
-
Disable Lock Screen
- System Settings → Desktop Behaviour → Screen Locking Tab
- Uncheck: Lock screen automatically after __ min
- Uncheck: Lock screen on resume
- System Settings → Desktop Behaviour → Screen Locking Tab
-
Disable Logout/Shutdown Confirmation
- System Settings → Startup and Shutdown
- Desktop Session Tab → Uncheck: Confirm Logout
- System Settings → Startup and Shutdown
-
Windows Keybindings for moving windows
- System Settings → Shortcuts → Global Keyboard Shortcuts Tab
- KWin → Show Desktop: Win+M
- KWin → Maximize Window: Win+Up
- KWin → Minimize Window: Win+Down
- KWin → Quick Tile Window to the Left: Win+Left
- KWin → Quick Tile Window to the Right: Win+Right
- To open the “Start Menu” with the Windows key see the section below.
- System Settings → Shortcuts → Global Keyboard Shortcuts Tab
-
Present all windows with Win+Tab
- System Settings → Desktop Behavior
- Desktop Effects Tab → Check Present Windows
- Click the Gear Icon → Change the Ctrl+F10 shortcut to Meta+Tab
- Layout mode: "Natural" → "Flexible Grid"
- System Settings → Desktop Behavior
-
Change titlebar height
- System Settings → Fonts
- Window title → Edit Font Size
- System Settings → Fonts
-
Hide titlebars when maximized (like Ubuntu)
- We need to set
BorderlessMaximizedWindows=true
under the group[Windows]
in the file~/.config/kwinrc
, then reload kwin. - It's easier to use these commmands than doing it by hand.
kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows true qdbus org.kde.KWin /KWin reconfigure
- We need to set
-
Launch app with discrete GPU
- Also known as using
prime-run
(PRIME wiki) or using theDRI_PRIME=1
environment variable. - Open Application Launcher → Right Click app
- Application Tab → Advanced Options
- Discrete GPU → Check: Run using dedicated graphics card
- Also known as using
Windows/Meta Key
-
Open KRunner with Windows/Meta key
- We need to set
Meta=
under the group[ModifierOnlyShortcuts]
in the file~/.config/kwinrc
, then reload kwin. - It's easier to use these commmands than doing it by hand.
- Plasma 5.18 and above:
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch" qdbus org.kde.KWin /KWin reconfigure
- Plasma 5.17 and below:
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner,org.kde.kglobalaccel.Component,invokeShortcut,run command" qdbus org.kde.KWin /KWin reconfigure
- We need to set
Login Screen (SDDM) / Lock Screen
-
Change Login Screen Wallpaper
- System Settings → Startup and Shutdown
- Login Screen (SDDM) Tab → Background → Load From File
- We should also change the lock screen.
- System Settings → Desktop Bahviour
- Screen Locking Tab → Wallpaper → Wallpaper Type: Image
- System Settings → Startup and Shutdown
Dolphin (File Manager)
-
Double Click to open files
- Plasma 5.13
- System Settings → Desktop Behavior → Workspace
- Click Behavior: Double Click to open files and folders
- Plasma 5.13
- <= Plasma 5.12
- System Settings → Input Devices
- Mouse Tab → Icons: Double Click to open files and folders
- <= Plasma 5.12
-
Browse (.zip / .tar.gz / .rar) with Dolphin
- ☰ Control → Configure Dolphin
- Navigation Tab → Check: Open archives as folder
- ☰ Control → Configure Dolphin
-
Show Terminal Panel
- ☰ Control → Panels → Terminal (F4)
- ☰ Control → Panels → Terminal (F4)
-
Paste into Terminal Panel
- ☰ Control → Configure Shortcuts
- Paste → Set Alternative (Defaulted to Shift+Insert) as “None”
- ☰ Control → Configure Shortcuts
-
Disable File Indexing (Baloo)
- Some user may want to disable the indexing when:
- For some users, the
baloo_file
process can slow down the system.
- For some users, the
- The
~/.local/share/baloo/index
can use over a Gigabyte of space. - Run
balooctl indexSize
to break the database usage down.
- The
- System Settings → Search
- Uncheck: Enable File Search
- Some user may want to disable the indexing when:
LibreOffice Writer
-
Save as .docx by default
- Tools → Options
- Load/Save → General
- Always save as: "Word 2007-2019 (*.docx)"
- Tools → Options
LibreOffice Calc
-
Set Default Font Size/Family/CellPadding
- Styles → Manage Styles
- Right click Default → Modify
- Font → Family: Noto Sans (Office uses Carlito/Calibri)
- Font → Size: 12 (Office uses 11)
- Borders → Padding: 1.00mm
- Ok
- File → Templates → Save As Template
- Name: Default
- Category: My Templates
- Check "Set as default template"
- Styles → Manage Styles
Steam
-
Cleanup Friends List
- Steam → Friends → View Friends List
- Click on the Cog / Settings Icon
- Ignore 'Away' status when sorting friends: On
- Compact Favorites Area: On
- Compact Friends List: On
- Append nickname to friend's name: On
- Hide offline friends in custom categories: On
- Steam → Friends → View Friends List
-
Hide “Friend is playing ____” Notifications
- Steam → Friends → View Friends List
- Click on the Cog / Settings Icon
- Notifications → Uncheck: When friend joins a game
- Notifications → Uncheck: When comes online
- Steam → Friends → View Friends List
-
Never Show Advertisement Popups
- Steam → Settings → Interface Tab
- Uncheck: Notify me about additions to my games and other releases
- Steam → Settings → Interface Tab
-
Startup in Tray
- Find Steam in the App Launcher widget
- Right Click Steam → Edit Application
- Application Tab → Command:
/usr/bin/steam -silent %U
- If you added Steam to the autostarted apps, you will need to edit the command there as well.
- Relevant bug report.
- Find Steam in the App Launcher widget
-
Close Steam to Tray
- We need to launch steam using
STEAM_FRAME_FORCE_CLOSE=1 steam
as mentioned in this bug report, but editing every single game shortcut that Steam generates is a hassel. So we'll set a session environment variable by addingexport STEAM_FRAME_FORCE_CLOSE=1
to~/.config/plasma-workspace/env/path.sh
. It's easier to run this commands:
echo 'export STEAM_FRAME_FORCE_CLOSE=1' >> ~/.config/plasma-workspace/env/path.sh
- Then logout and back in so that your "panel" is launched with the session variable so that it can pass it to Steam when Steam is launched from the app launcher or desktop shortcut.
- We need to launch steam using
Clementine
-
Clean up UI
- Tools → Preferences
- Playback Tab → Uncheck: Show a glowing animation on the current track
- Search Tab → Uncheck: DigitallyImported, DropBox, Google Drive, Jazz
- Last.fm Tab → Uncheck: Show the “love” amd “ban” buttons
- Last.fm Tab → Uncheck: Show the scrobble button
- Tools → Preferences
-
Don’t fade between songs
- Playback Tab → Uncheck: Fade out when stopping a track
- Playback Tab → Uncheck: Cross-fade when changing tracks manually
- Playback Tab → Uncheck: Fade out when stopping a track
-
Double Click song should play song now
- Behaviour → Using the menu to add a song will: Always start playing
- Behaviour → Double clicking a song will: Replace the playlist + Always start playing
- Behaviour → Using the menu to add a song will: Always start playing
Gtk Apps (Gimp/Hexchat/etc)
-
Fix white text on white background tooltips
- System Settings → Colors
- Uncheck: Apply colors to non-Qt applications
- System Settings → Colors
VirtualBox
Chrome
-
Overlay tabs on top of the title bar
⋮
Button → Settings- Appearance → Uncheck: Use system title bar and borders
-
Match Titlebar with Desktop Theme
- Breeze
- Breeze Dark: Chrome Theme
- Breeze
-
Enable Hardware Acceleration in Chrome
- If you notice tearing while playing video, check
chrome://gpu
and see if it says hardware acceleration is unavailable. It's very likely that it's just that chrome doesn't recognize that it can use your GPU. - Go to
chrome://flags#ignore-gpu-blacklist
, search for "Override software rendering list", enable it and restart Chrome.
- If you notice tearing while playing video, check
-
Don't use native Linux notifications
- Since Chrome v64, Chrome now uses native notifications. If you prefer Chrome's however, you can still use them.
- Go to
chrome://flags#enable-native-notifications
, search for "Enable native notifications", disable it and restart Chrome.
- Since Chrome v64, Chrome now uses native notifications. If you prefer Chrome's however, you can still use them.
Firefox
-
Use the KDE File selector dialog
- Make sure you have the
xdg-desktop-portal
andxdg-desktop-portal-kde
package installed. - Right click the Firefox launcher in the app launcher → Edit Application
- Application tab → Command
GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u
- Press
Ctrl+Esc
and search to make sure thexdg-desktop-portal-gtk
process is not running. If it is, end allxdg-
processes. - Restart Firefox
- Make sure you have the
-
Install privacy addons
-
Enable Middle Click AutoScroll
- ☰ → Preferences → General
- Browsing → Check: Use autoscrolling
- ☰ → Preferences → General
-
Open New Tab page on startup
- ☰ → Preferences → Home
- Homepage and new windows:
Firefox Home
- OR
Custom Url
withabout:newtab
- ☰ → Preferences → Home
-
Leaner New Tab page
- ☰ → Preferences → Home
- Uncheck: "Web Search"
- Uncheck: "Recommended by Pocket"
- Uncheck: "Highlights"
- Under "Top Sites" change to "4 rows"
- ☰ → Preferences → Home
-
Leaner toolbar area
- ☰ → Customize
- Density → Compact
- Drag the Home button from the toolbar into the main area.
- Drag the rectangle spacers to remove them as well.
- Right click the uBlock Origin icon → "Pin to Overflow Menu"
- Right click the "Save to Pocket" icon → "Remove from Address Bar"
- ☰ → Customize
-
Disable Pocket
- Go to
about:config
- Search for
extensions.pocket.enabled
and set it tofalse
- Go to
-
Enable Hardware Acceleration in Firefox
- If you notice tearing while playing video, check
about:support
and Ctrl+F to search forHW_COMPOSITING
. If it says "blocked by env: Acceleration blocked by platform" then it is not using Hardware Acceleration by default. - We need to go to
about:config
then setlayers.acceleration.force-enabled
totrue
. - Restart firefox, and it should now say "force_enabled by user: Force-enabled by pref" under
HW_COMPOSITING
inabout:support
.
- -----
- Firefox is also working on WebRender, which is "a GPU based 2D rendering engine for the web written in Rust". You can try enabling it by going to
about:config
and settinggfx.webrender.all
totrue
. Restart firefox, then go toabout:support
and Ctrl+F forWEBRENDER
to make sure it's enabled.
- If you notice tearing while playing video, check
-
Disable Ctrl+Tab's recently used order
- Go to
about:config
- Search for
browser.ctrlTab.recentlyUsedOrder
and set it tofalse
- Go to
-
Browse a website as 2nd User without logging out
- Install Mozilla's Multi-Account Containers extension
- Right click the extension's icon in the toolbar → Pin it to the overflow menu.
- You can easily open a new tab in a specific container by clicking and holding the "Open a new tab" button.
- Install Mozilla's Multi-Account Containers extension
-
Quickly browse subreddits using custom search engines
- Create a new Bookmark with:
- Name:
/r/
- URL:
https://www.reddit.com/r/%S
- Keyword:
r
- Now you can type
r kde
to visit /r/kde - Note: Uppercase
%S
will not escape slashes sor kde/new
works. - Note: Use lowercase
%s
in searches likehttps://duckduckgo.com/?q=%s
- Create a new Bookmark with:
-
First click UrlBar selects all + double click selects word
- Go to
about:config
- Search for
browser.urlbar.clickSelectsAll
and set it totrue
- Search for
browser.urlbar.doubleClickSelectsAll
and set it tofalse
- Go to
Firefox (userChrome.css
)
A firefox user can change the look of the browser by editing a css file. Checkout /r/FirefoxCSS/ for help.
- In FireFox v69 and later, we need to go to
about:config
and changetoolkit.legacyUserProfileCustomizations.stylesheets
totrue
. - Then navigate to
~/.mozilla/firefox/
, inside will be a randomly generated folder similar toabcdef12.default
which you should enter. - Inside the "default" folder, create a new folder called
chrome
, then create a file calleduserChrome.css
. - You can now edit
~/.mozilla/firefox/abcdef12.default/chrome/userChrome.css
, and changes will be applied upon restarting Firefox.
-
Show bookmarks toolbar only on hover
- ☰ → Customize
- Toolbars → Check: Bookmarks Toolbar
- Then paste the following CSS into
userChrome.css
(instructions) and restart firefox.
#PersonalToolbar { visibility: collapse !important; display: block; position: absolute !important; z-index: 1; width: 100%; box-shadow: 0 6px 6px -6px #000; } #nav-bar:focus-within + #PersonalToolbar, #PersonalToolbar:focus-within, #PersonalToolbar[customizing="true"], #navigator-toolbox:hover #PersonalToolbar { visibility: visible !important; }
- ☰ → Customize
-
Remove left tabbar padding when not maximized
- Then paste the following CSS into
userChrome.css
(instructions) and restart firefox.
.titlebar-placeholder[type="pre-tabs"] { display: none; } /* Firefox 64 */ .titlebar-spacer[type="pre-tabs"] { width: 0 !important; } /* Firefox 65+ */
- Then paste the following CSS into
Note that this list is manually kept in sync with https://zren.github.io/kde/#configuration using this script. — Zren