Outils pour utilisateurs

Outils du site


Welcome:Fedora:Configuration Fedora24 Gnome

Différences

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

Lien vers cette vue comparative

Welcome:Fedora:Configuration Fedora24 Gnome [2019/10/01 19:35] (Version actuelle)
arnaud créée
Ligne 1: Ligne 1:
 +====== Get Desktop menus for custom applications:​ ======
 +A "​desktop"​ file is necessary for it.
 +===== Storage of the  desktop file: =====
 +  * into the folder ''/​usr/​share/​applications''​ if the entry should be displayed for every user
 +  * into the folder ''​~/​local/​share/​applications''​ if the application is only available for 1 user
 +
 +===== The desktop file: =====
 +A desktop file contents following:
 +<​code>​[Desktop Entry]
 +Encoding=UTF-8
 +Type=Application
 +Name=name of the application
 +Name[fr_FR]=name of the application in the foreign language
 +Comment=comment about the application ​
 +Comment[fr]=comment about the application in the foreign language
 +Exec=/​path/​of/​the/​script/​of/​the/​application
 +Icon=/​path/​of/​the/​icon
 +Categories=GTK;​Utility;​ </​code>​
 +
 +  * to get the "​right"​ category: have a look into existing desktop files of applications of the category that you want to choose
 +  * ''/​usr/​share/​icons/​oxygen/​base/​32x32/''​ is a folder that contains a lot of good icons
 +
 +====== Activer une touche "​compose"​ perso ======
 +Sous ''​paramètres''​ => ''​clavier''​ => ''​saisie''​ il est possible d'​activer la touche compose.
 +Malheureusement seules les touches proposées peuvent être sélectionnées à cet effet. Voici comment activer une autre touche:
 +
 +  * créer dans ''​~/​scripts''​ un script qui "​xmodmap" ​ en se référençant à ''​~.xmodmap''​ <​code>​
 +#!/bin/bash
 +sleep 15 && xmodmap ~/​.xmodmaprc
 +exit 0;</​code>​ La tempo est nécessaire pour que le xmodmap soit lancé après l'​ouverture complète de la session (voir [[https://​bugzilla.redhat.com/​show_bug.cgi?​id=873656#​c16|Commentaire #16]])
 +  * avec la commande ''​xev''​ et en appuyant sur la touche à assigner pour la repérer: c'est la ''​kexcode XX''​
 +  * créer un fichier ''​~.xmodmaprc''​ qui désigne la touche <​code>​
 +keycode 64 = Multi_key</​code>​
 +  * créer dans ''/​usr/​share/​application''​ l'​entrée ''​.desktop''​ qui pointe sur le script: <​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=/​home/​mon_user/​scripts/​activation_touche_compose
 +Icon=applications-utilities
 +Categories=GTK;​Utility;​
 +Name[fr_FR]=activation_touche_compose</​code>​
 +
 +=> Résultats: ​ \\  ​
 +- mon script est visible dans le menu des applications ​ \\  ​
 +- mon script fonctionne quand je le lance depuis le menu des applications ​ \\  ​
 +- dans l'​utilitaire ''​tweak''​ je peux le sélectionner pour un démarrage automatique
 +
 +Vérifier que l'​entrée ''​.desktop''​ est présente dans ''/​home/​tonuser/​.config/​autostart/'',​ l'​ajouter le cas échéant.
 +
 +====== Disable auto-lock of the screen ======
 +Even if the auto-lock of the screen is disabled by the parameters of the screen saver, the screen get locked after inactivity. \\ 
 +To disable this: got to ''​parameters'' ​ => ''​confidenciuality''​ and disable the lock of the screen.
 +
 +====== Get the full path in Nautilus ======
 +Target: get the full path of the files (/​folder/​sub-folder/​file) in the bar of nautilus. \\ 
 +  * only 1 time: Simply press ''​Strg''​ and ''​l''​ \\ To return to the original breadcrumb view, make sure that the editable text area has the focus then press the ''​Esc''​ key. \\ \\ 
 +  * To make it permanent type: <​code>​gsettings set org.gnome.nautilus.preferences always-use-location-entry true</​code>​
 +[[http://​unix.stackexchange.com/​questions/​154106/​show-address-bar-w-full-path-in-nautilus-instead-of-breadcrumbs-bar|Source]]
 +
 +
 +====== Extensions Gnome ======
 +
 +[[https://​wiki.gnome.org/​Projects/​GnomeShellIntegrationForChrome/​Installation|Source]] \\ 
 +  * install the module ''​gnome-shell-integration''​ into firefox (modules => extensions)
 +  * install the second part of the module: <​code>​
 +# dnf copr enable region51/​chrome-gnome-shell
 +# dnf install chrome-gnome-shell </​code>​
 +
 +For extensions about the system monitoring on my "​KCN"​-PC:​
 +<​code>#​ dnf install NetworkManager-glib-devel libgtop2-devel</​code>​
 +
 +====== Nextcloud and gnome-keyring ======
 +To make the client Nextcloud able to store the passwords into the gnome-keyring,​ make sure that boths rpms ''​libgnome-keyring''​ and ''​gnome-keyring''​ are instaled.
 +
 +====== Get icons on Desktop by Gnome 3.28 ======
 +Source: https://​blog.drsolly.com/​2018/​05/​upgrading-to-fedora-28.html \\ 
 +I prefer put the desktop file into /​usr/​shrare/​applications/​ and give each user the possibility to activate it via gnome-tweak => autostart:
 +  * <​code>#​ dnf install nemo</​code>​
 +  * <​code>#​ nano /​usr/​share/​applications/​activation_nemo_AG.desktop</​code>​
 +  * and enter in it: <​code>​ [Desktop Entry]
 +Type=Application
 +Name=Nemo
 +Comment=Start Nemo desktop at log in
 +Exec=nemo-desktop
 +OnlyShowIn=GNOME;​
 +AutostartCondition=GSettings org.nemo.desktop show-desktop-icons
 +X-GNOME-AutoRestart=true
 +Icon=/​usr/​share/​icons/​gnome/​32x32/​apps/​preferences-desktop-wallpaper.png
 +Categories=GTK;​Utility;​
 +Name[fr_FR]=nemo-autostart-with-gnome </​code>​
 +  * the activation should be visible into the menu of applications
 +  * select for autostart via gnome-tweak
 +
 +
 +====== Screen saver ======
 +<​code>#​ dnf install xscreensaver </​code>​
  
Welcome/Fedora/Configuration Fedora24 Gnome.txt · Dernière modification: 2019/10/01 19:35 par arnaud