Plasma/Tips

Jump to: navigation, search

This page aims to list common tweaks a user might make to setup a nice KDE Plasma5 desktop.


Autostarted Apps

Desktop

Windows/Meta Key

  • Open “Start Menu” with Windows/Meta key

    Feature has been added by default since Plasma 5.8.
    If it's not working, make sure your "Start Menu" widget has a global shortcut like Alt+F1 set (you can't assign it directly to Meta, but it will open with Meta if another shortcut is assigned).
    Right Click the KDE Icon > Application Menu Settings
    Keyboard Shortcuts Tab > Shortcut: Alt+F1
    Latte Dock
    If you're using Latte Dock, you will need to run the following commands mentioned in it's Wiki.
    kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
    qdbus org.kde.KWin /KWin reconfigure
    
    If you wish to revert what the Meta key opens because you changed it to open KRunner or a Latte Dock widget, run the following:
    kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu"
    qdbus org.kde.KWin /KWin reconfigure
    

  • Do not open the "Start Menu" 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.
    kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta ""
    qdbus org.kde.KWin /KWin reconfigure
    

  • 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.
    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
    

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

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.12
    System Settings > Input Devices
    Mouse Tab > Icons: Double Click to open files and folders

  • Always Show Hidden Files

    ☰ Control > Adjust View Properties
    Check: Show hidden files
    Apply view properties to: All Folders
    Check: Use these view properties as default

  • Browse (.zip / .tar.gz / .rar) with Dolphin

    ☰ Control > Configure Dolphin
    Navigation Tab > Check: Open archives as folder

  • Clean up Context Menu (Right Click Menu)

    ☰ Control > Configure Dolphin
    Services Tab > Uncheck: “Copy To”, “Delete”, “File to activity”, “Send as Email”, “Send to IM”, “Send via Bluetooth”, “Send via KDE Connect”

  • Show Terminal Panel

    ☰ Control > Panels > Terminal (F4)

  • Paste into Terminal Panel

    ☰ Control > Configure Shortcuts
    Paste > Set Alternative (Defaulted to Shift+Insert) as “None”

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

  • Enable Hardware Acceleration

    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.
    > Origional Article
    Go to chrome://flags#ignore-gpu-blacklist, search for "Override software rendering list", enable it and restart Chrome.

  • 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.

Firefox

  • Use the KDE File selector dialog

    Make sure you have the xdg-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

  • Install privacy addons

    uBlock Origin
    Privacy Badger

  • Open New Tab page on startup

    Type about:newtab into the addressbar, do not press enter.
    Select about:newtab and drag it onto the Home button.

  • Leaner New Tab page

    ☰ > Preferences > Home
    Uncheck: "Web Search"
    Uncheck: "Recommended by Pocket"
    Uncheck: "Highlights"
    Under "Top Sites" change to "4 rows"

  • Show bookmarks toolbar only on New Tab page

    ☰ > Customize
    Toolbars > Check: Bookmarks Toolbar
    Go to ~/.mozilla/firefox/ then open ab1c2d.default or whatever the folder name is.
    Create chrome/userChrome.css if it does not exist.
    Then paste the following CSS into userChrome.css.
    Restart firefox

  • Remove 3px padding above tabs with Compact density

    Manjaro's Breath GTK theme has close buttons that are 32px tall, while "Compact" is a 29px tall area. So we need to crop 3px.
    Go to ~/.mozilla/firefox/ then open ab1c2d.default or whatever the folder name is.
    Create chrome/userChrome.css if it does not exist.
    Then paste the following CSS into userChrome.css.
    Restart firefox
    #titlebar-buttonbox {
      margin-top: -3px;
    }
    

  • Remove left tabbar padding when not maximized

    Go to ~/.mozilla/firefox/ then open ab1c2d.default or whatever the folder name is.
    Create chrome/userChrome.css if it does not exist.
    Then paste the following CSS into userChrome.css.
    Restart firefox
    .titlebar-placeholder[type="pre-tabs"] {
      display: none;
    }
    

  • 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"

  • Place close button next to tabs / don't use KDE's titlebar.

    ☰ > Customize
    Uncheck: "Title Bar"

  • Disable Pocket

    Go to about:config
    Search for extensions.pocket.enabled and set it to false

  • Disable Ctrl+Tab's recently used order

    Go to about:config
    Search for browser.ctrlTab.recentlyUsedOrder and set it to false

  • 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.

  • 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 so r kde/new works.
    Note: Use lowercase %s in searches like https://duckduckgo.com/?q=%s

  • Cleanup right click menu (aka contextmenu)

    Click on µBlock > Click Settings Icon to open the dashboard
    Uncheck: Make use of context menu where appropriate
    To hide the Firefox default menu items we need to edit the userChrome.css as mentioned here.
    Go to ~/.mozilla/firefox/ then open ab1c2d.default or whatever the folder name is.
    Create chrome/userChrome.css if it does not exist.
    Then paste the following CSS into userChrome.css.
    Restart firefox
    #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;
    }
    
    If you're not a web developer, you can hide "Take a screenshot" by going to about:config
    Search for extensions.screenshots.disabled and set it to true

  • First click UrlBar selects all + double click selects word

    Go to about:config
    Search for browser.urlbar.clickSelectsAll and set it to true
    Search for browser.urlbar.doubleClickSelectsAll and set it to false

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"

Steam

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

  • Don’t fade between songs

    Playback Tab > Uncheck: Fade out when stopping a track
    Playback Tab > Uncheck: Cross-fade when changing tracks manually

  • 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

Gtk Apps (Gimp/Hexchat/etc)


Note that this list is manually kept in sync with https://zren.github.io/kde/#configuration using this script. — Zren


This page was last modified on 7 February 2019, at 22:51. Content is available under Creative Commons License SA 4.0 unless otherwise noted.
*/ ?>