User:Zren: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 1: Line 1:
<h2><span id="Configuration" class="header-link">[[#Configuration|¶]]</span>Configuration</h2>
This page aims to setup a nice KDE Plasma5 desktop for someone who's coming from Windows.


<h3><span id="Autostarted_Apps" class="header-link">[[#Autostarted_Apps|]]</span>Autostarted Apps</h3>
<h2><span id="KDE_Neon:_Missing_Software_/_Fixes" class="header-link">[[#KDE_Neon:_Missing_Software_/_Fixes|KDE Neon: Missing Software / Fixes]]</span></h2>


;<span id="cfg-1" class="header-link">[[#cfg-1|]]</span><b>Disable restoring session on Login (restarting apps open during Logout)</b>
There are a few things missing from User Edition of KDE Neon for regular usage.
 
<syntaxhighlight lang="bash">
sudo apt install -y kdeplasma-addons # "Big Icons" Alt+Tab
sudo apt install -y libnotify-bin # notify-send (Dota 2 Notifications)
sudo apt install -y p7zip-full p7zip-rar # (.7z)
sudo apt install -y qapt-deb-installer # (.deb) GUI Installer
sudo apt install -y software-properties-common # add-apt-repository
sudo apt install -y unrar # (.rar)
</syntaxhighlight>
 
<h2><span id="Useful_Software" class="header-link">[[#Useful_Software|Useful Software]]</span></h2>
 
<syntaxhighlight lang="bash">
sudo apt install -y clementine # Music Player (.mp3 SoundCloud)
sudo apt install -y comix # Image Viewer (.cbr .zip .rar)
sudo apt install -y gimp # Image Editor (.jpg .png)
sudo apt install -y htop # Command Line Task Manager
sudo apt install -y inkscape # Vector Image Editor (.svg)
sudo apt install -y scrot # Command Line Screen Capture
sudo apt install -y xbindkey # Remap Mouse Buttons / Keys
sudo apt install -y xdotool # Command Line Trigger Mouse/Keys
sudo apt install -y vlc # Video Player (.mp4 .mkv)
 
## Chrome
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
# Set Chrome as the default browser for hexchat (TODO: xdg-mime)
gvfs-mime --set x-scheme-handler/http google-chrome.desktop
gvfs-mime --set x-scheme-handler/https google-chrome.desktop
 
## Calibre
# https://calibre-ebook.com/download_linux (Isolated install)
# Installs to ~/calibre-bin/
wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('~/calibre-bin', True)"
 
## Redshift (Redden the Screen / f.lux Alternative)
sudo apt install -y redshift
# Unlock Widgets > Right Click ☰ > Add Widgets
# Get New Widgets > Download New Widgets > Redshift Control
# System Tray Settings > General Tab > Enable Redshift
</syntaxhighlight>
 
<h3><span id="Windows_Software_Emulation" class="header-link">[[#Windows_Software_Emulation|Windows Software Emulation]]</span></h3>
 
<syntaxhighlight lang="bash">
sudo apt install -y virtualbox-qt # Virtual Machine
</syntaxhighlight>
 
<h3><span id="Developer_Software" class="header-link">[[#Developer_Software|Developer Software]]</span></h3>
 
<syntaxhighlight lang="bash">
sudo apt install -y cmake
sudo apt install -y curl
sudo apt install -y pgadmin3 # DB Editor (PostgreSQL)
sudo apt install -y postgresql postgresql-contrib
sudo apt install -y python-pip python3-pip
sudo apt install -y sqliteman # DB Editor (.sqlite)
 
## Android Studio
# Via ubuntu-make: http://askubuntu.com/a/677805/513249
# "umake android" is broken in 16.04
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt update
sudo apt install ubuntu-make
umake android # Prompts InstallDirectory + License
sudo apt install openjdk-8-jre
# Run with:
# JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ ~/.local/share/umake/android/android-studio/bin/studio.sh
 
## Git
sudo apt install -y git
git config --global push.default matching
 
## Heroku
# https://toolbelt.heroku.com/debian
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
heroku login # Prompts for Credentials
 
## NodeJS
# https://nodejs.org/en/download/package-manager/
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt install -y nodejs
sudo apt install -y build-essential
 
## Sublime Text
# http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt update
sudo apt install -y sublime-text-installer
# To install Package Control: https://packagecontrol.io/installation
</syntaxhighlight>
 
<h3><span id="Gaming_Software" class="header-link">[[#Gaming_Software|Gaming Software]]</span></h3>
 
<syntaxhighlight lang="bash">
sudo apt install -y steam # Prompts with License Agreement
sudo apt install -y playonlinux
</syntaxhighlight>
 
<h3><span id="LibreOffice_(Microsoft_Office/Word_Substitute)" class="header-link">[[#LibreOffice_(Microsoft_Office/Word_Substitute)|LibreOffice (Microsoft Office/Word Substitute)]]</span></h3>
 
(Optional) If you want a more up to date version of libreoffice (v5.4) vs the LTS version (v5.1), use the following ppa.
 
<syntaxhighlight lang="bash">
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
</syntaxhighlight>
 
Otherwise, install the gtk3 version (since it's designed for it) and the breeze style. We need the Calibri and Cambria replacement fonts otherwise Microsoft Office files will look weird. Lastly we should clean the icon cache just in case.
 
<syntaxhighlight lang="bash">
sudo apt install -y libreoffice libreoffice-gtk3 libreoffice-style-*
sudo apt install -y fonts-crosextra-carlito fonts-crosextra-caladea
rm ~/.cache/icon-cache.kcache
</syntaxhighlight>
 
<h2><span id="Configuration" class="header-link">[[#Configuration|Configuration]]</span></h2>
 
<h3><span id="Autostarted_Apps" class="header-link">[[#Autostarted_Apps|Autostarted Apps]]</span></h3>
 
;<b><span id="cfg-1" class="header-link">[[#cfg-1|Disable restoring session on Login (restarting apps open during Logout)]]</span></b>
:System Settings > Startup & Shutdown<br />
:System Settings > Startup & Shutdown<br />
:Desktop Session Tab > On Login: Check Start with an empty session<br />
:Desktop Session Tab > On Login: Check Start with an empty session<br />


<h3><span id="Desktop" class="header-link">[[#Desktop|]]</span>Desktop</h3>
<h3><span id="Desktop" class="header-link">[[#Desktop|Desktop]]</span></h3>


;<b><a id="cfg-2" />[[#cfg-2|Show the (<code>~/Desktop</code>) files/links on the desktop.]]</b>
;<b><span id="cfg-2" class="header-link">[[#cfg-2|Show the (<code>~/Desktop</code>) files/links on the desktop.]]</span></b>
:Right Click the desktop wallpaper > Desktop Settings<br />
:Right Click the desktop wallpaper > Desktop Settings<br />
:Wallpaper Tab > Layout: Folder View<br />
:Wallpaper Tab > Layout: Folder View<br />
Line 16: Line 138:
:Icon Tab > Size: 4 (out of 6)<br />
:Icon Tab > Size: 4 (out of 6)<br />


;<span id="cfg-3" class="header-link">[[#cfg-3|¶]]</span><b>Hide the ☰ button in the top corner</b>
;<b><span id="cfg-3" class="header-link">[[#cfg-3|Hide the ☰ button in the top corner]]</span></b>
:Right Click the desktop wallpaper > Desktop/Folder View Settings<br />
:Right Click the desktop wallpaper > Desktop/Folder View Settings<br />
:Tweaks Tab > Uncheck: Show the desktop toolbox<br />
:Tweaks Tab > Uncheck: Show the desktop toolbox<br />


;<span id="cfg-4" class="header-link">[[#cfg-4|¶]]</span><b>Hide the ☰ button in the panel on the bottom right</b>
;<b><span id="cfg-4" class="header-link">[[#cfg-4|Hide the ☰ button in the panel on the bottom right]]</span></b>
:Right Click the ☰ button > Lock Widgets.<br />
:Right Click the ☰ button > Lock Widgets.<br />


;<span id="cfg-5" class="header-link">[[#cfg-5|]]</span><b>Always Hide System Tray Notification Icons</b>
;<b><span id="cfg-5" class="header-link">[[#cfg-5|Always Hide System Tray Notification Icons]]</span></b>
:Right Click the “Expand System Tray Triangle” > System Tray Settings.<br />
:Right Click the “Expand System Tray Triangle” > System Tray Settings.<br />
:Entries Tab > Networks > Visibility: Hidden<br />
:Entries Tab > Networks > Visibility: Hidden<br />


;<span id="cfg-6" class="header-link">[[#cfg-6|]]</span><b>Disable Icon in System Tray</b>
;<b><span id="cfg-6" class="header-link">[[#cfg-6|Disable Icon in System Tray]]</span></b>
:Right Click the “Expand System Tray Triangle” > System Tray Settings.<br />
:Right Click the “Expand System Tray Triangle” > System Tray Settings.<br />
:General Tab > Extra Items > Uncheck: Clipboard, Battery<br />
:General Tab > Extra Items > Uncheck: Clipboard, Battery<br />


;<span id="cfg-7" class="header-link">[[#cfg-7|]]</span><b>Classic “Start” Menu</b>
;<b><span id="cfg-7" class="header-link">[[#cfg-7|Classic “Start” Menu]]</span></b>
:While the widgets are unlocked<br />
:While the widgets are unlocked<br />
:Right Click the “Start” menu > Alternatives > Application Menu<br />
:Right Click the “Start” menu > Alternatives > Application Menu<br />


;<span id="cfg-8" class="header-link">[[#cfg-8|]]</span><b>Don’t sort windows in Taskbar</b>
;<b><span id="cfg-8" class="header-link">[[#cfg-8|Don’t sort windows in Taskbar]]</span></b>
:Right Click a Task > Task Manager Settings<br />
:Right Click a Task > Task Manager Settings<br />
:General Tab > Sorting: Manual<br />
:General Tab > Sorting: Manual<br />
:General Tab > Uncheck: Keep Launchers Separate<br />
:General Tab > Uncheck: Keep Launchers Separate<br />


;<span id="cfg-9" class="header-link">[[#cfg-9|¶]]</span><b>Hide windows from other Desktops in Taskbar</b>
;<b><span id="cfg-9" class="header-link">[[#cfg-9|Hide windows from other Desktops in Taskbar]]</span></b>
:Right Click a Task > Task Manager Settings<br />
:Right Click a Task > Task Manager Settings<br />
:General Tab > Filters > Check: Current Desktop<br />
:General Tab > Filters > Check: Current Desktop<br />


;<span id="cfg-10" class="header-link">[[#cfg-10|]]</span><b>Pin Apps to Taskbar</b>
;<b><span id="cfg-10" class="header-link">[[#cfg-10|Pin Apps to Taskbar]]</span></b>
:Launch App<br />
:Launch App<br />
:Right Click app in Taskbar > Check: Show Launcher When Not Running<br />
:Right Click app in Taskbar > Check: Show Launcher When Not Running<br />


;<span id="cfg-11" class="header-link">[[#cfg-11|]]</span><b>Hide audio indicator in window list</b>
;<b><span id="cfg-11" class="header-link">[[#cfg-11|Hide audio indicator in window list]]</span></b>
:Right Click a Task > Task Manager Settings<br />
:Right Click a Task > Task Manager Settings<br />
:General Tab > Uncheck: Mark applications that play audio<br />
:General Tab > Uncheck: Mark applications that play audio<br />


;<span id="cfg-12" class="header-link">[[#cfg-12|]]</span><b>Disable Top Left “Hot Corner”</b>
;<b><span id="cfg-12" class="header-link">[[#cfg-12|Disable Top Left “Hot Corner”]]</span></b>
:System Settings > Desktop Behaviour<br />
:System Settings > Desktop Behaviour<br />
:Screen Edges Tab > Top Left: No Action<br />
:Screen Edges Tab > Top Left: No Action<br />


;<span id="cfg-13" class="header-link">[[#cfg-13|¶]]</span><b>Bind Ctrl+Alt+Left/Right to Switch Desktop</b>
;<b><span id="cfg-13" class="header-link">[[#cfg-13|Bind Ctrl+Alt+Left/Right to Switch Desktop]]</span></b>
:System Settings > Desktop Behaviour<br />
:System Settings > Desktop Behaviour<br />
:Virtual Desktops Tab > Switching > Shortcuts<br />
:Virtual Desktops Tab > Switching > Shortcuts<br />
Line 63: Line 185:
:Switch To Desktop 1, 2, …: None<br />
:Switch To Desktop 1, 2, …: None<br />


;<span id="cfg-14" class="header-link">[[#cfg-14|¶]]</span><b>Disable Switch Desktop when scrolling over desktop wallpaper</b>
;<b><span id="cfg-14" class="header-link">[[#cfg-14|Disable Switch Desktop when scrolling over desktop wallpaper]]</span></b>
:Right Click the desktop wallpaper > Desktop/Folder View Settings<br />
:Right Click the desktop wallpaper > Desktop/Folder View Settings<br />
:Mouse Actions Tab > Remove: Vertical Scroll => Switch Desktop<br />
:Mouse Actions Tab > Remove: Vertical Scroll => Switch Desktop<br />


;<span id="cfg-15" class="header-link">[[#cfg-15|]]</span><b>Disable focus stealing prevention</b>
;<b><span id="cfg-15" class="header-link">[[#cfg-15|Disable focus stealing prevention]]</span></b>
:System Settings > Window Management<br />
:System Settings > Window Management<br />
:Window Behaviour Tab > Focus Stealing Prevention: None<br />
:Window Behaviour Tab > Focus Stealing Prevention: None<br />


;<span id="cfg-16" class="header-link">[[#cfg-16|]]</span><b>“Normal” Alt+Tab popup</b>
;<b><span id="cfg-16" class="header-link">[[#cfg-16|“Normal” Alt+Tab popup]]</span></b>
:System Settings > Window Management<br />
:System Settings > Window Management<br />
:Task Switcher Tab > Click the "star icon"<br />
:Task Switcher Tab > Click the "star icon"<br />
:Install "[Thumbnail Grid](https://store.kde.org/p/1153173)", 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 />


;<span id="cfg-17" class="header-link">[[#cfg-17|¶]]</span><b>Show Alt+Tab popup as fast as possible</b>
;<b><span id="cfg-17" class="header-link">[[#cfg-17|Show Alt+Tab popup as fast as possible]]</span></b>
: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 />
Line 86: Line 208:
   </syntaxhighlight>
   </syntaxhighlight>


;<span id="cfg-18" class="header-link">[[#cfg-18|]]</span><b>Disable Lock Screen</b>
;<b><span id="cfg-18" class="header-link">[[#cfg-18|Disable Lock Screen]]</span></b>
:System Settings > Desktop Behaviour > Screen Locking Tab<br />
: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 />


;<span id="cfg-19" class="header-link">[[#cfg-19|]]</span><b>Disable Logout/Shutdown Confirmation</b>
;<b><span id="cfg-19" class="header-link">[[#cfg-19|Disable Logout/Shutdown Confirmation]]</span></b>
:System Settings > Startup and Shutdown<br />
:System Settings > Startup and Shutdown<br />
:Desktop Session Tab > Uncheck: Confirm Logout<br />
:Desktop Session Tab > Uncheck: Confirm Logout<br />


;<span id="cfg-20" class="header-link">[[#cfg-20|]]</span><b>Windows Keybindings for moving windows</b>
;<b><span id="cfg-20" class="header-link">[[#cfg-20|Windows Keybindings for moving windows]]</span></b>
:System Settings > Shortcuts > Global Keyboard Shortcuts Tab<br />
:System Settings > Shortcuts > Global Keyboard Shortcuts Tab<br />
:KWin > Show Desktop: Win+M<br />
:KWin > Show Desktop: Win+M<br />
Line 104: Line 226:
:To open the “Start Menu” with the Windows key see the next item.<br />
:To open the “Start Menu” with the Windows key see the next item.<br />


;<span id="cfg-21" class="header-link">[[#cfg-21|¶]]</span><b>Present all windows with Win+Tab</b>
;<b><span id="cfg-21" class="header-link">[[#cfg-21|Present all windows with Win+Tab]]</span></b>
:System Settings > Desktop Behavior<br />
:System Settings > Desktop Behavior<br />
:Desktop Effects Tab > Check Present Windows<br />
:Desktop Effects Tab > Check Present Windows<br />
:Click the Gear Icon > Change the Ctrl+F10 shortcut to Meta+Tab<br />
:Click the Gear Icon > Change the Ctrl+F10 shortcut to Meta+Tab<br />


;<span id="cfg-22" class="header-link">[[#cfg-22|¶]]</span><b>Open “Start Menu” with Windows/Meta key</b>
;<b><span id="cfg-22" class="header-link">[[#cfg-22|Open “Start Menu” with Windows/Meta key]]</span></b>


:;<b>KDE 5.8.2</b><br />
:;<b>KDE 5.8.2</b><br />
Line 124: Line 246:
::Keyboard Shortcuts Tab > Shortcut: Meta+Space<br />
::Keyboard Shortcuts Tab > Shortcut: Meta+Space<br />


;<span id="cfg-23" class="header-link">[[#cfg-23|¶]]</span><b>Do not open the “Start Menu” with Windows/Meta key (KDE 5.8)</b>
;<b><span id="cfg-23" class="header-link">[[#cfg-23|Do not open the “Start Menu” with Windows/Meta key (KDE 5.8)]]</span></b>
: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 />
Line 132: Line 254:
   </syntaxhighlight>
   </syntaxhighlight>


;<span id="cfg-24" class="header-link">[[#cfg-24|¶]]</span><b>Hide titlebars when maximized (like Ubuntu)</b>
;<b><span id="cfg-24" class="header-link">[[#cfg-24|Hide titlebars when maximized (like Ubuntu)]]</span></b>
: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 />
Line 140: Line 262:
   </syntaxhighlight>
   </syntaxhighlight>


<h3><span id="Multi_Screen" class="header-link">[[#Multi_Screen|]]</span>Multi Screen</h3>
<h3><span id="Multi_Screen" class="header-link">[[#Multi_Screen|Multi Screen]]</span></h3>


;<span id="cfg-25" class="header-link">[[#cfg-25|¶]]</span><b>Don't show <code>~/Desktop</code> folder on every screen (Workaround)</b>
;<b><span id="cfg-25" class="header-link">[[#cfg-25|Don't show <code>~/Desktop</code> folder on every screen (Workaround)]]</span></b>
:Create <code>~/Desktop2</code>, <code>~/Desktop3</code>... for each screen.<br />
:Create <code>~/Desktop2</code>, <code>~/Desktop3</code>... for each screen.<br />
:Right click wallpaper on screen 2 > Configure Desktop<br />
:Right click wallpaper on screen 2 > Configure Desktop<br />
:Location > Check: Specify a folder > <code>~/Desktop2</code><br />
:Location > Check: Specify a folder > <code>~/Desktop2</code><br />


<h3><span id="Login_Screen_(SDDM)_/_Lock_Screen" class="header-link">[[#Login_Screen_(SDDM)_/_Lock_Screen|¶]]</span>Login Screen (SDDM) / Lock Screen</h3>
<h3><span id="Login_Screen_(SDDM)_/_Lock_Screen" class="header-link">[[#Login_Screen_(SDDM)_/_Lock_Screen|Login Screen (SDDM) / Lock Screen]]</span></h3>


;<span id="cfg-26" class="header-link">[[#cfg-26|]]</span><b>Change Login Screen Wallpaper</b>
;<b><span id="cfg-26" class="header-link">[[#cfg-26|Change Login Screen Wallpaper]]</span></b>
:System Settings > Startup and Shutdown<br />
:System Settings > Startup and Shutdown<br />
:Login Screen (SDDM) Tab > Background > Load From File<br />
:Login Screen (SDDM) Tab > Background > Load From File<br />
Line 156: Line 278:
:Screen Locking Tab > Wallpaper > Wallpaper Type: Image<br />
:Screen Locking Tab > Wallpaper > Wallpaper Type: Image<br />


<h3><span id="Dolphin_(File_Manager)" class="header-link">[[#Dolphin_(File_Manager)|]]</span>Dolphin (File Manager)</h3>
<h3><span id="Dolphin_(File_Manager)" class="header-link">[[#Dolphin_(File_Manager)|Dolphin (File Manager)]]</span></h3>


;<span id="cfg-27" class="header-link">[[#cfg-27|]]</span><b>Double Click to open files</b>
;<b><span id="cfg-27" class="header-link">[[#cfg-27|Double Click to open files]]</span></b>
:System Settings > Input Devices<br />
:System Settings > Input Devices<br />
:Mouse Tab > Icons: Double Click to open files and folders<br />
:Mouse Tab > Icons: Double Click to open files and folders<br />


;<span id="cfg-28" class="header-link">[[#cfg-28|]]</span><b>Always Show Hidden Files</b>
;<b><span id="cfg-28" class="header-link">[[#cfg-28|Always Show Hidden Files]]</span></b>
:☰ Control > Adjust View Properties<br />
:☰ Control > Adjust View Properties<br />
:Check: Show hidden files<br />
:Check: Show hidden files<br />
Line 168: Line 290:
:Check: Use these view properties as default<br />
:Check: Use these view properties as default<br />


;<span id="cfg-29" class="header-link">[[#cfg-29|¶]]</span><b>Browse (.zip / .tar.gz / .rar) with Dolphin</b>
;<b><span id="cfg-29" class="header-link">[[#cfg-29|Browse (.zip / .tar.gz / .rar) with Dolphin]]</span></b>
:☰ Control > Configure Dolphin<br />
:☰ Control > Configure Dolphin<br />
:Navigation Tab > Check: Open archives as folder<br />
:Navigation Tab > Check: Open archives as folder<br />


;<span id="cfg-30" class="header-link">[[#cfg-30|¶]]</span><b>Clean up Context Menu (Right Click Menu)</b>
;<b><span id="cfg-30" class="header-link">[[#cfg-30|Clean up Context Menu (Right Click Menu)]]</span></b>
:☰ Control > Configure Dolphin<br />
:☰ Control > Configure Dolphin<br />
:Services Tab > Uncheck: “Copy To”, “Delete”, “File to activity”, “Send as Email”, “Send to IM”, “Send via Bluetooth”, “Send via KDE Connect”<br />
:Services Tab > Uncheck: “Copy To”, “Delete”, “File to activity”, “Send as Email”, “Send to IM”, “Send via Bluetooth”, “Send via KDE Connect”<br />


;<span id="cfg-31" class="header-link">[[#cfg-31|]]</span><b>Show Terminal Panel</b>
;<b><span id="cfg-31" class="header-link">[[#cfg-31|Show Terminal Panel]]</span></b>
:☰ Control > Panels > Terminal (F4)<br />
:☰ Control > Panels > Terminal (F4)<br />


;<span id="cfg-32" class="header-link">[[#cfg-32|]]</span><b>Paste into Terminal Panel</b>
;<b><span id="cfg-32" class="header-link">[[#cfg-32|Paste into Terminal Panel]]</span></b>
:☰ Control > Configure Shortcuts<br />
:☰ Control > Configure Shortcuts<br />
:Paste > Set Alternative (Defaulted to Shift+Insert) as “None”<br />
:Paste > Set Alternative (Defaulted to Shift+Insert) as “None”<br />


<h3><span id="Chrome" class="header-link">[[#Chrome|]]</span>Chrome</h3>
<h3><span id="Chrome" class="header-link">[[#Chrome|Chrome]]</span></h3>


;<span id="cfg-33" class="header-link">[[#cfg-33|¶]]</span><b>Overlay tabs on top of the title bar</b>
;<b><span id="cfg-33" class="header-link">[[#cfg-33|Overlay tabs on top of the title bar]]</span></b>
:⋮Button > Settings<br />
:⋮Button > Settings<br />
:Appearance > Uncheck: Use system title bar and borders<br />
:Appearance > Uncheck: Use system title bar and borders<br />


;<span id="cfg-34" class="header-link">[[#cfg-34|]]</span><b>Match Titlebar with Desktop Theme</b>
;<b><span id="cfg-34" class="header-link">[[#cfg-34|Match Titlebar with Desktop Theme]]</span></b>
:Breeze<br />
:Breeze<br />
:Breeze Dark: [Chrome Theme](https://chrome.google.com/webstore/detail/breeze-dark/nkhdomjgcjkhipblklfchdkojecapgmc)<br />
:Breeze Dark: [https://chrome.google.com/webstore/detail/breeze-dark/nkhdomjgcjkhipblklfchdkojecapgmc Chrome Theme]<br />


;<span id="cfg-35" class="header-link">[[#cfg-35|]]</span><b>Enable Hardware Acceleration</b>
;<b><span id="cfg-35" class="header-link">[[#cfg-35|Enable Hardware Acceleration]]</span></b>
: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 />
:> [Origional Article](http://www.webupd8.org/2014/01/enable-hardware-acceleration-in-chrome.html)<br />
:> [http://www.webupd8.org/2014/01/enable-hardware-acceleration-in-chrome.html Origional Article]<br />
:Go to <code>chrome://flags</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 />
 
;<b><span id="cfg-36" class="header-link">[[#cfg-36|Don't use native Linux notifications]]</span></b>
:Since Chrome v64, Chrome now uses native notifications. If you prefer Chrome's however, you can still use them.<br />
:Go to <code>chrome://flags#enable-native-notifications</code>, search for "Enable native notifications", disable it and restart Chrome.<br />


<h3><span id="Steam" class="header-link">[[#Steam|]]</span>Steam</h3>
<h3><span id="Steam" class="header-link">[[#Steam|Steam]]</span></h3>


;<span id="cfg-36" class="header-link">[[#cfg-36|]]</span><b>PixelVision2 Skin</b>
;<b><span id="cfg-37" class="header-link">[[#cfg-37|PixelVision2 Skin]]</span></b>
:<code>cd ~/.steam/skins </code><br />
:<code>cd ~/.steam/skins </code><br />
:<code>git clone https://github.com/somini/Pixelvision2.git</code><br />
:<code>git clone https://github.com/somini/Pixelvision2.git</code><br />
Line 206: Line 332:
:Interface Tab > Select Skin: default skin => PixelVision2<br />
:Interface Tab > Select Skin: default skin => PixelVision2<br />


;<span id="cfg-37" class="header-link">[[#cfg-37|¶]]</span><b>Hide “Big Picture”, etc in the System Tray Context Menu</b>
;<b><span id="cfg-38" class="header-link">[[#cfg-38|Hide “Big Picture”, etc in the System Tray Context Menu]]</span></b>
:Steam > Settings > Interface Tab<br />
:Steam > Settings > Interface Tab<br />
:Set Taskbar Preferences > Only Check: Library, Exit Steam<br />
:Set Taskbar Preferences > Only Check: Library, Exit Steam<br />


;<span id="cfg-38" class="header-link">[[#cfg-38|]]</span><b>Hide “Friend is playing ___” Notifications</b>
;<b><span id="cfg-39" class="header-link">[[#cfg-39|Hide “Friend is playing ___” Notifications]]</span></b>
:Steam > Settings > Friends Tab<br />
:Steam > Settings > Friends Tab<br />
:Uncheck: When friend joins a game: display a notification<br />
:Uncheck: When friend joins a game: display a notification<br />


;<span id="cfg-39" class="header-link">[[#cfg-39|]]</span><b>Never Show Advertisement Popups</b>
;<b><span id="cfg-40" class="header-link">[[#cfg-40|Never Show Advertisement Popups]]</span></b>
:Steam > Settings > Interface Tab<br />
:Steam > Settings > Interface Tab<br />
:Uncheck: Notify me about additions to my games and other releases<br />
:Uncheck: Notify me about additions to my games and other releases<br />


<h3><span id="Clementine" class="header-link">[[#Clementine|]]</span>Clementine</h3>
<h3><span id="Clementine" class="header-link">[[#Clementine|Clementine]]</span></h3>


;<span id="cfg-40" class="header-link">[[#cfg-40|]]</span><b>Clean up UI</b>
;<b><span id="cfg-41" class="header-link">[[#cfg-41|Clean up UI]]</span></b>
:Tools > Preferences<br />
:Tools > Preferences<br />
:Playback Tab > Uncheck: Show a glowing animation on the current track<br />
:Playback Tab > Uncheck: Show a glowing animation on the current track<br />
Line 227: Line 353:
:Last.fm Tab > Uncheck: Show the scrobble button<br />
:Last.fm Tab > Uncheck: Show the scrobble button<br />


;<span id="cfg-41" class="header-link">[[#cfg-41|]]</span><b>Don’t fade between songs</b>
;<b><span id="cfg-42" class="header-link">[[#cfg-42|Don’t fade between songs]]</span></b>
:Playback Tab > Uncheck: Fade out when stopping a track<br />
:Playback Tab > Uncheck: Fade out when stopping a track<br />
:Playback Tab > Uncheck: Cross-fade when changing tracks manually<br />
:Playback Tab > Uncheck: Cross-fade when changing tracks manually<br />


;<span id="cfg-42" class="header-link">[[#cfg-42|¶]]</span><b>Double Click song should play song now</b>
;<b><span id="cfg-43" class="header-link">[[#cfg-43|Double Click song should play song now]]</span></b>
:Behaviour > Using the menu to add a song will: Always start playing<br />
: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 />
:Behaviour > Double clicking a song will: Replace the playlist + Always start playing<br />


<h3><span id="Gtk_Apps_(Gimp/Hexchat/etc)" class="header-link">[[#Gtk_Apps_(Gimp/Hexchat/etc)|¶]]</span>Gtk Apps (Gimp/Hexchat/etc)</h3>
<h3><span id="Gtk_Apps_(Gimp/Hexchat/etc)" class="header-link">[[#Gtk_Apps_(Gimp/Hexchat/etc)|Gtk Apps (Gimp/Hexchat/etc)]]</span></h3>


;<span id="cfg-43" class="header-link">[[#cfg-43|¶]]</span><b>Fix white text on white bg tooltips</b>
;<b><span id="cfg-44" class="header-link">[[#cfg-44|Fix white text on white bg tooltips]]</span></b>
:System Settings > Colors<br />
:System Settings > Colors<br />
:Uncheck: Apply colors to non-Qt applications<br />
:Uncheck: Apply colors to non-Qt applications<br />


-----
<h1><span id="Known_Bugs" class="header-link">[[#Known_Bugs|Known Bugs]]</span></h1>


<h1><span id="Known_Bugs" class="header-link">[[#Known_Bugs|¶]]</span>Known Bugs</h1>
;<b><span id="cfg-45" class="header-link">[[#cfg-45|Tooltips broken in Chrome/Chromium (Fixed?)]]</span></b>
 
:https://bugs.chromium.org/p/chromium/issues/detail?id=442111<br />
;<span id="cfg-44" class="header-link">[[#cfg-44|]]</span><b>Tooltips broken in Chrome/Chromium</b>
:<https://bugs.chromium.org/p/chromium/issues/detail?id=442111><br />
 
-----
 
;<span id="cfg-45" class="header-link">[[#cfg-45|¶]]</span><b></b>
 
;<span id="cfg-46" class="header-link">[[#cfg-46|¶]]</span><b></b>
 
;<span id="cfg-47" class="header-link">[[#cfg-47|¶]]</span><b></b>
 
 
Need to add the following CSS to [[MediaWiki:Common.css]] to make it look like this. https://i.imgur.com/6hukjJ9.jpg
 
<syntaxhighlight lang="css">
.page-User_Zren #toc {
    display: none;
}
 
.page-User_Zren h4 {
    font-weight: bold;
}
 
.page-User_Zren .header-link {
  position: absolute;
  margin-left: -1em;
  font-weight: bold;
  opacity: 0;
  user-select: none;
}
 
.page-User_Zren .header-link a,
.page-User_Zren .header-link a:hover,
.page-User_Zren .header-link a:visited {
    color: #888;
    text-decoration: none;
}
 
.page-User_Zren div > ul {
    margin-left: 0em;
}
.page-User_Zren li > .header-link {
  margin-left: -2.5em;
}
.page-User_Zren h1:hover .header-link,
.page-User_Zren h2:hover .header-link,
.page-User_Zren h3:hover .header-link,
.page-User_Zren h4:hover .header-link,
.page-User_Zren h5:hover .header-link,
.page-User_Zren h6:hover .header-link,
.page-User_Zren li:hover > .header-link {
  opacity: 1;
}
</syntaxhighlight>

Revision as of 04:59, 6 February 2018

This page aims to setup a nice KDE Plasma5 desktop for someone who's coming from Windows.

KDE Neon: Missing Software / Fixes

There are a few things missing from User Edition of KDE Neon for regular usage.

sudo apt install -y kdeplasma-addons # "Big Icons" Alt+Tab
sudo apt install -y libnotify-bin # notify-send (Dota 2 Notifications)
sudo apt install -y p7zip-full p7zip-rar # (.7z)
sudo apt install -y qapt-deb-installer # (.deb) GUI Installer
sudo apt install -y software-properties-common # add-apt-repository
sudo apt install -y unrar # (.rar)

Useful Software

sudo apt install -y clementine # Music Player (.mp3 SoundCloud)
sudo apt install -y comix # Image Viewer (.cbr .zip .rar)
sudo apt install -y gimp # Image Editor (.jpg .png)
sudo apt install -y htop # Command Line Task Manager
sudo apt install -y inkscape # Vector Image Editor (.svg)
sudo apt install -y scrot # Command Line Screen Capture
sudo apt install -y xbindkey # Remap Mouse Buttons / Keys
sudo apt install -y xdotool # Command Line Trigger Mouse/Keys
sudo apt install -y vlc # Video Player (.mp4 .mkv)

## Chrome
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
# Set Chrome as the default browser for hexchat (TODO: xdg-mime)
gvfs-mime --set x-scheme-handler/http google-chrome.desktop
gvfs-mime --set x-scheme-handler/https google-chrome.desktop

## Calibre
# https://calibre-ebook.com/download_linux (Isolated install)
# Installs to ~/calibre-bin/
wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('~/calibre-bin', True)"

## Redshift (Redden the Screen / f.lux Alternative)
sudo apt install -y redshift
# Unlock Widgets > Right Click ☰ > Add Widgets
# Get New Widgets > Download New Widgets > Redshift Control
# System Tray Settings > General Tab > Enable Redshift

Windows Software Emulation

sudo apt install -y virtualbox-qt # Virtual Machine

Developer Software

sudo apt install -y cmake
sudo apt install -y curl
sudo apt install -y pgadmin3 # DB Editor (PostgreSQL)
sudo apt install -y postgresql postgresql-contrib
sudo apt install -y python-pip python3-pip
sudo apt install -y sqliteman # DB Editor (.sqlite)

## Android Studio
# Via ubuntu-make: http://askubuntu.com/a/677805/513249
# "umake android" is broken in 16.04
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt update
sudo apt install ubuntu-make
umake android # Prompts InstallDirectory + License
sudo apt install openjdk-8-jre
# Run with:
# JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ ~/.local/share/umake/android/android-studio/bin/studio.sh

## Git
sudo apt install -y git
git config --global push.default matching

## Heroku
# https://toolbelt.heroku.com/debian
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
heroku login # Prompts for Credentials

## NodeJS
# https://nodejs.org/en/download/package-manager/
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt install -y nodejs
sudo apt install -y build-essential

## Sublime Text
# http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt update
sudo apt install -y sublime-text-installer
# To install Package Control: https://packagecontrol.io/installation

Gaming Software

sudo apt install -y steam # Prompts with License Agreement
sudo apt install -y playonlinux

LibreOffice (Microsoft Office/Word Substitute)

(Optional) If you want a more up to date version of libreoffice (v5.4) vs the LTS version (v5.1), use the following ppa.

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update

Otherwise, install the gtk3 version (since it's designed for it) and the breeze style. We need the Calibri and Cambria replacement fonts otherwise Microsoft Office files will look weird. Lastly we should clean the icon cache just in case.

sudo apt install -y libreoffice libreoffice-gtk3 libreoffice-style-*
sudo apt install -y fonts-crosextra-carlito fonts-crosextra-caladea
rm ~/.cache/icon-cache.kcache

Configuration

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

Desktop

Show the (~/Desktop) files/links on the desktop.
Right Click the desktop wallpaper > Desktop Settings
Wallpaper Tab > Layout: Folder View
Icon Tab > Arrange In: Columns
Icon Tab > Sorting: Unsorted
Icon Tab > Size: 4 (out of 6)
Hide the ☰ button in the top corner
Right Click the desktop wallpaper > Desktop/Folder View Settings
Tweaks Tab > Uncheck: Show the desktop toolbox
Hide the ☰ button in the panel on the bottom right
Right Click the ☰ button > Lock Widgets.
Always Hide System Tray Notification Icons
Right Click the “Expand System Tray Triangle” > System Tray Settings.
Entries Tab > Networks > Visibility: Hidden
Disable Icon in System Tray
Right Click the “Expand System Tray Triangle” > System Tray Settings.
General Tab > Extra Items > Uncheck: Clipboard, Battery
Classic “Start” Menu
While the widgets are unlocked
Right Click the “Start” menu > Alternatives > Application Menu
Don’t sort windows in Taskbar
Right Click a Task > Task Manager Settings
General Tab > Sorting: Manual
General Tab > Uncheck: Keep Launchers Separate
Hide windows from other Desktops in Taskbar
Right Click a Task > Task Manager Settings
General Tab > Filters > Check: Current Desktop
Pin Apps to Taskbar
Launch App
Right Click app in Taskbar > Check: Show Launcher When Not Running
Hide audio indicator in window list
Right Click a Task > Task Manager Settings
General Tab > Uncheck: Mark applications that play audio
Disable Top Left “Hot Corner”
System Settings > Desktop Behaviour
Screen Edges Tab > Top Left: No Action
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
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
Disable focus stealing prevention
System Settings > Window Management
Window Behaviour Tab > Focus Stealing Prevention: None
“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.
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
Disable Lock Screen
System Settings > Desktop Behaviour > Screen Locking Tab
Uncheck: Lock screen automatically after __ min
Uncheck: Lock screen on resume
Disable Logout/Shutdown Confirmation
System Settings > Startup and Shutdown
Desktop Session Tab > Uncheck: Confirm Logout
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 next item.
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
Open “Start Menu” with Windows/Meta key
KDE 5.8.2
Feature has been added by default.
If it's not working, make sure your "Start Menu" has a global shortcut like Alt+F1 set (you can't assign it only 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
<= KDE 5.7
sudo apt install ksuperkey
<= KDE 5.7 (Or just use Win+Space)
Right Click the KDE Icon > Application Menu Settings
Keyboard Shortcuts Tab > Shortcut: Meta+Space
Do not open the “Start Menu” with Windows/Meta key (KDE 5.8)
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
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

Multi Screen

Don't show ~/Desktop folder on every screen (Workaround)
Create ~/Desktop2, ~/Desktop3... for each screen.
Right click wallpaper on screen 2 > Configure Desktop
Location > Check: Specify a folder > ~/Desktop2

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

Steam

PixelVision2 Skin
cd ~/.steam/skins
git clone https://github.com/somini/Pixelvision2.git
Steam > Settings
Interface Tab > Select Skin: default skin => PixelVision2
Hide “Big Picture”, etc in the System Tray Context Menu
Steam > Settings > Interface Tab
Set Taskbar Preferences > Only Check: Library, Exit Steam
Hide “Friend is playing ___” Notifications
Steam > Settings > Friends Tab
Uncheck: When friend joins a game: display a notification
Never Show Advertisement Popups
Steam > Settings > Interface Tab
Uncheck: Notify me about additions to my games and other releases

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)

Fix white text on white bg tooltips
System Settings > Colors
Uncheck: Apply colors to non-Qt applications

Known Bugs

Tooltips broken in Chrome/Chromium (Fixed?)
https://bugs.chromium.org/p/chromium/issues/detail?id=442111