Installation and configuration of Fedora23/24/25 LXDE
Taking the ISO netinstall, select “fedora-LXDE” (left panel) without any other option (right panel).
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'
service sshd start service sshd enable
dnf install fuse-sshfs
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:
/etc/lxdm/lxdm.conf
session-cleanup-script = /etc/lxdm/post-session.sh
/etc/lxdm/post-session.sh
and insert in it: #!/bin/bash umount /media/sme/* exit 0
sudo chmod 774 /etc/lxdm/post-session.sh sudo chown root:root /etc/lxdm/post-session.sh
[userlist] ## if disable the user list control at greeter disable=1
/etc/lxdm/lxdm.conf
uncomment and set numlock=1
lxshortcut -o ~/Desktop/my_shorcut.desktop
and give the parameters
ln -s /home/e-smith/files/users/toto /home/e-smith/files/users/toto/Bureau/toto-rep-local
Go to administration
⇒ Languages
and select the language to be installed.
The langage is then available into the sessions manager for login.
$xev
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:
keycode 64 = Multi_key
Dans /usr/share/applications
entrer le script:
#!/bin/bash /usr/bin/xmodmap /home/mon_utilisateur/.xmodmaprc exit 0;
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:
[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;
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.
dnf install system-config-printer cups
sudo dnf install modori
preferences => Parameters for the session => Applications auto-started => tick "storage of certificates and keys"
http://debian-facile.org/doc:environnements:lxde:diaporama-fond-ecran
Put following into /usr/my_scripts/the_script.sh with permission for execution:
#!/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
put following into /usr/share/applications/WPSlideShow.desktop
[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;
Go to preferences
⇒ Parameters of the session
and tick on the script.