LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2005, 10:22 AM   #1
coder22
LQ Newbie
 
Registered: Apr 2004
Location: AUSTRIA
Distribution: FC3
Posts: 14

Rep: Reputation: 0
FC3 - Make fluxbox default


Hi all,

I've got installed fluxbox on my FC3 system. And now I want it to make
it the default window manager (but by console!). I want GNOME to
be replaced by fluxbox, so that I don't have to change each time
at the login-screen the session-type to fluxbox.

Can someone tell me, which files I do have to edit?

coder22
 
Old 02-23-2005, 10:30 AM   #2
GlenX
Member
 
Registered: Feb 2005
Location: United Kingdom
Distribution: Fedora Core 3 -
Posts: 37

Rep: Reputation: 15
Hi coder22,

Quote:
(but by console!)
Why? It is far more easier to just login into Flux and a msg box will pop up and say "Fluxbox is not your default Desktop, would you like to make it?" and it will give you two options, "Just for this session" or "keep as default"

(Iím not to sure on the actual wording but its something like that.)

The only other way I know of is too edit the desktop file, Iím not on Linux at the moment but I think it is /etc/desktop (I'll confirm this when I get home) and you can change the settings there and save it. (Will need to be root)

GlenX
 
Old 02-23-2005, 10:34 AM   #3
coder22
LQ Newbie
 
Registered: Apr 2004
Location: AUSTRIA
Distribution: FC3
Posts: 14

Original Poster
Rep: Reputation: 0
Didn't get such a box

The problem is, I didn't get this messagebox. I installed via yum and logged out,
changed the session type to fluxbox and that was it. No popup nothing...
Any ideas? Maybe a post of your /etc/sysconfig/desktop and your
/etc/X11/prefdm may help.

coder22
 
Old 02-23-2005, 11:34 AM   #4
GlenX
Member
 
Registered: Feb 2005
Location: United Kingdom
Distribution: Fedora Core 3 -
Posts: 37

Rep: Reputation: 15
Hi coder22,

Quote:
/etc/sysconfig/desktop
Code:
DESKTOP="GNOME"
DISPLAYMANAGER=GNOME
Quote:
/etc/X11/prefdm
Code:
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin


# shut down any graphical boot that might exist
if [ -x /usr/bin/rhgb-client ]; then
    /usr/bin/rhgb-client -quit
fi

# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh

# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
	. /etc/sysconfig/desktop
	if [ "$DISPLAYMANAGER" = GNOME ]; then
		preferred=gdm
	elif [ "$DISPLAYMANAGER" = KDE ]; then
		preferred=kdm
	elif [ "$DISPLAYMANAGER" = XDM ]; then
	        preferred=xdm
	fi
fi

shopt -s execfail

[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1

# Fallbacks, in order
exec gdm $* >/dev/null 2>&1
exec kdm $* >/dev/null 2>&1
exec xdm $* >/dev/null 2>&1

# catch all exit error
exit 1
GlenX
 
Old 02-23-2005, 01:00 PM   #5
coder22
LQ Newbie
 
Registered: Apr 2004
Location: AUSTRIA
Distribution: FC3
Posts: 14

Original Poster
Rep: Reputation: 0
Question Thanks, but didn't help

Thanks for posting your config files.
My files looked the same, with one exception:
I had only instead of
DISPLAYMANAGER=GNOME
this one:
DISPLAYMANAGER=KDE

This makes me crazy... Another question. How did you proceed to install fluxbox?
And what have you had installed before? On my system was GNOME and KDE installed.
System-Default was GNOME. Then I used yum to install fluxbox (yum install fluxbox).
That was everything that has be done.

Why did you get a message-box where you've been asked, if you wanted to have
fluxbox your default session-type?

*worried*

coder22
 
Old 02-23-2005, 01:58 PM   #6
GlenX
Member
 
Registered: Feb 2005
Location: United Kingdom
Distribution: Fedora Core 3 -
Posts: 37

Rep: Reputation: 15
hI coder22,

Quote:
I had only instead of
DISPLAYMANAGER=GNOME
this one
DISPLAYMANAGER=KDE
Thats probably why, the display manager manages your login screen, and the message appears when you log in. Try changing to GNOME instead of KDE, GNOME is better anyway IMO.

GlenX
 
Old 03-02-2005, 11:24 AM   #7
jjasghar
LQ Newbie
 
Registered: Aug 2004
Location: $HOME=/usa/tx/austin
Distribution: CRUX, LFS
Posts: 11

Rep: Reputation: 0
i thought all you had to do it FC3 was

Code:
deskswitch fluxbox
or

Code:
switchdesk fluxbox
in a console as root.... i know its something like that
 
  


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
FC3: make xfce 4.2 default window manager ghee22 Linux - Software 8 04-22-2012 09:45 AM
FluxBox default permissions MurrayL Linux - Software 2 02-08-2005 10:54 AM
Fluxbox in FC3? epona Fedora 1 01-23-2005 01:18 PM
How do I make KDE the default DM in FC3? GlennsPref Fedora 4 11-15-2004 05:12 PM
Fluxbox make and make install error's .99 Nz_Boy_2004 Slackware 22 05-13-2004 07:00 PM


All times are GMT -5. The time now is 11:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration