#1638 closed defect (fixed)
Fluxbox, Xfce and gdm
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
The Fluxbox page in BLFS doesn't tell you how to add Fluxbox to the menu of sessions offered by Gnomes Display manager. This probably works for KDE too but I don't have it installed so I can't check. For gdm, all that's needed is to create a simple .desktop file like this
cat > /usr/share/xsessions/fluxbox.desktop << "EOF [Desktop Entry] Encoding=UTF-8 Name=Fluxbox Comment=This session logs you into Fluxbox Exec=startfluxbox Type=Application EOF
Attachments (3)
Change History (15)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Well the reason why is simply to make it easier to choose between sessions. It may be best to add a note to the gdm page because the situation is the same with xfce. To log in to xfce from the gdm screen you need to create /usr/share/xsessions/xfce.desktop
cat > /usr/share/xsessions/xfce.desktop << "EOF [Desktop Entry] Encoding=UTF-8 Name=Xfce Comment=Use this session to run Xfce 4.2 as your desktop environment Exec=startxfce4 Icon=/usr/share/pixmaps/xfce4_xicon1.png Type=Application EOF
I think it would be best to put that on the xfce page. To me, it's part of configuring that package to fit in with what you already have installed
comment:3 by , 19 years ago
Summary: | Fluxbox and gdm → Fluxbox, Xfce and gdm |
---|
comment:4 by , 19 years ago
attachments.description: | patch to add a fluxbox.desktop file → patch to add a fluxbox.desktop file and bump the version to 0.9.14 |
---|
(From update of attachment 130) diff -Naur BOOK-orig/general.ent BOOK/general.ent --- BOOK-orig/general.ent 2005-10-21 20:12:52.000000000 +0100 +++ BOOK/general.ent 2005-10-22 17:38:26.000000000 +0100 @@ -335,7 +335,7 @@
<!-- Chapter 27 --> <!ENTITY sawfish-version "1.3">
-<!ENTITY fluxbox-version "0.9.13"> +<!ENTITY fluxbox-version "0.9.14">
<!ENTITY metacity-version "2.12.1"> <!ENTITY xfce-version "4.2.2">
diff -Naur BOOK-orig/x/wm/fluxbox.xml BOOK/x/wm/fluxbox.xml --- BOOK-orig/x/wm/fluxbox.xml 2005-10-21 20:12:34.000000000 +0100 +++ BOOK/x/wm/fluxbox.xml 2005-10-22 17:46:46.000000000 +0100 @@ -6,8 +6,8 @@
<!ENTITY fluxbox-download-http
"http://prdownloads.sourceforge.net/fluxbox/fluxbox-&fluxbox-version;.tar.bz2">
<!ENTITY fluxbox-download-ftp " ">
- <!ENTITY fluxbox-md5sum "f9b7b3c3b8e1e9ce3449601b238d4fba">
- <!ENTITY fluxbox-size "649 KB">
+ <!ENTITY fluxbox-md5sum "7641aaea532841e103e9705bb5b98f62"> + <!ENTITY fluxbox-size "657 KB">
<!ENTITY fluxbox-buildsize "47.7 MB"> <!ENTITY fluxbox-time "1.2 SBU">
]>
@@ -125,6 +125,22 @@
<literal>startfluxbox</literal> EOF</userinput></screen>
+ <para>Or alternatively, if you use a login manager like + <xref linkend="gdm"/> or <application>kdm</application> and would + like to be able to choose <application>Fluxbox</application> at the login + prompt, create a <filename>fluxbox.desktop</filename> file like this</para> + + <para>As <systemitem class="username">root</systemitem>:</para> + +<screen><userinput>cat >> /usr/share/xsessions/fluxbox.desktop << "EOF" +<literal>[Desktop Entry]</literal> +<literal>Encoding=UTF-8</literal> +<literal>Name=Fluxbox</literal> +<literal>Comment=This session logs you into Fluxbox</literal> +<literal>Exec=startfluxbox</literal> +<literal>Type=Application</literal> +EOF</userinput></screen> +
<para>Now create the <application>Fluxbox</application> configuration files:</para>
comment:5 by , 19 years ago
(From update of attachment 130) diff -Naur BOOK-orig/general.ent BOOK/general.ent --- BOOK-orig/general.ent 2005-10-21 20:12:52.000000000 +0100 +++ BOOK/general.ent 2005-10-22 17:38:26.000000000 +0100 @@ -335,7 +335,7 @@
<!-- Chapter 27 --> <!ENTITY sawfish-version "1.3">
-<!ENTITY fluxbox-version "0.9.13"> +<!ENTITY fluxbox-version "0.9.14">
<!ENTITY metacity-version "2.12.1"> <!ENTITY xfce-version "4.2.2">
diff -Naur BOOK-orig/x/wm/fluxbox.xml BOOK/x/wm/fluxbox.xml --- BOOK-orig/x/wm/fluxbox.xml 2005-10-21 20:12:34.000000000 +0100 +++ BOOK/x/wm/fluxbox.xml 2005-10-22 17:46:46.000000000 +0100 @@ -6,8 +6,8 @@
<!ENTITY fluxbox-download-http
"http://prdownloads.sourceforge.net/fluxbox/fluxbox-&fluxbox-version;.tar.bz2">
<!ENTITY fluxbox-download-ftp " ">
- <!ENTITY fluxbox-md5sum "f9b7b3c3b8e1e9ce3449601b238d4fba">
- <!ENTITY fluxbox-size "649 KB">
+ <!ENTITY fluxbox-md5sum "7641aaea532841e103e9705bb5b98f62"> + <!ENTITY fluxbox-size "657 KB">
<!ENTITY fluxbox-buildsize "47.7 MB"> <!ENTITY fluxbox-time "1.2 SBU">
]>
@@ -125,6 +125,22 @@
<literal>startfluxbox</literal> EOF</userinput></screen>
+ <para>Or alternatively, if you use a login manager like + <xref linkend="gdm"/> or <application>kdm</application> and would + like to be able to choose <application>Fluxbox</application> at the login + prompt, create a <filename>fluxbox.desktop</filename> file like this</para> + + <para>As <systemitem class="username">root</systemitem>:</para> + +<screen><userinput>cat >> /usr/share/xsessions/fluxbox.desktop << "EOF" +<literal>[Desktop Entry]</literal> +<literal>Encoding=UTF-8</literal> +<literal>Name=Fluxbox</literal> +<literal>Comment=This session logs you into Fluxbox</literal> +<literal>Exec=startfluxbox</literal> +<literal>Type=Application</literal> +EOF</userinput></screen> +
<para>Now create the <application>Fluxbox</application> configuration files:</para>
comment:6 by , 19 years ago
attachments.description: | patch to add a fluxbox.desktop file and bump the version to 0.9.14 → patch to add a fluxbox.desktop file |
---|
comment:7 by , 19 years ago
(fluxbox)
Hi, I had quite heavy trouble with 0.9.14. I had setup a new LFS system and than installed several other packages, finally Fluxbox-0.9.14 (so there was no 0.9.13 previously installed). First of all, i had to symlink fbsetroot to /usr/bin/bsetroot cause it isnt there (and this symlink seems to solve this). What i not got fixed is that every style (e.g. MerleyKay) where fonts are specified, shows empty menues. Reducing a string like
menu.title.font: -*-lucida-bold-r-*-*-*-100-*-*-*-*-*-*
to
menu.title.font: lucida-10
shows the menue title. All in all, i downgraded to 0.9.13 and fluxbox works fine again.
Well, I'm not quite good in X and fonts and so on - so excuse me if this all is only noise...
cu, Moody
comment:8 by , 19 years ago
(In reply to comment #8)
(fluxbox)
Hi, I had quite heavy trouble with 0.9.14. I had setup a new LFS system and than installed several other packages, finally Fluxbox-0.9.14 (so there was no 0.9.13 previously installed). First of all, i had to symlink fbsetroot to /usr/bin/bsetroot cause it isnt there (and this symlink seems to solve this). What i not got fixed is that every style (e.g. MerleyKay) where fonts are specified, shows empty menues. Reducing a string like
menu.title.font: -*-lucida-bold-r-*-*-*-100-*-*-*-*-*-*
to
menu.title.font: lucida-10
shows the menue title. All in all, i downgraded to 0.9.13 and fluxbox works fine again.
Well, I'm not quite good in X and fonts and so on - so excuse me if this all is only noise...
cu, Moody
I just installed fluxbox 0.9.14 (new installation also - didn't install over top of 0.9.13). All the styles work fine for me, though of course I did have to symlink bsetroot ---> fbsetroot. BTW this doesn't have anything to do with the bug's topic, so please send any more messages on this topic to blfs-support.
comment:9 by , 18 years ago
rep_platform: | PC → All |
---|---|
Version: | ~CVS → a-SVN |
Added a note to the GDM instructions to use the .desktop file created for the D-BUS GNOME session as an example of how to create additional .desktop files for any other desired items on the session selection menu.
comment:10 by , 18 years ago
Owner: | changed from | to
---|
comment:11 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I am not sure why it is needed to explain that. Is adding fluxbox, specifically, to gdm any different than adding KDE, sawfish, or anything else to gdm? If not, then there doesn't need to be a specific instruction just for fluxbox.
Besides, if anything, this instruction should be on the gdm page.