LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-16-2011, 06:18 AM   #1
kaapa
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
XFCE keyboard shortcuts don't work anymore [-current]


I'm using -current (xfce-4.6.2)


I've noticed that the shortcuts I define aren't working anymore. The ones I define through windowmanager -> keyboard are ok, but the ones through keyboard-> application shortcuts are ignored.


Anyone saw this behavior?


Thanks

Last edited by kaapa; 03-16-2011 at 10:19 AM.
 
Old 03-16-2011, 06:54 AM   #2
kaapa
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Found the reason, just don't know what's causing this


*** glibc detected *** xfce4-settings-helper: munmap_chunk(): invalid pointer: 0x080a6a0c ***
======= Backtrace: =========
/lib/libc.so.6(+0x6f68a)[0xb6f8668a]
/usr/lib/libX11.so.6(XFree+0x1d)[0xb70b704d]
/usr/lib/libXi.so.6(XFreeFeedbackList+0x1d)[0xb77f90ed]
xfce4-settings-helper[0x804d887]
xfce4-settings-helper[0x804dd5c]
xfce4-settings-helper[0x804ddfb]
/usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x3f1)[0xb73177b1]
/usr/lib/libgobject-2.0.so.0(+0xdf45)[0xb72f3f45]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0x9cf)[0xb72f76bf]
/usr/lib/libgobject-2.0.so.0(g_object_new+0xa0)[0xb72f8460]
xfce4-settings-helper[0x804bc3c]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb6f2ddb6]
xfce4-settings-helper[0x804b561]
======= Memory map: ========
08048000-08050000 r-xp 00000000 08:07 3432712 /usr/bin/xfce4-settings-helper
08050000-08051000 rw-p 00008000 08:07 3432712 /usr/bin/xfce4-settings-helper
08051000-080b4000 rw-p 00000000 00:00 0 [heap]
 
Old 03-16-2011, 07:38 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,345

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
probably xfce should be recompiled with the new glib2 ??
 
Old 03-16-2011, 08:00 AM   #4
kaapa
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
But this is --current, I wouldn't expect to have problems with it
 
Old 03-16-2011, 10:18 AM   #5
kaapa
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Some issues in .config/xfce4/xfconf/xfce-perchannel-xml . Moved them out of the way and after restart xfce worked again
 
Old 06-14-2011, 08:13 PM   #6
lq2000
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 2
I've just hit this bug today. In case this is of help to anyone, the problem is an invalid free in xfce4-settings-helper/pointers.c. The commit which fixes this is commit 92b0b61cf7cd82861d8a7ff407b0b2b927b4151f in the xfce4-settings git repository.

Code:
commit 92b0b61cf7cd82861d8a7ff407b0b2b927b4151f
Author: Nick Schermer <nick@xfce.org>
Date:   Thu Dec 2 18:55:48 2010 +0100

    Fix free of invalid memory (bug #6909).

diff --git a/xfce4-settings-helper/pointers.c b/xfce4-settings-helper/pointers.c
index a1a352d..6e37202 100644
--- a/xfce4-settings-helper/pointers.c
+++ b/xfce4-settings-helper/pointers.c
@@ -310,7 +310,7 @@ xfce_pointers_helper_change_feedback (XDevice *device,
                                       gint     threshold,
                                       gdouble  acceleration)
 {
-    XFeedbackState      *states;
+    XFeedbackState      *states, *pt;
     gint                 num_feedbacks;
     XPtrFeedbackControl  feedback;
     gint                 n;
@@ -323,10 +323,10 @@ xfce_pointers_helper_change_feedback (XDevice *device,
     if (G_LIKELY (states))
     {
         /* get the pointer feedback class */
-        for (n = 0; n < num_feedbacks; n++)
+        for (pt = states, n = 0; n < num_feedbacks; n++)
         {
             /* find the pointer feedback class */
-            if (states->class == PtrFeedbackClass)
+            if (pt->class == PtrFeedbackClass)
             {
                 if (acceleration > 0 || acceleration == -1)
                 {
@@ -351,7 +351,7 @@ xfce_pointers_helper_change_feedback (XDevice *device,
                 /* create a new feedback */
                 feedback.class      = PtrFeedbackClass;
                 feedback.length     = sizeof (XPtrFeedbackControl);
-                feedback.id         = states->id;
+                feedback.id         = pt->id;
                 feedback.threshold  = threshold;
                 feedback.accelNum   = num;
                 feedback.accelDenom = denom;
@@ -364,7 +364,7 @@ xfce_pointers_helper_change_feedback (XDevice *device,
             }
 
             /* advance the offset */
-            states = (XFeedbackState *) ((gchar *) states + states->length);
+            pt = (XFeedbackState *) ((gchar *) pt + pt->length);
         }
 
         /* cleanup */
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XFCE Keyboard Shortcuts Stop Working rmjohnso Slackware 4 05-23-2010 06:55 PM
YAXP - Yet another xfce problem - keyboard shortcuts samac Slackware 4 09-13-2009 10:15 AM
xfce keyboard shortcuts assignments coontie Linux - Software 1 02-14-2007 06:28 PM
Xfce 4.4 keyboard shortcuts? mjjzf Linux - Desktop 1 01-24-2007 09:25 AM
Keyboard Shortcuts are not working anymore!!! ed_po Linux - Newbie 6 06-18-2006 05:48 AM


All times are GMT -5. The time now is 07:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration