Page 1 of 2

I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 13:11
by zAchAry
I've installed Fluxbox from the repository.

How do I add a Fluxbox entry to the GDM?

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 13:17
by gapan
You can start by searching the wiki. ;)

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 13:29
by zAchAry
gapan wrote:You can start by searching the wiki. ;)
Yeah, lol, quite a good idea!
http://www.salixos.org/wiki/index.php/H ... e_gdm_menu

Well, fine, but I need to use root privilege and I never trust myself when it comes to "myself, root and gui", though I've done suck thing many many times with a 100% success every time.

I'll create the file fluxbox.desktop with the following content

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Type=XSession
Name=Fluxbox
Exec=/etc/X11/xinit/xinitrc.fluxbox
to my home folder.

How to copy that file into /usr/share/xsessions/ with command-line only, please?

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 13:42
by pwatk
Here's a script for you:

Code: Select all

#!/bin/sh

cat << EOF > /usr/share/xsessions/fluxbox.desktop
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Name=Fluxbox
Exec=/etc/X11/xinit/xinitrc.fluxbox
EOF

chmod 644 /usr/share/xsessions/fluxbox.desktop
or if you have a ready made .desktop file this should do it:

Code: Select all

install -m 0644 ./fluxbox.desktop /usr/share/xsessions/

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 13:51
by zAchAry
@pwatk
Thank you, I used the 2nd way, the command-line.

What 0644 & 644 stand for? where can I find more information?
man install & install --help don't seem to be "appealing".

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 14:11
by pwatk
The -m option sets permission modes the same as chmod! Try man ginstall ;).

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 14:18
by zAchAry
I got it already ;)
My question was about the numbers 0644 and 644 (is there any index or a lexicon for this numbers?)

Code: Select all

-m, --mode=MODE
set permission mode (as in chmod), instead of rwxr-xr-x
Oh, well, I'll look into it later when I'll have the time.

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 14:20
by pwatk
This should help: chmod by the numbers ;)

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 14:26
by damNageHack

Re: I've installed Fluxbox, now how do I start it?

Posted: 19. Aug 2010, 14:39
by zAchAry
pwatk wrote:This should help: chmod by the numbers ;)
EXACTLY, thank you, pwatk
damNageHack, thank you to you too, as well, lol
I'm sure that you could send the link earlier than pwatk if I was connected to Jabber :lol: