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...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| -----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----- |
| |||
| 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 {} \; |
| |||
| 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 |
| |||
| -----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----- |
| |||
| 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. |
| |||
| 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----- |