logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 31-01-2022 10:36:39

Harashi
Membre
Lieu : Paris
Distrib. : Debian 12 (Bookworm)
Noyau : Linux 6.1.0-9-amd64
(G)UI : Cinnamon
Inscription : 15-09-2017

Certains raccourcis claviers ne restent pas en mémoire

Bonjour à tous,

Depuis que j'ai effectué la migration de Buster à Bullseye (assez tardivement car je ne me servais plus trop de ce PC), certains raccourcis claviers ne fonctionnaient plus. Je les ai donc supprimé dans les paramètres de clavier de XFCE puis réajouté et ils fonctionnent à nouveau...jusqu'au prochain redémarrage où ils apparaissent toujours dans la liste mais ne fonctionnent plus. Ils ne restent donc pas en mémoire. Ce qui est étrange c'est que cela ne se produit qu'avec certains et pas d'autres. J'ai essayé de changer la commande de terminal sur les touches concernées mais le problème se reproduit. Ce sont donc les combinaisons de touches qui ne restent pas en mémoire et non les commandes.

Les raccourcis concernés sont Ctrl+alt+w (ouvrir libreoffice writer), Ctrl+alt+m (thunderbird) et Super+p (meld). Par contre des raccourcis comme Ctrl+alt+i (ouvrir firefox) ou Super+c (calculatrice) fonctionnent.

J'ai regardé dans le fichier /usr/share/X11/xkb/keyboard mais les commandes fautives ne diffèrent à priori en rien de celles qui fonctionnent.

Quelqu'un saurait à quoi cela est du ? J'aimerais particulièrement conserver Ctrl+alt+w car c'est très pratique pour ouvrir rapidement le traitement de texte d'une seule main.

Thinkpad T440P avec osboot

Hors ligne

#2 01-03-2022 09:40:55

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : Certains raccourcis claviers ne restent pas en mémoire

Hello
Rien a voir avec le fichier que tu décris, les raccourcis que tu affectes son propre a ton utilisateur et les informations sont stockées dans un fichier de ton home

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce-keyboard-shortcuts.xml


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#3 03-04-2022 12:25:05

Harashi
Membre
Lieu : Paris
Distrib. : Debian 12 (Bookworm)
Noyau : Linux 6.1.0-9-amd64
(G)UI : Cinnamon
Inscription : 15-09-2017

Re : Certains raccourcis claviers ne restent pas en mémoire

Bonjour,

Merci pour cette indication et désolé pour le temps de réponse, je n'avais pas vu le message. Je vais être plus réactif.

