LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X libraries & headers for fluxbox (https://www.linuxquestions.org/questions/linux-software-2/x-libraries-and-headers-for-fluxbox-33888/)

GT I.N.C 11-02-2002 12:12 AM

Code:

#!/bin/sh
# (c) 2000 MandrakeSoft

exec /etc/X11/Xsession $*

weird xinitrc isn't it?

Garry :D

MasterC 11-02-2002 02:46 AM

Ok, so comment out that line, place a new line:
exec /usr/local/bin/fluxbox

Save and exit, symlink that to your home directory:
ln -s /etc/X11/xinit/xinitrc ~/.xinitrc

And then startx...

Cool

GT I.N.C 11-02-2002 02:48 AM

Yeh but the thing is i don't do a startx.....i do a GUI login...i think it's KDM....and i want flux to be a selectable WM...

Garry

MasterC 11-02-2002 02:54 AM

Yeah, I am still working on that one for ya...

Cool

MasterC 11-02-2002 03:00 AM

Hey, I think I found it... Just so you can see what I am reading:
http://www.mandrakeuser.org/docs/xwin/xstart.html#conf

Cool

MasterC 11-02-2002 03:07 AM

Ok, so...

It looks like you need to locate:
'/usr/share/config/kdm/kdmrc'

And find an area to add Fluxbox in there. If you post the contents I will see if I can help.

Also, to start fluxbox from the command line I understand you have to type:
startx fluxbox

And it's supposed to start. No need to comment any lines in any file.

If you want to use flux as your default wm, then you would make the entry in:
~/.desktop

And the entry should look like:
DESKTOP=fluxbox

Cool

MasterC 11-02-2002 03:08 AM

/usr/sbin/chksession -l

Also, you might need to run this to see what X options you have.

Good Luck, and read that link I provided above, good info there.

Cool

GT I.N.C 11-02-2002 03:41 AM

Ok thanks i will read that, then post up the things you requested....

Thanks again

Garry :D

GT I.N.C 11-02-2002 03:47 AM

Hmmm this is kmrc
Code:

[Desktop0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=33,68,156
Color2=192,192,192
CurrentWallpaper=0
LastChange=0
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[General]
PidFile=/var/run/xdm.pid
Xservers=/etc/X11/xdm/Xservers

[Shutdown]
HaltCmd=/sbin/halt
LiloCmd=/sbin/lilo
LiloMap=/boot/map
RebootCmd=/sbin/reboot
UseLilo=true

[X-*-Core]
AllowNullPasswd=false
AllowRootLogin=false
AutoReLogin=false
Reset=
Resources=/etc/X11/xdm/Xresources
Session=/etc/X11/xdm/Xsession
Setup=
Startup=
SystemPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
UserPath=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin

[X-*-Greeter]
AllowShutdown=Root
AuthComplain=false
DefaultUser=axfrdns
EchoMode=OneStar
FailFont=helvetica,12,5,15,75,0
FocusPasswd=false
GUIStyle=KDE
GreetFont=charter,24,5,15,50,0
GreetString=Welcome to %n
GreeterPosFixed=false
GreeterPosX=100
GreeterPosY=100
Language=C
LogoArea=Logo
LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
MinShowUID=500
NoUsers=adm,alias,amanda,apache,bin,bind,daemon,exim,falken,ftp,games,gdm,gopher,halt,httpd,ident,ingres,kmem,lp,mail,mailnull,man,mta,mysql,named,news,nobody,nscd,operator,pcap,pop,postfix,postgres,qmaild,qmaill,qmailp,qmailq,qmailr,qmails,reboot,root,rpc,rpcuser,rpm,sendmail,shutdown,sympa,sync,tty,uucp,xfs,xten,
PreselectUser=None
SessionTypes=KDE,IceWM,failsafe,default
ShowUsers=All
SortUsers=true
StdFont=helvetica,12,5,15,50,0
Users=

[X-:*-Core]
AllowNullPasswd=true
AllowRootLogin=true
NoPassEnable=false
NoPassUsers=

[X-:*-Greeter]
AllowShutdown=All

[X-:0-Core]
Authorize=true
AutoLogin1st=true
AutoLoginEnable=false
AutoLoginUser=axfrdns
Reset=/etc/X11/xdm/TakeConsole
Setup=/etc/X11/xdm/Xsetup_0
Startup=/etc/X11/xdm/GiveConsole

[X-:1-Core]
Authorize=true

[Xdmcp]
Enable=false
KeyFile=/etc/X11/xdm/xdm-keys
Willing=
Xaccess=/etc/X11/xdm/Xaccess

And if i changed DESKTOP=KDE to DESKTOP=fluxbox that doesn't mean it would make flux selectable would it, it would just make it default...hmm i'm still reading....

Garry :D

MasterC 11-02-2002 03:49 AM

See this line:
SessionTypes=KDE,IceWM,failsafe,default

I think if you add fluxbox there, that might be your ticket.

Cool

GT I.N.C 11-02-2002 03:50 AM

Ok i'm gonna think of switching to GDM instead of KDM...since they say its high configurable....etc etc

Garry :D

MasterC 11-02-2002 03:56 AM

Also, what does:
/usr/sbin/chksession -l

return?

I think this would all make alot more sense if I followed along with ya, then I could explain things better.

Anway, I think if the chksession returns flux then you should be good to go...

Cool

GT I.N.C 11-02-2002 03:59 AM

Hmmmmm in GDM's Login Session tab there is KDE and IceWM...when i click on add session i type in fluxbox....and i can't enter what command to execute...but for KDE and Ice there already are commands...

#!/bin/sh
exec /etc/X11/xdm/Xsession KDE

and

#!/bin/sh
exec /etc/X11/xdm/Xsession IceWM

i can edit and chnage those etc.

But i cannot edit flux's....the window to type the command isn't editable...

hope this made sense..

Garry :D

MasterC 11-02-2002 04:02 AM

Might be a button you missed or something... Poke around a bit more, seems like it's always something little on things like that.

Cool

GT I.N.C 11-02-2002 04:02 AM

Ok i think i'm onto something...i'm gonna make an executable in /etc/X11/gdm/Sessions where Kde and Ice are...

i'll post when i'm done....

Oh yeh and sorry MasterC i never saw that post, i tried that before...and it didn't execute...nothing happened...

Garry :D


All times are GMT -5. The time now is 01:15 AM.