KDE: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
|
(No difference)
| |
Revision as of 14:34, 5 January 2025
Mouse scroll
Plug usb connector uit en in
4K / HiDpi
- Go into "System Settings". Under "Display and Monitor" click "Scale Display". Drag the "Scale" slider to an appropriate amount. Log out and then back in
- If your cursor needs resizing you can do so in "System Settings". Under "Workspace Theme", select "Cursor Theme" and then adjust the size on the bottom right hand side
- Create following file:
cat .config/plasma-workspace/env/hidpi.sh export PLASMA_USE_QT_SCALING=1
- Add to /etc/environment
GDK_SCALE=2 GDK_DPI_SCALE=0.5
Login:
- Create the following file: /etc/sddm.conf.d/hidpi.conf
[Wayland] EnableHiDPI=true [X11] EnableHiDPI=true
Hide window decorations on maximize
kwriteconfig5 --file kwinrc --group Windows --key BorderlessMaximizedWindows true dbus org.kde.KWin /KWin reconfigure
Unix select paste not working
Edit $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc
[ActionPlugins][0] MiddleButton;NoModifier=org.kde.paste
Wacom tablet offset
in ~/.profile set:
QT_XCB_TABLET_LEGACY_COORDINATES=1
Windows key to overview
https://develmonk.com/2024/03/23/kde-can-have-meta-super-key-blow-up-the-screen-just-like-gnome/
kwriteconfig6 --file kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,,invokeShortcut,Overview" qdbus org.kde.KWin /KWin reconfigure
Set two parameters:
I found out the meta-only modifier is one thing that needed to be set in $HOME/.config/kwinrc, but also the Overview=Meta config in $HOME/.config/kglobalshortcutsrc – so there’s two places where it needs to be set. You’re supposed to be able to add /KWin reconfigure to the end to make it work immediately (reloads kwin config), but I’ve only been able to get it to work by killing sddm and logging back in. But hey, thanks so much for pointing me in the right direction!
Reset Kde
https://forum.manjaro.org/t/how-reset-all-kde-settings/21518/2
Logout from KDE and run:
cd ~/ rm -rf .kde rm -rf .cache/plasmashell* rm -rf .cache/org.kde.dirmodel-qml.kcache rm -rf .cache/kioexec/ .cache/krunner/ .cache/ksycoca5* rm -rf .cache/krunnerbookmarkrunnerfirefoxdbfile.sqlite rm -f .config/plasma* rm -rf .config/kde* cd .local/ rm -rf kate/ kded5/ klipper/ knewstuff3/ kscreen/ konsole/ kwalletd/ ksysguard/ kmail2/ kcookiejar/ kactivitymanagerd/ cd share/ rm -rf dolphin kate kcookiejar kded5 keyrings klipper kmail2 knewstuff3 konsole kscreen ksysguard kwalletd kxmlgui5 plasma_engine_comic plasma plasma_notes org.kde.gwenview cd ~/.config/ rm -rf akonadi* KDE kconf_updaterc baloo* dolphinrc drkonqirc gwenviewrc kmail2rc k*rc katemetainfos
It wipes config of all software, but help
Overview windows shortcut
kwriteconfig5 --file kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,,invokeShortcut,Overview" qdbus org.kde.KWin /KWin reconfigure
https://askubuntu.com/questions/1391793/kde-5-24-overview-launch-key
Editing KDE Calendar single line
sudo vim /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml
Change line 57:
// if the date/timezone cannot be fit with the smallest font to its designated space
readonly property bool oneLineMode: plasmoid.formFactor == PlasmaCore.Types.Horizontal &&
main.height <= 2 * theme.smallestFont.pixelSize &&
(main.showDate || timezoneLabel.visible)
To:
// if the date/timezone cannot be fit with the smallest font to its designated space readonly property bool oneLineMode: true