LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-05-2013, 03:00 PM   #1
djmb
LQ Newbie
 
Registered: Feb 2011
Location: Paris
Distribution: Debian Wheezy amd64 xfce desktop
Posts: 23

Rep: Reputation: 0
keybord and application shortcuts on XFCE4: weird things occur


Dear all,

i have just installed debian wheezy on a new computer with xfce4. I have some strange things happening with keyboard shortcuts and apps.

some shortcuts will not be saved when I log out, when others will... for instance the <primary><Alt>m will not be remembered when I log out but the <primary><Alt>u will. THe same for application shortcuts: <primary><Alt>w will not but <primary><Alt>i will remain... If I set them again, they work fine for the current session. I have checked the 'save session' on log-out

could it be possible that keyboard keys that change between layout (w, m, etc; i have an azerty layout) will actually not be remembered? or is it something else?

last, the keyboard shortcut for "hide window" does not work all the time and I don't know why.

two last things:
- I cannot copy and paste in the terminal using <primary>shiftC and <primary>shiftV: no idea why
- what is the <Super> key???
 
Old 10-07-2013, 12:34 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by djmb View Post
If I set them again, they work fine for the current session. I have checked the 'save session' on log-out

could it be possible that keyboard keys that change between layout (w, m, etc; i have an azerty layout) will actually not be remembered? or is it something else?
Is it only the shortcuts (key combinations) involving keys that are different between azerty and qwerty keyboards that have this problem?
Quote:
Originally Posted by djmb View Post
two last things:
- I cannot copy and paste in the terminal using <primary>shiftC and <primary>shiftV
What's "<primary>"?
Quote:
Originally Posted by djmb View Post
- what is the <Super> key???
Also known as the Windows key.
 
Old 10-07-2013, 04:25 PM   #3
djmb
LQ Newbie
 
Registered: Feb 2011
Location: Paris
Distribution: Debian Wheezy amd64 xfce desktop
Posts: 23

Original Poster
Rep: Reputation: 0
@ catkin,

thanks for your answer. To continue on the topic

yes: apparently so far I had problems only with the following keys: m and w; I haven't tried the other one. t, h, l, d, u, i work fine for instance. I would find it strange that it comes from the keyboard layout.

<primary> is CRTL; it's the way it is reported when I use it as a keyboard shortcut. So how do you copy and paste in the terminal. I used to use CTRL + V and CTRL + C. I found out that SHIFT+Insert works for pasting. But it's not really practical and I still don't have a copy command.

for <Super> key: thanks it's... super.
 
Old 10-09-2013, 01:59 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by djmb View Post
yes: apparently so far I had problems only with the following keys: m and w; I haven't tried the other one. t, h, l, d, u, i work fine for instance. I would find it strange that it comes from the keyboard layout.
Strange but apparently true. What's in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml for the failing hotkeys? What happens if (with xfce not running) you swap the qwerty/azerty letters in the shortcut definitions in that file?

Quote:
Originally Posted by djmb View Post
So how do you copy and paste in the terminal. I used to use CTRL + V and CTRL + C. I found out that SHIFT+Insert works for pasting. But it's not really practical and I still don't have a copy command.
Which terminal? I use urxvt and have it set up so selection does copy and Ctrl+Shift+v does paste. Ctrl+c is not an option because it is used to generate an interrupt in all(?) shells. Middle mouse (or mouse wheel click) are also popular equivalents of Shift+Insert so may be set up on your system.

Last edited by catkin; 10-09-2013 at 02:01 AM.
 
Old 10-09-2013, 03:39 PM   #5
djmb
LQ Newbie
 
Registered: Feb 2011
Location: Paris
Distribution: Debian Wheezy amd64 xfce desktop
Posts: 23

Original Poster
Rep: Reputation: 0
@catkin

Hi, thank you for answering.

So i had a look into ~/.config/xfce4/xfconf/xfce-perchannel-xml/ and I can only find the following file xfce4-keyboard-shortcuts.xml.

I looked at the appropriate shortcuts when using keys I do not wish to use and it says:
<property name="<Primary><Alt>l" type="string" value="maximize_window_key"/>

when using keys I want to use once I have logged in (that is when it actually works) it says:
<property name="<Primary><Alt>m" type="string" value="maximize_window_key"/>

when logging out and coming back from the previous set up ('m' key that does not work) it says:
<property name="<Primary><Alt>m" type="string" value="maximize_window_key"/>

So it looks like the shortcut is set properly (at least it is set up the same) but the problem must come from somewhere else no? ANy idea?

######################
I am using "xterm" for terminal. I will look into how to set it up.

Thanks,
 
Old 10-09-2013, 11:24 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
AFAIK Xfce saves config files when the session is logged out so that could be what is changing the file from what works to what does not work.

It might be helpful to report this as a bug.

Meanwhile, how to workaround it? You could arrange to replace xfce4-keyboard-shortcuts.xml with a working copy before Xfce loads it. That could easily be done with a boot script but it would fail if you did not reboot between logins. The more robust solution is to hook into the graphical login sequence, after authentication and before Xfce starts. Unfortunately that is not well documented and seems to change with every release.

You could try creating ~/.xprofile with a command to replace xfce4-keyboard-shortcuts.xml with a working copy. That file is sourced by several (many? all?) graphical login managers so it might work. Give ~/.xprofile 755 permissions (more than required -- can always be cut back later) and do not put an exit command in it!

If that doesn't work other possibilities are ~/.profile and /etc/xprofile but neither are as appropriate as ~/.xprofile
 
Old 10-14-2013, 02:59 PM   #7
djmb
LQ Newbie
 
Registered: Feb 2011
Location: Paris
Distribution: Debian Wheezy amd64 xfce desktop
Posts: 23

Original Poster
Rep: Reputation: 0
Hi Catkin,

I thinkg I'm gonna make it simple and get used to the new keyboard shortcuts! Your recommandations are above my league unfortunately. Thanks for the tip though.

best,
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] altering xfce4 window manager shortcuts michaelslack Slackware 2 04-10-2013 02:49 AM
while updating and installing application problem occur shanmugamvel Linux - Laptop and Netbook 2 08-04-2012 09:22 AM
while updating and installing application problem occur shanmugamvel Linux - Laptop and Netbook 1 08-02-2012 04:30 PM
[SOLVED] XFCE4 not picking up on shortcuts djsmiley2k Linux - Desktop 1 08-22-2010 08:42 AM


All times are GMT -5. The time now is 10:25 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