Unix Technical Forum

slack10. where is xinitrc??

This is a discussion on slack10. where is xinitrc?? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> hi all, logged in as root, cant find xinitrc. isnt it usually in /usr/X11R6/lib/X11/xinit/ ? thanks...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:59 AM
Phil
 
Posts: n/a
Default slack10. where is xinitrc??

hi all,

logged in as root, cant find xinitrc.

isnt it usually in /usr/X11R6/lib/X11/xinit/ ?

thanks


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:59 AM
Thomas Ronayne
 
Posts: n/a
Default Re: slack10. where is xinitrc??

Phil wrote:

>hi all,
>
>logged in as root, cant find xinitrc.
>
>isnt it usually in /usr/X11R6/lib/X11/xinit/ ?
>
>thanks
>
>
>

find / -name xinitrc -exec ls -l {} \;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:59 AM
Lew Pitcher
 
Posts: n/a
Default Re: slack10. where is xinitrc??

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil wrote:
> hi all,
>
> logged in as root, cant find xinitrc.
>
> isnt it usually in /usr/X11R6/lib/X11/xinit/ ?


It is in /etc/X11/xinit

IIRC, up to about 8.x, /etc/X11 was a symlink to /usr/X11R6/lib/X11, but in
later releases, it was made into a directory under /etc


- --
Lew Pitcher
IT Specialist, Enterprise Data Systems,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFC5NnwagVFX4UWr64RAu4zAJ40GaTYHr6TFYoBuojKaI y06bLjTACdFlXx
ZNP2hlDJPrWnBRJinnj3FvQ=
=HDpd
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:59 AM
Phil
 
Posts: n/a
Default Re: slack10. where is xinitrc??

thanks. okay, so this outputs the path but the path is followed by ->
xinitrc.kde
or somthing similar. what the hell does this mean? on other distributions i
was able to change the window manager by editing xinitrc but it seems that
slackware has already produced a xinitrc file for each window manager. is
this the case? if so how do i implement them??

thanks



"Thomas Ronayne" <trona@REMOVETHISameritech.net> wrote in message
news:kH4Fe.651$gt5.589@newssvr17.news.prodigy.com. ..
> Phil wrote:
>
> >hi all,
> >
> >logged in as root, cant find xinitrc.
> >
> >isnt it usually in /usr/X11R6/lib/X11/xinit/ ?
> >
> >thanks
> >
> >
> >

> find / -name xinitrc -exec ls -l {} \;



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:59 AM
Joe
 
Posts: n/a
Default Re: slack10. where is xinitrc??

Phil wrote:

> thanks. okay, so this outputs the path but the path is followed by ->
> xinitrc.kde
> or somthing similar. what the hell does this mean?


That's a symbolic link.

> on other distributions
> i was able to change the window manager by editing xinitrc but it seems
> that slackware has already produced a xinitrc file for each window
> manager. is this the case? if so how do i implement them??


On Slack you just change the symbolic link. For example, if you want to use
fluxbox:

# ln -sf xinitrc.fluxbox xinitrc

or you use xwmconfig

Joe



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:59 AM
Lew Pitcher
 
Posts: n/a
Default Re: slack10. where is xinitrc??

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil wrote:
> thanks. okay, so this outputs the path but the path is followed by ->
> xinitrc.kde


So, your "default" xinitrc is a symlink to the xinitrc that starts up KDE
What's the worry?

> or somthing similar. what the hell does this mean?


That, if the user doesn't override with a ~/.xsession or ~/.xinitrc of their
own, they get the xinitrc that starts KDE

> on other distributions i
> was able to change the window manager by editing xinitrc but it seems that
> slackware has already produced a xinitrc file for each window manager. is
> this the case? if so how do i implement them??


First off, there's nothing stopping you from either
a) removing the xinitrc softlink, and making your own xinitrc, or
b) pointing the xinitrc softlink to a different 'prepackaged' xinitrc.xxx, or
c) customizing /any/ of the supplied xinitrc.xxx files

So, what do you want to do?

Do you want a custom xinitrc? If so, then
rm /etc/X11/xinit/xinitrc
pico /etc/X11/xinit/xinitrc

Do you want to switch to a different WM? If so, then
rm /etc/X11/xinit/xinitrc
ln -s /etc/X11/xinit/xinitrc.xxx /etc/X11/xinit/xinitrc

Do you want to customize one of the supplied xinitrc? If so, then
pico /etc/X11/xinit/xinitrc.xxx

Go to it. It's your system; the Slackware install just gives you a base that you
can customize to your liking.

[snip]

- --
Lew Pitcher
IT Specialist, Enterprise Data Systems,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFC5OKaagVFX4UWr64RAgMDAKC/0bpTwEPVrMoqpNacS+KAQLwhBQCgz6Qb
JKdOkTomn6R/yCXa9Xu4dkk=
=dRS3
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:59 AM
Jim
 
Posts: n/a
Default Re: slack10. where is xinitrc??

On Mon, 25 Jul 2005 12:38:48 +0000, Phil wrote:

> thanks. okay, so this outputs the path but the path is followed by ->
> xinitrc.kde
> or somthing similar. what the hell does this mean? on other distributions i
> was able to change the window manager by editing xinitrc but it seems that
> slackware has already produced a xinitrc file for each window manager. is
> this the case? if so how do i implement them??


If you look, xinitrc is a symlink to one of the xinitrc.??? files.
On my system:

$ l /etc/X11/xinit/

-rw-r--r-- 1 root root 321 2005-01-23 20:48 README.Xmodmap
lrwxrwxrwx 1 root root 13 2005-07-10 07:29 xinitrc -> xinitrc.gnome
-rwxr-xr-x 1 root root 556 2003-03-16 14:59 xinitrc.blackbox
-rwxr-xr-x 1 root root 560 2005-01-22 10:34 xinitrc.fluxbox
-rwxr-xr-x 1 root root 559 2005-01-31 07:54 xinitrc.fvwm2
-rwxr-xr-x 1 root root 630 2005-04-11 15:30 xinitrc.gnome
-rwxr-xr-x 1 root root 664 2005-01-23 20:45 xinitrc.twm
-rwxr-xr-x 1 root root 788 2004-10-28 12:54 xinitrc.wmaker

--

Quidquid latine dictum sit, altum viditur.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 09:59 AM
Larry Gagnon
 
Posts: n/a
Default Re: slack10. where is xinitrc??

On Mon, 25 Jul 2005 12:02:27 +0000, Phil wrote:

> hi all,
>
> logged in as root, cant find xinitrc.
>
> isnt it usually in /usr/X11R6/lib/X11/xinit/ ?
>
> thanks


locate xinitrc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 09:59 AM
Phil
 
Posts: n/a
Default thanks all but.....Re: slack10. where is xinitrc??

I understand the concept now, however joe, i can't seem make the link
command work. the xwmconfig works fine tho. any further ideas on the ln
command??

thanks


"Lew Pitcher" <Lew.Pitcher@td.com> wrote in message
news:SQ4Fe.825$q23.245675@news20.bellglobal.com...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Phil wrote:
> > hi all,
> >
> > logged in as root, cant find xinitrc.
> >
> > isnt it usually in /usr/X11R6/lib/X11/xinit/ ?

>
> It is in /etc/X11/xinit
>
> IIRC, up to about 8.x, /etc/X11 was a symlink to /usr/X11R6/lib/X11, but

in
> later releases, it was made into a directory under /etc
>
>
> - --
> Lew Pitcher
> IT Specialist, Enterprise Data Systems,
> Enterprise Technology Solutions, TD Bank Financial Group
>
> (Opinions expressed are my own, not my employers')
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
>
> iD8DBQFC5NnwagVFX4UWr64RAu4zAJ40GaTYHr6TFYoBuojKaI y06bLjTACdFlXx
> ZNP2hlDJPrWnBRJinnj3FvQ=
> =HDpd
> -----END PGP SIGNATURE-----



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 09:59 AM
William Hamblen
 
Posts: n/a
Default Re: slack10. where is xinitrc??

On 2005-07-25, Phil <pra02kfk@sheffield.ac.uk> wrote:

> logged in as root, cant find xinitrc.
>
> isnt it usually in /usr/X11R6/lib/X11/xinit/ ?


/etc/X11/xinit/xinitrc

--
The night is just the shadow of the Earth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com