Outils pour utilisateurs

Outils du site


Welcome:Fedora:Configuration Fedora23 LXDE

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Welcome:Fedora:Configuration Fedora23 LXDE [2019/10/01 19:33]
arnaud créée
Welcome:Fedora:Configuration Fedora23 LXDE [2019/10/01 19:34] (Version actuelle)
arnaud
Ligne 1: Ligne 1:
-sfg sdfg sdgf +**Installation and configuration of Fedora23/​24/​25 LXDE** 
 + 
 +====== Installation ====== 
 +Taking the ISO netinstall, select "​fedora-LXDE"​ (left panel) without any other option (right panel). 
 + 
 +====== Installation of supplementary repositories:​ ====== 
 +  *Installation of both free and non-free repos of RPMFusion:<​code>​ 
 +su -c 'dnf install http://​download1.rpmfusion.org/​free/​fedora/​rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ 
 +http://​download1.rpmfusion.org/​nonfree/​fedora/​rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'</​code>​ 
 + 
 +====== Configuration ====== 
 + 
 +===== ssh ===== 
 +  * [[Welcome:​Duo client-server:​Connection SSH Fedora 22 - SME|Connection SSH of the Fedora &gt; 22 from the SME]] 
 +  * At least  <​code>​service sshd start 
 +service sshd enable </​code>​ 
 +  * sshfs <​code>​ dnf install fuse-sshfs</​code>​ 
 +  *an outgoing connection ssh with keys and passphrase is possible, via a terminal or via a shortcut (popup opens to ask passphrase as openssh-askpass is already installed) 
 + 
 +===== LXDE session manager ===== 
 +==== Authentication via sssd on SME-server ==== 
 +[[Welcome:​Duo client-server:​Authentication client Fedora on SME-server via sssd ldap|Authentication client Fedora on SME-server via sssd ldap]] 
 + 
 +==== Unmout by logout ==== 
 +The logout doesn'​t unmout the shares automatically mounted at login => the next user can access them inspite he doesn'​t have the needed permissions. \\ 
 +In order to avoid this: 
 +  * add at the end of ''/​etc/​lxdm/​lxdm.conf''​ <​code>​ 
 +session-cleanup-script = /​etc/​lxdm/​post-session.sh </​code>​ 
 +  * create ''/​etc/​lxdm/​post-session.sh''​ and insert in it: <​code>​ 
 +#​!/​bin/​bash 
 +umount /​media/​sme/​* 
 +exit 0 </​code>​ 
 +  * give the needed permissions:​ <​code>​ 
 +sudo chmod 774 /​etc/​lxdm/​post-session.sh 
 +sudo chown root:root /​etc/​lxdm/​post-session.sh </​code>​ 
 + 
 +==== General settings ==== 
 + 
 +  *disable the displaying of the list of all users in the display manager (LXDM): in /​etc/​lxdm/​lxdm.conf set disable=1<​code>​[userlist] 
 +## if disable the user list control at greeter 
 +disable=1 </​code>​  
 +  * numlock. dnf install numlockx \\ in ''/​etc/​lxdm/​lxdm.conf''​ uncomment and set ''​numlock=1''​ 
 + 
 + 
 +===== LXDE gui =====   
 +  * create shortcuts on the desktop: <​code>​lxshortcut -o  ~/​Desktop/​my_shorcut.desktop</​code>​ and give the parameters 
 +  * create shortcuts to the /home folder on the desktop: <​code>​ln -s /​home/​e-smith/​files/​users/​toto /​home/​e-smith/​files/​users/​toto/​Bureau/​toto-rep-local</​code>​ 
 + 
 +==== Languages of the sessions ==== 
 +Go to ''​administration''​ => ''​Languages''​ and select the language to be installed. \\ The langage is then available into the sessions manager for login. 
 + 
 + 
 +==== Sélectionner et activer une touche "​compose"​ ==== 
 +<​code>​$xev</​code>​ 
 +et appuyer sur la touche à assigner pour la repérer: c'est la ''​keycode XX'' ​ \\   
 + 
 +Dans le ’’home’’ de l'​utilisateur créer un fichier ''​.xmodmaprc''​ contenant:​ 
 +<​code>​keycode 64 = Multi_key</​code>​ 
 + 
 +Dans ''/​usr/​share/​applications''​ entrer le script: 
 +<​code>#​!/​bin/​bash 
 + 
 +/​usr/​bin/​xmodmap /​home/​mon_utilisateur/​.xmodmaprc 
 + 
 +exit 0;</​code>​ 
 +et lui donner les permissions d'​exécution via un ''​chmod +x'' ​ \\   
 + 
 +Dans ''/​home/​mon_utilisateur/​.config/​autostart''​ créer un fichier ''​activation_touche_compose.desktop''​ qui contient: 
 +<​code>​[Desktop Entry] 
 +Encoding=UTF-8 
 +Type=Application 
 +Name=activation touche compose 
 +Name[fr]=activation touche compose 
 +Comment=activation touche compose 
 +Comment[fr]=activation touche compose 
 +Exec=/​usr/​share/​applications/​script_touche_compose 
 +Icon=applications-utilities 
 +Categories=GTK;​Utility;</​code>​ 
 +Aller dans ''​préférences''​ => ''​Paramètres de la session de bureau''​ et vérifier que l'​entrée dans ''​Applications démarrées automatiquement''​ est activée avant de relancer la session. 
 + 
 + 
 +==== Printing / Scanning ==== 
 +  * <​code>​dnf install system-config-printer cups</​code> ​  
 +  * see [[Welcome:​Fedora:​Printer Canon MX925|Printer Canon MX925]] too 
 + 
 + 
 +==== Evolution (emails)==== 
 +<​note>​Keyring:​ the passwords of the account are automatically stored into the keyring. \\ A password for the keyring must be set. \\ At the next login the user is asked to enter the password of the keyring and if th keyring should be unlocked automatically at the login. \\ After ticking the box, it is not asked for the keyring password at the enxt sessions and Evolution can be run without entering the password.</​note>​ 
 + 
 +  
 +==== Midori ==== 
 +  * <​code>​ sudo dnf install modori</​code>​ 
 +  * Remember the exceptions for certificates:​ <​code>​ preferences => Parameters for the session => Applications auto-started => tick "​storage of certificates and keys" </​code>​ 
 + 
 +===== Run a script as autostart by session opening ​ #/# script for a slideshow as a wallpaper ===== 
 +<note important>​This is a draft and doesn'​t work properly. \\ If you know how to improve it, please mail me!</​note>​ 
 + 
 + 
 +[[http://​debian-facile.org/​doc:​environnements:​lxde:​diaporama-fond-ecran]] 
 + 
 +==== script ==== 
 + 
 +Put following into /​usr/​my_scripts/​the_script.sh with permission for execution:<​code>​ 
 +#​!/​bin/​bash 
 +  
 +folder=~/​fonds/​ 
 +sleepTime=60s 
 +pid=$(ps xc |grep lxsession |awk ' { print $1 }') 
 +  
 +while [ $(ps xc |grep lxsession |awk ' { print $1 }') == "​$pid"​ ]; do 
 +   ​file=$(find "​$folder"​ -maxdepth 1 -type f |shuf |head -n 1) 
 +   ​pcmanfm -w "​$file"​ --wallpaper-mode=stretch 
 +   sleep "​$sleepTime"​ 
 +done </​code>​ 
 + 
 +==== .desktop file ==== 
 + 
 +put following into **/​usr/​share/​applications/​WPSlideShow.desktop** <​code>​ 
 +[Desktop Entry] 
 +Encoding=UTF-8 
 +Type=Application 
 +Name=WPSlideShow 
 +Name[fr]=WPSlideShow 
 +Comment=diaporama 
 +Comment[fr]=diaporama 
 +Exec=/​usr/​my_scripts/​the_script 
 +Icon=applications-utilities 
 +Categories=GTK;​Utility;</​code>​ 
 + 
 +==== autostart ==== 
 +Go to ''​preferences''​ => ''​Parameters of the session''​ and tick on the script. 
 + 
Welcome/Fedora/Configuration Fedora23 LXDE.txt · Dernière modification: 2019/10/01 19:34 par arnaud