LinuxQuestions.org
Review your favorite Linux distribution.
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
 
Search this Thread
Old 03-14-2009, 11:47 PM   #1
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Question xfce and .Xmodmap - difference from KDE and other window managers


Hi all,

This Saturday I upgraded two test machines to the latest -current version of Slackware and what I had been expecting was confirmed: KDE became too bloated for me. Example: some simple music videos started pausing on a machine with a Core2-Duo 3MHz processor and 4GB of memory. On all other desktop managers they play very smoothly.

So I decided trying xfce 4.6 that comes with the latest -current version.
I already use xfce on some older hardware and am quite used to it, but now I will use it on a daily basis on one machine.

Now I use a keyboard with several extra keys I mapped with .Xmodmap in /etc/X11/xinit/ (for all users) and some keys I map depending on the user that is logged in with ~/.Xmodmap
This works fine in KDE, Blackbox & Fluxbox, but not in xfce.
Researching a bit, I found out that the xinitrc.xfce script in /etc/X11/xinit is different from the other xinitrc scripts (like xinitrc.kde, xinitrc.blackbox, etc.) Only the one from xfce does not read the .Xmodmap from the general folder /etc/X11/xinit - just the specific user file ~/.Xmodmap

Is this by design? Or is it a bug that somehow found its way in there?
It is easy to correct, just adding a few lines to the script, but that would be overwritten by the next version of xfce.

Is it worth writing Pat about this, or does this script come directly from the upstream team?
 
Old 03-15-2009, 12:48 AM   #2
eerok
Member
 
Registered: Nov 2005
Location: Canada
Distribution: Mint, Debian
Posts: 168

Rep: Reputation: 32
Well, don't be too quick to draw conclusions about KDE4 in -current, because it's not ready for prime time. I run it on Arch and it's fast and solid. I'm sure it'll be fine on Slack as well when the time comes. (As it happens, I've been years away from Slack, tried -current today, hated it, replaced it with 12.2 and I think it's pretty nice, though with Fluxbox because I never liked KDE3.)

The Xfce is also a new version in -current I believe. I don't know the source of the problem, either, but I'd pass it along anyway.
 
Old 03-15-2009, 02:26 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,974

Rep: Reputation: Disabled
The user-specific xinitrc script for xfce is installed by upstream. If there's something that it should do differently (and after confirming that I'm correct on this ), please file a bug with them and link to it here so that I can follow it.
 
Old 03-15-2009, 08:59 PM   #4
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 89
OK, false alarm... There is no bug in XFCE after all...

What happens is the following:
- the /etc/X11/xinit/.Xmodmap is read correctly
- the xinitrc script also reads ~/.Xmodmap correctly (tried it with several tests)

But then I had my keyboard layout set in settings and this overrules the Xmodmap definitions, effectively ignoring all my work.
So I enabled "Use system defaults" in the layout-tab and now everything works fine
 
Old 03-16-2009, 06:23 AM   #5
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 89
uhm, testing a bit more... I think XFCE is *not* reading /etc/X11/xinit/.Xmodmap - just the user-specific ~/.Xmodmap

Yesterday I thought it read the general file but I was testing the wrong way. It only works putting everything in $HOME
Maybe I'll have to file that bug report after all...
 
  


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
change window managers xfce to kde liuguobiao Linux - Newbie 3 12-22-2008 03:39 AM
Different window managers? (for KDE & Blackbox) ph0b0s Linux - Desktop 1 11-26-2006 12:41 AM
Window managers in KDE and Gnome gordingin Linux - Newbie 1 09-29-2004 04:51 PM
How about changing window managers in KDE? jenna_h Linux - Software 8 11-09-2003 10:57 AM
window managers vs kde/gnome externalgreenfu Linux - Software 3 07-14-2003 01:35 AM


All times are GMT -5. The time now is 03:33 AM.

Main Menu
Advertisement
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