Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-11-09 16:58:27

JoeRiel
Member
Registered: 2018-11-09
Posts: 5

xfce4-keyboard-shortcuts.xml changes do not work after logout/login

Any changes I make to customize keyboard shortcuts initially work in the session. After logging out and logging back in they no longer work, though they still appear properly in the Settings Editor. Any clues on how to debug this? I'm using a fresh install of Debian 9.5 stable which uses xfwm4 version 4.12.4.

Last edited by JoeRiel (2018-11-09 17:34:24)

Offline

#2 2018-11-09 19:59:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,004

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

Hello and welcome.

Can you check the permissions of the configuration files:

ls -al ~/.config/xfce4/xfconf/xfce-perchannel-xml/

Do you have an ~/.xsession-errors.old file? If so, can you paste it's contents back? Maybe something is crashing on exit preventing the save.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-11-10 00:12:55

JoeRiel
Member
Registered: 2018-11-09
Posts: 5

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

Permissions seems normal:

ls -l .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
-rw-r--r-- 1 joe joe 10060 Nov  9 16:04 .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

The file is properly updated, the changes just aren't used when xfce is started.

Offline

#4 2018-11-10 01:12:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,004

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

Is xfsettingsd running on re-login?
When you logout, are any xfce processes (xfsettingsd, xfconfd) still running?

Do you have an ~/.xsession-errors.old file?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2018-11-10 03:06:14

JoeRiel
Member
Registered: 2018-11-09
Posts: 5

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

Sorry, not sure how to tell.  xfsettingsd and the other xfce process daemons are running after login.  Oh, do you mean are they still running after logging out? Let me check...After logging out, just xfconfd is running. Should it be?  I do have an .xsessions-error.old file but it doesn't seem to have anything relevant (to my untrained eye):

<snipped>
/usr/bin/x-session-manager: X server already running on display :0
xfce4-session-Message: SSH authentication agent is already running
gpg-agent[25665]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:25656): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
libpager-Message: Setting the pager rows returned false. Maybe the setting is not applied.
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000

(xfce4-terminal:25687): Gtk-WARNING **: Allocating size to GtkScrollbar 0x11651d8 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(xfce4-terminal:25687): Gtk-WARNING **: Allocating size to GtkScrollbar 0x11655e0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(xfce4-terminal:25687): Gtk-WARNING **: Allocating size to GtkScrollbar 0x1165738 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000
alloc factor 0.900000 0.900000

(xfce4-terminal:25687): Gtk-WARNING **: Allocating size to GtkScrollbar 0x1165738 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(xfce4-terminal:25687): Gtk-WARNING **: Allocating size to GtkScrollbar 0x1165738 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(xfce4-session:25656): Gtk-CRITICAL **: IA__gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(xfce4-session:25656): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Gdk-Message: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Gdk-Message: light-locker: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Gdk-Message: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Last edited by JoeRiel (2018-11-10 03:13:51)

Offline

#6 2018-11-10 03:42:19

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,004

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

JoeRiel wrote:

After logging out, just xfconfd is running. Should it be?

No. It's a bug. See: https://bugzilla.xfce.org/show_bug.cgi?id=13445 and https://forum.xfce.org/viewtopic.php?id=11490. Try setting:

KillUserProcesses=yes

...in /etc/systemd/logind.conf (uncomment the line, change the "no" to "yes" and reboot). See if that makes a difference.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2018-11-10 03:58:39

JoeRiel
Member
Registered: 2018-11-09
Posts: 5

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

Alas, that didn't fix the issue.  I did verify that xfconfd is no longer running after logging out. But changes to xfce4-keyboard-shortcuts.xml have no effect after logging out and back in.  They do work when first defined (using the settings editor).

Followup After reading the second link to a related problem you mentioned, above, I then tried using the xfwm4-settings editor to set the values (previously I was using xfce4-settings-editor).  In addition to being slightly easier to use, the change made by xfwm4-settings survived a logout/login.  So that worked around the bug.

Further Still I went back and used xfce-settings-editor to reset one of the shortcuts. It remained reset after a logout/in. Then used the same editor to recreate the desired shortcut. It continued to work after a login/logout.  So it isn't clear to me what has fixed this.  I definitely tried changing a value using xfce-settings-editor immediately after rebooting following the change you suggested to stop xfconfd and that did not fix it then.  Anyhow, it is working now.  Thanks for the pointers, they were helpful.

Last edited by JoeRiel (2018-11-10 05:35:23)

Offline

#8 2018-11-10 12:57:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,004

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

That is odd. Glad it's working now.

Last edited by ToZ (2018-11-10 12:59:10)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2018-11-11 17:22:24

JoeRiel
Member
Registered: 2018-11-09
Posts: 5

Re: xfce4-keyboard-shortcuts.xml changes do not work after logout/login

One more note. I realized last night that I had unintentionally installed a 32-bit version of Debian. So I reinstalled a 64-bit version. I had the same issues. Before fixing the /etc/systemd/login.conf file, I tried the two settings editors (xfce4-settings-editor and xfwm-settings) to modify the keyboard shortcuts.  Only the changes made by xfm-settings survived a logout/login.  So the problem appears to be isolated to xfce4-settings-editor.

Offline

Board footer

Powered by FluxBB