En effet le contenu du fichier xfce4-keyboard-shortcuts.xml est le suivant :

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-keyboard-shortcuts" version="1.0">
  <property name="commands" type="empty">
    <property name="default" type="empty">
      <property name="&lt;Alt&gt;F1" type="empty"/>
      <property name="&lt;Alt&gt;F2" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Alt&gt;F3" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;t" type="empty"/>
      <property name="XF86Display" type="empty"/>
      <property name="&lt;Super&gt;p" type="empty"/>
      <property name="&lt;Primary&gt;Escape" type="empty"/>
      <property name="XF86WWW" type="empty"/>
      <property name="HomePage" type="empty"/>
      <property name="XF86Mail" type="empty"/>
      <property name="Print" type="empty"/>
      <property name="&lt;Alt&gt;Print" type="empty"/>
      <property name="&lt;Shift&gt;Print" type="empty"/>
      <property name="&lt;Super&gt;e" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;f" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Escape" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="empty"/>
      <property name="&lt;Super&gt;r" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
    </property>
    <property name="custom" type="empty">
      <property name="&lt;Alt&gt;F3" type="string" value="xfce4-appfinder">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Alt&gt;F1" type="string" value="xfce4-popup-applicationsmenu"/>
      <property name="&lt;Alt&gt;F2" type="string" value="xfce4-appfinder --collapsed">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
      <property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
      <property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
      <property name="&lt;Primary&gt;Escape" type="string" value="xfdesktop --menu"/>
      <property name="override" type="bool" value="true"/>
      <property name="&lt;Super&gt;l" type="string" value="xflock4"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;t" type="string" value="xfce4-terminal"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;i" type="string" value="firefox-esr"/>
      <property name="&lt;Super&gt;e" type="string" value="thunar"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="string" value="mousepad"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;p" type="string" value="pidgin"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;k" type="string" value="keepassxc"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;u" type="string" value="firefox-esr --private-window"/>
      <property name="&lt;Super&gt;c" type="string" value="galculator"/>
      <property name="&lt;Super&gt;m" type="string" value="meld"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;m" type="string" value="exo-open --launch MailReader"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;w" type="string" value="libreoffice --writer"/>
    </property>
  </property>
  <property name="xfwm4" type="empty">
    <property name="default" type="empty">
      <property name="&lt;Alt&gt;Insert" type="empty"/>
      <property name="Escape" type="empty"/>
      <property name="Left" type="empty"/>
      <property name="Right" type="empty"/>
      <property name="Up" type="empty"/>
      <property name="Down" type="empty"/>
      <property name="&lt;Alt&gt;Tab" type="empty"/>
      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="empty"/>
      <property name="&lt;Alt&gt;Delete" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="empty"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="empty"/>
      <property name="&lt;Alt&gt;F4" type="empty"/>
      <property name="&lt;Alt&gt;F6" type="empty"/>
      <property name="&lt;Alt&gt;F7" type="empty"/>
      <property name="&lt;Alt&gt;F8" type="empty"/>
      <property name="&lt;Alt&gt;F9" type="empty"/>
      <property name="&lt;Alt&gt;F10" type="empty"/>
      <property name="&lt;Alt&gt;F11" type="empty"/>
      <property name="&lt;Alt&gt;F12" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="empty"/>
      <property name="&lt;Alt&gt;space" type="empty"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="empty"/>
      <property name="&lt;Super&gt;Tab" type="empty"/>
      <property name="&lt;Primary&gt;F1" type="empty"/>
      <property name="&lt;Primary&gt;F2" type="empty"/>
      <property name="&lt;Primary&gt;F3" type="empty"/>
      <property name="&lt;Primary&gt;F4" type="empty"/>
      <property name="&lt;Primary&gt;F5" type="empty"/>
      <property name="&lt;Primary&gt;F6" type="empty"/>
      <property name="&lt;Primary&gt;F7" type="empty"/>
      <property name="&lt;Primary&gt;F8" type="empty"/>
      <property name="&lt;Primary&gt;F9" type="empty"/>
      <property name="&lt;Primary&gt;F10" type="empty"/>
      <property name="&lt;Primary&gt;F11" type="empty"/>
      <property name="&lt;Primary&gt;F12" type="empty"/>
      <property name="&lt;Super&gt;KP_Left" type="empty"/>
      <property name="&lt;Super&gt;KP_Right" type="empty"/>
      <property name="&lt;Super&gt;KP_Up" type="empty"/>
      <property name="&lt;Super&gt;KP_Down" type="empty"/>
      <property name="&lt;Super&gt;KP_Page_Up" type="empty"/>
      <property name="&lt;Super&gt;KP_Home" type="empty"/>
      <property name="&lt;Super&gt;KP_End" type="empty"/>
      <property name="&lt;Super&gt;KP_Next" type="empty"/>
    </property>
    <property name="custom" type="empty">
      <property name="Up" type="string" value="up_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="string" value="move_window_workspace_9_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="string" value="move_window_workspace_8_key"/>
      <property name="Left" type="string" value="left_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="string" value="move_window_workspace_6_key"/>
      <property name="&lt;Alt&gt;Insert" type="string" value="add_workspace_key"/>
      <property name="&lt;Alt&gt;Tab" type="string" value="cycle_windows_key"/>
      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="string" value="cycle_reverse_windows_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="string" value="move_window_workspace_7_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="string" value="right_workspace_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="string" value="move_window_right_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="string" value="show_desktop_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="string" value="up_workspace_key"/>
      <property name="&lt;Primary&gt;F7" type="string" value="workspace_7_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="string" value="move_window_prev_workspace_key"/>
      <property name="&lt;Alt&gt;F4" type="string" value="close_window_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="string" value="move_window_left_key"/>
      <property name="&lt;Alt&gt;F6" type="string" value="stick_window_key"/>
      <property name="&lt;Alt&gt;F10" type="string" value="maximize_window_key"/>
      <property name="&lt;Alt&gt;F12" type="string" value="above_key"/>
      <property name="&lt;Alt&gt;F9" type="string" value="hide_window_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="string" value="down_workspace_key"/>
      <property name="&lt;Alt&gt;F8" type="string" value="resize_window_key"/>
      <property name="&lt;Super&gt;Tab" type="string" value="switch_window_key"/>
      <property name="Escape" type="string" value="cancel_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="string" value="move_window_next_workspace_key"/>
      <property name="&lt;Primary&gt;F10" type="string" value="workspace_10_key"/>
      <property name="&lt;Primary&gt;F11" type="string" value="workspace_11_key"/>
      <property name="&lt;Alt&gt;F11" type="string" value="fullscreen_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="string" value="move_window_up_key"/>
      <property name="Right" type="string" value="right_key"/>
      <property name="Down" type="string" value="down_key"/>
      <property name="&lt;Alt&gt;F7" type="string" value="move_window_key"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="string" value="lower_window_key"/>
      <property name="&lt;Primary&gt;F12" type="string" value="workspace_12_key"/>
      <property name="&lt;Primary&gt;F1" type="string" value="workspace_1_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="string" value="left_workspace_key"/>
      <property name="&lt;Primary&gt;F2" type="string" value="workspace_2_key"/>
      <property name="&lt;Primary&gt;F4" type="string" value="workspace_4_key"/>
      <property name="&lt;Primary&gt;F5" type="string" value="workspace_5_key"/>
      <property name="&lt;Primary&gt;F6" type="string" value="workspace_6_key"/>
      <property name="&lt;Alt&gt;space" type="string" value="popup_menu_key"/>
      <property name="&lt;Primary&gt;F8" type="string" value="workspace_8_key"/>
      <property name="&lt;Primary&gt;F9" type="string" value="workspace_9_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="string" value="move_window_workspace_1_key"/>
      <property name="&lt;Alt&gt;Delete" type="string" value="del_workspace_key"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="string" value="raise_window_key"/>
      <property name="&lt;Primary&gt;F3" type="string" value="workspace_3_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="string" value="move_window_workspace_2_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="string" value="move_window_workspace_3_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="string" value="move_window_workspace_4_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="string" value="move_window_workspace_5_key"/>
      <property name="override" type="bool" value="true"/>
    </property>
  </property>
  <property name="providers" type="array">
    <value type="string" value="xfwm4"/>
    <value type="string" value="commands"/>
  </property>
</channel>
 



Les lignes qui m'intéressent vu que leurs raccourcis ne marchent pas sont donc spécifiquement celles-ci :

<property name="&lt;Super&gt;m" type="string" value="meld"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;m" type="string" value="exo-open --launch MailReader"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;w" type="string" value="libreoffice --writer"/>



Or, je ne vois pas vraiment de différence avec celles qui fonctionnent.

Dernière modification par Harashi (03-04-2022 12:25:51)


Thinkpad T440P avec osboot

Hors ligne

#4 04-04-2022 13:00:29

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : Certains raccourcis claviers ne restent pas en mémoire

je vois pas trop ce qui pourrais causer ce comportement
normalement tu peux afficher le raccourci

xfconf-query -cv xfce4-keyboard-shortcuts -p '/commands/custom/<Primary><Alt>w'


libreoffice --writer



pour ajouter tes raccourcis tu utilises ...parametres clavier , onglet raccourcis d'applications
ou tu passe par l'editeur de parametres?

essaye de voir si en réinstallant le paquet xfconf les choses s'améliore

apt install --reinstall xfconf

Dernière modification par Croutons (04-04-2022 13:00:51)


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#5 04-04-2022 15:47:36

Harashi
Membre
Lieu : Paris
Distrib. : Debian 12 (Bookworm)
Noyau : Linux 6.1.0-9-amd64
(G)UI : Cinnamon
Inscription : 15-09-2017

Re : Certains raccourcis claviers ne restent pas en mémoire

Croutons a écrit :

normalement tu peux afficher le raccourci


Effectivement la commande renvoi bien le bon raccourci.

Croutons a écrit :

pour ajouter tes raccourcis tu utilises ...parametres clavier , onglet raccourcis d'applications
ou tu passe par l'editeur de parametres?


