Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-26-2006, 08:54 PM
|
#1
|
Member
Registered: May 2006
Posts: 53
Rep:
|
Setting path for new GUI
I just installed slackware, and made and installed the GUI icewm.
Now to make it my default windows manager I have to:
"In order to run IceWM, you must assure that the executable (called icewm) is in your path. You should then add IceWM to your X start-up script"
source:
nevermind it wont let me post URLs...but its the icewm installation guide.
I'm confused at how I do this, since I'm pretty new to linux.
Any help would be great.
|
|
|
05-26-2006, 09:20 PM
|
#2
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
do you boot to the console (blank screen where you login), or do you have a login manager (gui screen that let's you login and pick a desktop)?
if you boot to console, add:
exec icewm
to the very bottom of your .xinitrc file, which will be in your home directory. then try startx. if it doesn't work, it might not be in your path (find out where it is with "whereis icewm", then check it against your path with "echo $PATH"). if it's not there, add it to the path in your ~/.bashrc file (also in the home directory). i know all that can probably seem a little overwhelming, so just post back for more help if you get to that point. hopefully it's already in your path and you won't have to worry about it.
if you login with a login mgr, i think it'll depend on which one, so you'll also have to post back with more details in that case.
|
|
|
05-26-2006, 10:16 PM
|
#3
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
Thanks for the reply!
Nope I don't use a manager, and I have tried putting
exec icewm in my .xinitrc file, but I don't understand this path stuff.
When I do whereis icewm it says:
icewm: /usr/local/bin/icewm
Then I do echo $PATH it says:
/usr/local/sbin:/usr/sbin:/sbin: /usr/local/bin:/usr/bin:/usr:/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin
So according to this isnt it in my path?
The bottom of my initrc file reads:
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
(I commented out the last line of the file to replace it with mine...was that what I'm supposed to do?)
#exec xterm -geometry 80x66+0+0 -name login
exec icewm || exec xterm -fg red
But when I do startx it still drops me into xterm...
Last edited by beserkjay; 05-26-2006 at 10:35 PM.
|
|
|
05-26-2006, 10:35 PM
|
#4
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
yep, it looks like it's in your path.
comment out all that stuff for now (or just delete it, unless you want ugly clocks and terminals popping up all over the place  ). and take out the || exec xterm -fg red part, too. just keep it as simple as possible until you get it going (i.e., just an empty file except for exec icewm).
Last edited by slackhack; 05-26-2006 at 10:42 PM.
|
|
|
05-26-2006, 10:38 PM
|
#5
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
hmm after running xorgconfig and entering the values, it now says
Fatal server error:
no screens found
When I enter startx...
comment out what stuff? the xterm stuff?
|
|
|
05-26-2006, 10:43 PM
|
#6
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
I commented out all if it. but startx still gives me the same xterm when I start it. Is there another file it might be starting from?
Doesn't seem like anything I do to that file effects what happens when I type startx.
Even having just exec icewm isnt doing anything
Last edited by beserkjay; 05-26-2006 at 10:52 PM.
|
|
|
05-26-2006, 11:31 PM
|
#7
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
at least you're getting into X, meaning your xorg.conf is working. are you sure it's not icewm starting with a terminal? (probably not, but i thought i'd ask just in case.  )
to be 100% sure, move (mv) the .xinitrc file to something like .xinitrc.sav, and then make a new blank one with just the exec icewm in it. i wonder if ~/.Xsession is involved somehow, screwing things up? if you have one, you might want to take a look in there and see if anything looks relevant. if you don't, we'll have to look for something else, maybe there's an X startup script somewhere that's doing something.
|
|
|
05-26-2006, 11:44 PM
|
#8
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
Quote:
Originally Posted by slackhack
at least you're getting into X, meaning your xorg.conf is working. are you sure it's not icewm starting with a terminal? (probably not, but i thought i'd ask just in case.  )
to be 100% sure, move (mv) the .xinitrc file to something like .xinitrc.sav, and then make a new blank one with just the exec icewm in it. i wonder if ~/.Xsession is involved somehow, screwing things up? if you have one, you might want to take a look in there and see if anything looks relevant. if you don't, we'll have to look for something else, maybe there's an X startup script somewhere that's doing something.
|
Hmm when I do startx it just opens a few xterm windows a clock and a xlogin window.
my Xession file doesnt have icewm in it anywhere...its still like it was when I first installed slackware. I'm not really sure what it supposed to look like, I can copy the file and post it if you want...
|
|
|
05-26-2006, 11:58 PM
|
#9
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
that's weird. afaik, startx looks for ~/.xinitrc first, and it overrides everything else. are you starting X as the user and not root?
|
|
|
05-27-2006, 01:22 AM
|
#10
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
nope starting it as root.
|
|
|
05-27-2006, 06:56 AM
|
#12
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Quote:
Originally Posted by beserkjay
nope starting it as root.
|
Do not run X as root. Can you post you whole /etc/X11/xinit/xinitrc here
|
|
|
05-27-2006, 10:30 AM
|
#13
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
Quote:
Originally Posted by beserkjay
nope starting it as root.
|
well that's your problem. it's reading the settings for root. since root most likely doesn't have any, it's reverting to the default X window manager, the fugly one with the clock, xterms, etc. as dive said, don't start X as root.
|
|
|
05-27-2006, 03:49 PM
|
#14
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
Ok I will try it as a user and let ya know how it goes.
|
|
|
05-27-2006, 04:28 PM
|
#15
|
Member
Registered: May 2006
Posts: 53
Original Poster
Rep:
|
yep, works fine now, thanks a lot guys
I feel dumb...any idea how I can add things? Like I installed gaim when I first installed slackware, but it doesn't come up when I start icewm on the menu.
I'm also having a networking problem, but I will make another thread on that in a bit if I can't figure it out.
|
|
|
All times are GMT -5. The time now is 09:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|