LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-28-2004, 10:25 AM   #1
pepehonguito
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake 10.0
Posts: 12

Rep: Reputation: 0
Mandrake and xinitrc


Hi all!

When I'm booting in text mode on Mandrake 10.1, and then I do startx, the X server start properly, reading my configuration file ~/.xinitrc. But, when I boot on graphical mode, I can't make it read it. I need it, because I'm using blackbow as window manager, and I want to start xscreensaver, bbkeys and gkrellm with blackbox.
Any suggestion?

Pepe Honguito
 
Old 09-29-2004, 02:29 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
That's normal. .xinitrc is only read if you use xinit, of which startx is a wrapper.
When you login using gdm/kdm, the script that gets executed is /etc/X11/Xsession.

For this problem, what I usually do is modify Xsession so that before starting the window manager, it does that:
Code:
[ -x "${HOME}/.Xclients" ] && . "${HOME}/.Xclients" &
Then I change .xinitrc, so that it does the same, and only xinit-specific things remain in .xinitrc. All common apps are put inside .Xclients.

Yves.

Last edited by theYinYeti; 09-29-2004 at 02:31 AM.
 
Old 09-29-2004, 07:55 AM   #3
pepehonguito
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Hey, thanks a lot! I'll try that now.
Regards,

Pepe Honguito
 
  


Reply



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
Where can I find .xinitrc in Mandrake 10, trying to get XPde running at start up. RHLinuxGUY Mandriva 1 08-24-2004 08:46 PM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 05:57 PM
.xinitrc unimaginative Linux - Newbie 1 01-03-2004 10:53 PM
.xinitrc nakkaya Linux - Software 1 04-11-2003 03:12 PM
.xinitrc mrsolo Linux - Software 5 10-30-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:23 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
Open Source Consulting | Domain Registration