Je vais dans paramètres clavier et onglet raccourci d'applications. J'ai regardé l'éditeur de paramètres, les raccourcis s'affichent, ils ne sont pas verrouillés, mais en les ré-enregistrant cela ne change rien.

Croutons a écrit :

essaye de voir si en réinstallant le paquet xfconf les choses s'améliore

apt install --reinstall xfconf


J'ai essayé, cela ne change rien.


Thinkpad T440P avec osboot

Hors ligne

#6 06-04-2022 17:38:49

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : Certains raccourcis claviers ne restent pas en mémoire

Bon j'ai trouvé sur le net comment voir plus de message dans le terminal se qui nous aidera peut etre a y voir plus clair
il faut activé le mode debug , relancer xfsettings deamon (--replace) , le mettre en avant plan (--no deamon), ce qui donne

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no deamon


test du raccourci Ctrl + Alt + w

xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 31 settings changed (serial=0, len=1216)
xfce4-settings(xsettings): resource manager (xft) changed (len=5228)
xfce4-settings(displays): Detected CRTC 63.
xfce4-settings(displays): Detected CRTC 64.
xfce4-settings(displays): Detected CRTC 65.
xfce4-settings(displays): Detected CRTC 66.
xfce4-settings(displays): Detected CRTC 67.
xfce4-settings(displays): Detected CRTC 68.
xfce4-settings(displays): Detected CRTC 69.
xfce4-settings(displays): Detected CRTC 70.
xfce4-settings(displays): Detected output 71 Virtual1.
xfce4-settings(displays): CRTC 63 assigned to Virtual1.
xfce4-settings(displays): CRTC 63, output list[0] -> 71.
xfce4-settings(displays): Total 1 active output(s).
xfce4-settings(displays): Normalized CRTC 63: size=1920x979, pos=0x0.
xfce4-settings(displays): min_h = 1, min_w = 1, max_h = 8192, max_w = 8192, prev_h = 979, prev_w = 1920, prev_hmm = 259, prev_wmm = 508, h = 979, w = 1920, hmm = 259, wmm = 508.
xfce4-settings(displays): Configuring CRTC 63.
xfce4-settings(displays): Configuring CRTC 64.
xfce4-settings(displays): Configuring CRTC 65.
xfce4-settings(displays): Configuring CRTC 66.
xfce4-settings(displays): Configuring CRTC 67.
xfce4-settings(displays): Configuring CRTC 68.
xfce4-settings(displays): Configuring CRTC 69.
xfce4-settings(displays): Configuring CRTC 70.
xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock on
xfce4-settings(accessibility): AccessXKeys disabled
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 11 shortcuts loaded
xfce4-settings(fontconfig): monitoring 85 paths
xfce4-settings(workspaces): 2 desktop names set from xfconf
xfce4-settings(keyboard-shortcuts): activated "<Primary><Alt>w" (command="libreoffice --writer", snotify=0, stamp=389740)



vu ici
https://forum.xfce.org/viewtopic.php?id=15160

Dernière modification par Croutons (06-04-2022 17:43:48)


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#7 07-04-2022 19:14:33

Harashi
Membre
Lieu : Paris
Distrib. : Debian 12 (Bookworm)
Noyau : Linux 6.1.0-9-amd64
(G)UI : Cinnamon
Inscription : 15-09-2017

Re : Certains raccourcis claviers ne restent pas en mémoire

J'ai tapé la commande en question :

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no deamon


xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 31 settings changed (serial=0, len=1212)
xfce4-settings(xsettings): resource manager (xft) changed (len=116)
xfce4-settings(displays): Detected CRTC 64.
xfce4-settings(displays): Detected CRTC 63.
xfce4-settings(displays): Detected CRTC 65.
xfce4-settings(displays): Detected output 66 LVDS1.
xfce4-settings(displays): CRTC 64 assigned to LVDS1.
xfce4-settings(displays): CRTC 64, output list[0] -> 66.
xfce4-settings(displays): Total 1 active output(s).
xfce4-settings(displays): Normalized CRTC 64: size=1280x800, pos=0x0.
xfce4-settings(displays): min_h = 8, min_w = 8, max_h = 32767, max_w = 32767, prev_h = 800, prev_w = 1280, prev_hmm = 211, prev_wmm = 338, h = 800, w = 1280, hmm = 212, wmm = 339.
xfce4-settings(displays): Applying desktop dimensions: 1280x800 (px), 339x212 (mm).
xfce4-settings(displays): Configuring CRTC 64.
xfce4-settings(displays): Configuring CRTC 63.
xfce4-settings(displays): Configuring CRTC 65.
xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock off
xfce4-settings(accessibility): AccessXKeys disabled
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 19 shortcuts loaded
xfce4-settings(fontconfig): monitoring 99 paths
xfce4-settings(workspaces): 2 desktop names set from xfconf
xfce4-settings(keyboard-shortcuts): activated "<Primary><Alt>w" (command="libreoffice --writer", snotify=0, stamp=262407)


