Skip to main content

KDE

Redémarrer plasma

Voici une commande pour redémarrer l’environnement plasma en cas de problèmes :

kquitapp5 plasmashell && kstart5 plasmashell > /dev/null 2>&1

Raccourcis clavier

Pour utiliser uniquement la touche SUPER, il faut mettre en raccourcis META + F7 ou ALT + F1.

Pavé numérique au démarrage sur SDDM.

Pour avoir le pavé numérique activer dans SDDM (le gestionnaire de session) il suffit de rajouter ces infos dans le fichier sddm.conf qui se trouve dans /etc, si le fichier n'existe pas, il faut le créer.

[General]
Numlock=on

Voici un moyen de le mettre en une seule fois via la ligne de commande suivante 

echo -e "[General]\nNumlock=on" | sudo tee -a /etc/sddm.conf

Pavé numérique au démarrage de KDE sur wayland.

Pour avoir le pavé numérique activer au démarrage de la session KDE sur Wayland, il suffit de rajouter ces infos dans le fichier kcminputrc qui se trouve dans ~/.config,

[Keyboard]
NumLock=0

Ensuite activer le service fstrim.

sudo systemctl enable fstrim.timer

Voici un moyen de le mettre en une seule fois via la ligne de commande suivante 

echo -e "[Keyboard]\nNumLock=0" | tee -a ~/.config/kcminputrc
sudo systemctl enable fstrim.timer

Source

Ouvrir Dolphin en ROOT (KDE5)

Il faut ajouter un fichier, par exemple dolphin-root.desktop dans ~/.local/share/kservices5/ServiceMenus/ avec le contenu suivant :

[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=ouvrirDolphinEnRoot;
X-KDE-AuthorizeAction=shell_access
[Desktop Action ouvrirDolphinEnRoot]
Name=Ouvrir Dolphin en root ici
TryExec=pkexec
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dolphin %U
Icon=folder-red

Voici une commande pour tout faire via le terminal :

mkdir -p ~/.local/share/kservices5/ServiceMenus/
echo -e '[Desktop Entry]            
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=ouvrirDolphinEnRoot;
X-KDE-AuthorizeAction=shell_access
[Desktop Action ouvrirDolphinEnRoot]
Name=Ouvrir Dolphin en root ici
TryExec=pkexec
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dolphin %U
Icon=folder-red' > ~/.local/share/kservices5/ServiceMenus/dolphin-root.desktop

Source

Ouvrir Dolphin en ROOT (KDE6)

Il faut ajouter un fichier, par exemple dolphin-root.desktop dans /usr/share/kio/servicemenus/ avec le contenu suivant :

[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=ouvrirDolphinEnRoot;
X-KDE-AuthorizeAction=shell_access
[Desktop Action ouvrirDolphinEnRoot]
Name=Ouvrir Dolphin en root ici
TryExec=pkexec
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dolphin %U
Icon=folder-red

Voici une commande pour tout faire via le terminal :

echo -e '[Desktop Entry]            
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=ouvrirDolphinEnRoot;
X-KDE-AuthorizeAction=shell_access
[Desktop Action ouvrirDolphinEnRoot]
Name=Ouvrir Dolphin en root ici
TryExec=pkexec
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dolphin %U
Icon=folder-red' | sudo tee -a /usr/share/kio/servicemenus/dolphin-root.desktop

Composant graphique

Panon

Un widget de visualisation audio pour KDE Plasma.

https://github.com/flafflar/panon

Dépendances pour Solus :

sudo eopkg install qt6-websockets python-docopt PyAudio numpy python-cffi python-websockets

Choix du GPU (multi GPU)

Pour avoir le choix du GPU via le menu contextuel, il faut installer le paquet switcheroo-control
Source