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

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post by zAchAry »

I've installed Fluxbox from the repository.

How do I add a Fluxbox entry to the GDM?
Image
Help to make Slackware easier Donate to Salix
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

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

Post by gapan »

You can start by searching the wiki. ;)
Image
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post 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?
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

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

Post 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/
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post 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".
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

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

Post by pwatk »

The -m option sets permission modes the same as chmod! Try man ginstall ;).
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post 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.
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

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

Post by pwatk »

This should help: chmod by the numbers ;)
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

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

Post by damNageHack »

Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

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

Post 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:
Image
Help to make Slackware easier Donate to Salix
Post Reply