Et là surprise, LibreOffice Writer s'ouvre. Je ferme le terminal et répète l'opération, cela fonctionne. J'essaie ensuite Super + M et Meld s'ouvre. Par contre je redémarre l'ordi et cela ne fonctionne plus.


Thinkpad T440P avec osboot

Hors ligne

#8 08-04-2022 12:21:55

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : Certains raccourcis claviers ne restent pas en mémoire

ah oui du coup aucun message d'erreur qui pourrait nous aiguiller hmm
bon j'ai lu quelqu'un qui avait mis un script pour relancer xfsettingsd , mais sa fait vraiment rustine comme solution
voyons voir si il y aurait pas des messages intéressant du coté d .xsession-errors

 cat ~/.xsession-errors



xfsettingsd est lancé via un fichier desktop présent dans le répertoire autostart

/etc/xdg/autostart/xfsettingsd.desktop



le lancement aurait pu être décoché par mégarde dans session et démarrage mais je pense que dans se cas tout les raccourcis auraient été affectés

edit: quoi que après vérification le fichier xfsettingsd.desktop n'est pas modifiable par l'utilisateur car il appartient a root , donc il sera bien lu même si on décoche dans session et démarrage

décocher la case créé un fichier desktop dans l'autostart de l'utilisateur avec une ligne

Hidden=true



la commande suivante supprimera le fichier si il existe

rm ~/.config/autostart/xfsettingsd.desktop



d’après mes dernier test il semble que xfsettingsd se lance avec les dernières options utilisé
donc une chose a tenté c'est tuer le processus actif et le relancer avec l'option --replace qui sera de nouveau présente au prochain redémarrage

killall xfsettingsd ; xfsettingsd --replace &



reboot du pc
le processus devrait apparaître avec l'option --replace

ps aux |grep xfsettingsd


stephane    1627  2.0  1.3 229036 25244 pts/0    Sl   14:32   0:00 xfsettingsd --replace
stephane    1633  0.0  0.0   6196   716 pts/0    S+   14:32   0:00 grep --color=auto xfsettingsd


les raccourcis fonctionne t'il toujours ?

Dernière modification par Croutons (08-04-2022 13:35:25)


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#9 09-04-2022 13:55:32

Harashi
Membre
Lieu : Paris
Distrib. : Debian 12 (Bookworm)
Noyau : Linux 6.1.0-9-amd64
(G)UI : Cinnamon
Inscription : 15-09-2017

Re : Certains raccourcis claviers ne restent pas en mémoire

Croutons a écrit :

voyons voir si il y aurait pas des messages intéressant du coté d .xsession-errors

 cat ~/.xsession-errors


La commande renvoie ceci :

Xsession: X session started for harashi at sam. 09 avril 2022 14:43:36 CEST
WARNING: tempfile is deprecated; consider using mktemp instead.
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/harashi/.Xauthority
localuser:harashi being added to access control list
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting USER=harashi
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting HOME=/home/harashi
dbus-update-activation-environment: setting DESKTOP_SESSION=lightdm-xsession
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting LOGNAME=harashi
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=fr_FR.UTF-8
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=lightdm-xsession
dbus-update-activation-environment: setting XAUTHORITY=/home/harashi/.Xauthority
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/harashi
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting GDMSESSION=lightdm-xsession
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting PWD=/home/harashi
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share/:/usr/share/
/usr/bin/x-session-manager: X server already running on display :0
/usr/bin/iceauth:  creating new authority file /run/user/1000/ICEauthority
xfce4-session-Message: 14:43:37.976: SSH authentication agent is already running
gpg-agent: une instance de gpg-agent fonctionne déjà —
pas de démarrage d'une nouvelle instance

(xfce4-panel:2776): garcon-CRITICAL **: 14:43:40.184: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed

(xfce4-panel:2776): garcon-CRITICAL **: 14:43:40.197: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed

(wrapper-2.0:2804): Gtk-WARNING **: 14:43:41.503: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26

(wrapper-2.0:2806): Gtk-WARNING **: 14:43:41.643: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26

(wrapper-2.0:2811): Gtk-WARNING **: 14:43:41.993: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26

(wrapper-2.0:2805): Gtk-WARNING **: 14:43:42.053: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:2812): Gtk-WARNING **: 14:43:42.122: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(wrapper-2.0:2807): Gtk-WARNING **: 14:43:42.168: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)

** (xfce4-power-manager:2834): WARNING **: 14:43:42.390: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name


** (xfce4-power-manager:2834): WARNING **: 14:43:42.391: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name

Xfce power manager is not running

(xfce4-power-manager:2834): GLib-GObject-WARNING **: 14:43:42.721: ../../../gobject/gsignal.c:2614: signal 'Changed' is invalid for instance '0x55ab0b79e8e0' of type 'GDBusProxy'
Gestionnaire d’alimentation Xfce: Un autre gestionnaire d’alimentation est déjà en cours d’exécution
Un autre démon de notification est en cours d’exécution, arrêt.

(xfce4-power-manager:2834): xfce4-power-manager-WARNING **: 14:43:43.721: could not map keysym 1008ffa8 to keycode


(xfce4-power-manager:2834): xfce4-power-manager-WARNING **: 14:43:43.870: Unable to set the kernel brightness switch parameter to 0.

(xfce4-power-manager:2834): xfce4-power-manager-WARNING **: 14:43:43.897: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’interface « org.freedesktop.UPower.KbdBacklight » n’existe pas pour l’objet à l’emplacement /org/freedesktop/UPower/KbdBacklight
blueman-applet 14.43.46 WARNING  PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority
blueman-applet 14.43.46 WARNING  PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
blueman-applet 14.43.46 WARNING  DiscvManager:109 update_menuitems: warning: Adapter is None
blueman-tray version 2.1.4 starting
There is an instance already running

(xfce4-session-settings:3245): Gtk-WARNING **: 14:45:34.579: Content added to the action area of a dialog using header bars

(xfce4-session-settings:3245): Gtk-WARNING **: 14:45:34.581: Content added to the action area of a dialog using header bars



Croutons a écrit :

décocher la case créé un fichier desktop dans l'autostart de l'utilisateur avec une ligne

Hidden=true



la commande suivante supprimera le fichier si il existe

rm ~/.config/autostart/xfsettingsd.desktop


J'ai vérifié avec un ls -a, le fichier n'a pas été créé.

Croutons a écrit :

d’après mes dernier test il semble que xfsettingsd se lance avec les dernières options utilisé
donc une chose a tenté c'est tuer le processus actif et le relancer avec l'option --replace qui sera de nouveau présente au prochain redémarrage

killall xfsettingsd ; xfsettingsd --replace &



reboot du pc
le processus devrait apparaître avec l'option --replace

ps aux |grep xfsettingsd


stephane    1627  2.0  1.3 229036 25244 pts/0    Sl   14:32   0:00 xfsettingsd --replace
stephane    1633  0.0  0.0   6196   716 pts/0    S+   14:32   0:00 grep --color=auto xfsettingsd


les raccourcis fonctionne t'il toujours ?


En tuant le processus et en le relançant avec l'option --replace les raccourcis fonctionnent à nouveau et le processus apparaît bien avec l'option --replace, mais malheureusement cela ne survit pas au reboot du PC :

ps aux |grep xfsettingsd


harashi    2775  1.1  1.2 228648 25532 ?        Sl   14:43   0:00 xfsettingsd --display :0.0 --sm-client-id 2e00b1cae-190e-4222-a8df-21ba2f382066
harashi    2994  0.0  0.0   6196   656 pts/0    S+   14:44   0:00 grep xfsettingsd


Après il est possible de créer un fichier qui lance automatiquement cette commande de remplacement au démarrage, même si comme tu l'as dis auparavant cela fait un peu rustine.


Thinkpad T440P avec osboot

Hors ligne

Pied de page des forums