You are not logged in.

#1 2006-02-04 21:21:21

Rock Lee
Member
Registered: 2004-03-14
Posts: 17

[SOLVED] two questions about xfce: keyboard and xinitrc

i. keyboard__________________

keyboard works well in shell, after starts. But in xfce, the AltGr not works. I think that I modify something in xorg.conf:

Section "InputDevice"
        Option "XkbModel" "pc105"

My keyboard is an spanish keyboard, and special characters like ñ works. Well, some sugestions?, where I can look keyboard models (I use "hwd -x " to make the xorg.conf file)? I am wrong?


ii. xinitrc____________________

when I make "vi .xinitrc" and put only this:

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
exec xfdesktop

Xfce4 starts correctly. But, when I launch an app, like mozilla-firefox, or aterm, the app goes to the left-upper corner of the screen; and I can't resize or move them. Also the superior bar of the app window has disapperad. Something it's missed? I use this metod, because I'm lost in the xinitrc file (/opt/xfce4/etc/xdm/xfce4/xinitrc); and I want to use the conky ...etc etc (with "conky&" in xinitrc)

Well, thanks again.

Offline

#2 2006-02-04 21:54:55

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

xinitrc:

change it to

conky &
exec startxfce


iphitus

Offline

#3 2006-02-04 22:30:40

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

Rock Lee wrote:

i. keyboard__________________

keyboard works well in shell, after starts. But in xfce, the AltGr not works. I think that I modify something in xorg.conf:

Section "InputDevice"
        Option "XkbModel" "pc105"

My keyboard is an spanish keyboard, and special characters like ñ works. Well, some sugestions?, where I can look keyboard models (I use "hwd -x " to make the xorg.conf file)? I am wrong?

You could back up your xorg.conf file and create a new one manually with running 'xorgconfig' as root.  There you can choose your keyboard model and layout. If you don't bother about the rest of the config, you can copy and paste this section from the newly created xorg.conf to the backed up and rename the backed up again to xorg.conf

Offline

#4 2006-02-05 10:51:30

Rock Lee
Member
Registered: 2004-03-14
Posts: 17

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

keyboard________________[SOLVED]

"hw -x" don't configure the "XkbLayout" option of the keyboar setting:

Identifier "Keyboard0"
    Option "XkbLayout" "es"

xinitrc__________________

I put

       conky &
       exec startxfce4

in the end of the .xinitrc, but XFCE starts slower, and conky disappears....some sugestions?


Thanks for the replies  smile

Offline

#5 2006-02-05 11:46:29

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

Set the 'own_window True' option in your config file

Offline

#6 2006-02-06 15:36:53

mac57
Member
From: St. Somewhere
Registered: 2006-01-06
Posts: 304
Website

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

OK, I will bite. What is conky? I am using XFCE4, and have in fact hacked my .xinitrc in pretty much the same way, although I blended in rox desktop as well. I don't use conky. What is it and why would I want it with XFCE4?


Cast off the Microsoft shackles Jan 2005

Offline

#7 2006-02-06 19:48:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

Conky is an app which displays the information of your choice (CPU/memory/network usage, HD space and much more) on the desktop. It's in the community repo so you can easily install it and check it out. smile I don't know if it'll work with rox desktop, though.

Offline

#8 2006-02-06 21:35:09

Rock Lee
Member
Registered: 2004-03-14
Posts: 17

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

I try to hack the .xinitrc file in the old way but, I have a problem: xfce4 uses xfce4_session, and if I'm not wrong, I've to hack:

/opt/xfce4/etc/xdg/xfce4-session/xfce4-session.rc

but this file it's used only in the first start. Therefore, I tried with:

$HOME/.config/xfce4

but I don't know how to add conky. I will search in the web, and report my finds....woooaaa  lol

Offline

#9 2006-02-06 21:53:41

Rock Lee
Member
Registered: 2004-03-14
Posts: 17

Re: [SOLVED] two questions about xfce: keyboard and xinitrc

well, now I'm in winXP and not tried this: put a symlink into ~/Desktop/Autostart/

mkdir ~/Desktop/Autostart
ln -s /usr/bin/conky ~/Desktop/Autostart/conky
ls -l ~/Desktop/Autostart

when I've tried it, I will report the result.

Somebody else knows how to add startup apps in xfce4-session. I've tried to "save session" after starting conky; but when I restart xfce, conky has disapeared.

....well, IT WORKS! [SOLVED] the keyboard problem

Offline

Board footer

Powered by FluxBB