LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fluxbox problems (https://www.linuxquestions.org/questions/linux-newbie-8/fluxbox-problems-321148/)

ethics 05-07-2005 08:44 PM

Fluxbox problems
 
Hey guys i've been using Fluxbox for a few weeks now and i really like it, however there are a few problems i've come across.

1: I can't seem to make it my default session, i have to select 'Fluxbox' from the drop down menu at login i've tried editing /etc/sysconfig/desktop and setting Desktop="Fluxbox" but that doesn't work

2: Desktop icons, i've tried installing fbdesk and it all goes fine but then it kicks up the error configure: error: fbdesk requires the X Window System libraries and headers.
now as i understand it fedora leaves out alot of source and things which is cool but i googled this and couldn;t seem to find out where to get the libraries/headers i needed

help please?

Much appreciated

Ethics

darkleaf 05-08-2005 05:47 AM

2) I don't know which packages it are exactly but I think you're looking for the -dev or -devel packages. Perhaps only this one maybe more: x-window-system-dev

ethics 05-08-2005 06:46 AM

Ok i've managed to get fbdesk installed through adding some more yum repos but i can;t find out how to get it to start with fluxbox, i found a previous post here with the same problem that mentioned adding it before fluxbox in the xinitrc file but i can't seem to find mine...

darkleaf 05-08-2005 07:31 AM

If you don't have a .xinitrc file you can simply write it yourself :)

This is mine for example:
Quote:

#! /bin/sh

Esetroot -s ~/.fluxbox/backgrounds/frozenemotions.jpg &&
Eterm &

xscreensaver -no-splash &
gkrellm &

/usr/bin/fluxbox
First line is what program it should be interpreted by. The last line should be /usr/bin/fluxbox. Between those you have to add the command to start fbdesk and you have to end the line with & (this makes more than 1 thing start) so I guess yours should look like:

#! /bin/sh

fbdesk & #or whatever the program is

/usr/bin/fluxbox

ethics 05-08-2005 09:59 AM

I tried that, placed the .xinitrc in my home directory then logged off but when logging back in nothing happened

darkleaf 05-09-2005 09:03 AM

What do you mean? You're not supposed to see anything in this case. If you take out the -no-splash a splash should show up. If you mean that your screensaver doesn't start, then your .xscreensaver file might have some things wrong in it. I have this in my .fluxbox/menu file to start the screensaver from the menu:

Quote:

[exec](Screensaver) {/usr/bin/xscreensaver-command -activate}

ethics 05-09-2005 09:34 AM

No i placed

gkrellm &
fbdesk &
Konsole &

before the /usr/bin/fluxbox and when logging in none of the above started.

I did some more research, added the lines to ~/.fluxbox/startup which fixes the problem of starting them when fluxbox starts but still can;t set fluxbox as default session

Appreciate all your help too mate

bsmith121 05-09-2005 07:52 PM

create /etc/X11/dm/Sessions/fluxbox.desktop with the following in it....


[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Type=Application
Icon=
Exec=fluxbox


You may need to put the full path to fluxbox in the Exec line if it is in a non-standard location.

The file also needs execution right:

chmod +x /etc/X11/dm/Sessions/fluxbox.desktop

darkleaf 05-10-2005 10:18 AM

Yep that would be the problem. I start complete from the command line without sessions.


All times are GMT -5. The time now is 11:58 AM.