LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-26-2006, 08:54 PM   #1
beserkjay
Member
 
Registered: May 2006
Posts: 53

Rep: Reputation: 15
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.
 
Old 05-26-2006, 09:20 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
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.
 
Old 05-26-2006, 10:16 PM   #3
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
Old 05-26-2006, 10:35 PM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
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.
 
Old 05-26-2006, 10:38 PM   #5
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
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?
 
Old 05-26-2006, 10:43 PM   #6
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
Old 05-26-2006, 11:31 PM   #7
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
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.
 
Old 05-26-2006, 11:44 PM   #8
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
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...
 
Old 05-26-2006, 11:58 PM   #9
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
that's weird. afaik, startx looks for ~/.xinitrc first, and it overrides everything else. are you starting X as the user and not root?
 
Old 05-27-2006, 01:22 AM   #10
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
nope starting it as root.
 
Old 05-27-2006, 03:04 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
You might find something useful here, or one level up:
http://distro.ibiblio.org/pub/linux/.../icewm-1.2.25/

Or get the package and install or explode it and steal what you need:
http://distro.ibiblio.org/pub/linux/....25-i486-1.tgz

There's also iceWM Control Panel, idesk and two different GUI Menu Editors available as packages or sources.
 
Old 05-27-2006, 06:56 AM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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
 
Old 05-27-2006, 10:30 AM   #13
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
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.
 
Old 05-27-2006, 03:49 PM   #14
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
Ok I will try it as a user and let ya know how it goes.
 
Old 05-27-2006, 04:28 PM   #15
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting the path powerlifter450 Linux - Software 18 07-05-2006 11:46 AM
Setting the path davee Linux - General 7 09-26-2003 03:17 PM
Setting the path.... joel112 Slackware 5 08-28-2003 02:27 PM
Setting the path Milkman00 Linux - General 2 07-26-2002 09:44 AM
setting PATH tda Linux - Newbie 1 04-29-2002 01:54 PM

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

All times are GMT -5. The time now is 09:31 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