Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
add other desktop on GDM login
#1

Session menu for GDM login screen.

 

I'm running Fedora Core 1. I'm going to show you how to add the desktop in Session Menu for GDM Login Screen.

 

Example for xfce4 desktop:

 

1. Check that the following files exist:

/etc/X11/gdm/Sessions/XFce4

 

 

2. Execute the following commands:

su

cd /etc/X11/dm/Sessions

cp gnome.desktop XFce4.desktop

 

 

3. Edit /etc/X11/dm/Sessions/XFce4.desktop

gedit /etc/X11/dm/Sessions/XFce4.desktop

On line ~58, replace

Exec=gnome-session

with

Exec=/usr/bin/startxfce4

Do a case sensitive replace (Ctrl R in gedit)

Replace GNOME with XFce4

 

 

Logout, and XFce4 will appear in the Session GDM menu.

 

it can be done on any desktop such as Fluxbox

Reply
#2

i have not managed to get fluxbox added to my session list in fedora yet,

 

perhaps its because i upgraded from rh9 to fedora

 

any thoughts ?

 

cheers

 

anyweb

Reply
#3

do the same way as i explain for xfce4, so just change into fluxbox.

 

2. Execute the following commands:

su

cd /etc/X11/dm/Sessions

cp gnome.desktop fluxbox.desktop

 

 

3. Edit /etc/X11/dm/Sessions/fluxbox.desktop

gedit /etc/X11/dm/Sessions/fluxbox.desktop

On line ~58, replace

Exec=gnome-session

with

Exec=/usr/local/bin/fluxbox

Do a case sensitive replace (Ctrl R in gedit)

Replace GNOME with fluxbox

 

that should do. rh9 to fedora are just the same, they use gdm.

Reply
#4

this is NOT working for me (yet...)

 

i have compiled the latest version of fluxbox from source in fedora

 

see my commands entered below

 

first i 'configure'

 

 

 



Code:
[anyweb@localhost fluxbox-0.1.14]$ ./configure --enable-gnome
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/anyweb/rpms/fluxbox-0.1.14/missing: Unknown `--run' option
Try `/home/anyweb/rpms/fluxbox-0.1.14/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for sed... sed
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for basename... yes
checking for getpid... yes
checking for setlocale... yes
checking for sigaction... yes
checking for strftime... no
checking for strcasestr... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for catopen... yes
checking for catgets... yes
checking for catclose... yes
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking whether to build support for the XShape extension... yes
checking for XShapeCombineShape in -lXext... yes
checking for X11/extensions/shape.h... yes
checking whether to include the Slit... yes
checking whether to include the new WM Spec... yes
checking whether to include Pseudocolor ordered dithering code... no
checking whether to include verbose debugging code... no
checking whether to include NLS support... yes
checking for setlocale in -lxpg4... no
checking for gencat... gencat
checking whether to use the new timed pixmap cache... yes
checking whether to have KDE slit support... no
checking whether to have GNOME support... yes
checking whether to have Xft support... yes
checking for xft-config... /usr/X11R6/bin/xft-config
checking Xft UTF-8 support... yes
checking whether to have Xmb (multibyte font, utf-8) support... yes
checking whether to build support for the Xinerama extension... no
checking return type of signal handlers... void

       fluxbox version 0.1.14 configured successfully.

Using '/usr/local' for installation.
Using 'g++' for C++ compiler.
Building with '-g -O2  -I/usr/X11R6/include -DSHAPE  -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include ' for C++ compiler flags.
Building with '  -L/usr/X11R6/lib -lX11  -lXext -L/usr/X11R6/lib -lXft -lX11 -lfreetype -lfontconfig -L/usr/X11R6/lib -lXrender ' for linker flags.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.h
config.status: creating src/Makefile
config.status: creating src/FbTk/Makefile
config.status: creating util/Makefile
config.status: creating util/fbrun/Makefile
config.status: creating data/Makefile
config.status: creating data/styles/Makefile
config.status: creating doc/Makefile
config.status: creating nls/Makefile
config.status: creating nls/C/Makefile
config.status: creating nls/da_DK/Makefile
config.status: creating nls/es_ES/Makefile
config.status: creating nls/et_EE/Makefile
config.status: creating nls/fr_FR/Makefile
config.status: creating nls/pt_BR/Makefile
config.status: creating nls/ru_RU/Makefile
config.status: creating nls/sv_SE/Makefile
config.status: creating nls/tr_TR/Makefile
config.status: creating nls/pt_PT/Makefile
config.status: creating nls/bg_BG/Makefile
config.status: creating nls/ja_JP/Makefile
config.status: creating nls/lv_LV/Makefile
config.status: creating nls/it_IT/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
[anyweb@localhost fluxbox-0.1.14]$




 

now i do a 'make'

 

 

 

 

 



Code:
[anyweb@localhost fluxbox-0.1.14]$ make
cd . \
 && CONFIG_FILES= CONFIG_HEADERS=config.h \
    /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14'
Making all in data
make[2]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/data'
Making all in styles
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/data/styles'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/data/styles'
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/data'
make[2]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/data'
Making all in doc
make[2]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/doc'
Making all in nls
make[2]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls'
Making all in C
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/C'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/C'
Making all in da_DK
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/da_DK'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/da_DK'
Making all in es_ES
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/es_ES'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/es_ES'
Making all in et_EE
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/et_EE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/et_EE'
Making all in fr_FR
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/fr_FR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/fr_FR'
Making all in pt_BR
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/pt_BR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/pt_BR'
Making all in ru_RU
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/ru_RU'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/ru_RU'
Making all in sv_SE
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/sv_SE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/sv_SE'
Making all in tr_TR
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/tr_TR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/tr_TR'
Making all in it_IT
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/it_IT'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/it_IT'
Making all in pt_PT
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/pt_PT'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/pt_PT'
Making all in bg_BG
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/bg_BG'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/bg_BG'
Making all in ja_JP
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/ja_JP'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/ja_JP'
Making all in lv_LV
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/lv_LV'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls/lv_LV'
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/nls'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls'
make[2]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/nls'
Making all in src
make[2]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/src'
Making all in FbTk
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/src/FbTk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/src/FbTk'
make[3]: Entering directory `/home/anyweb/rpms/fluxbox-0.1.14/src'
source='fluxbox.cc' object='fluxbox.o' libtool=no \
depfile='.deps/fluxbox.Po' tmpdepfile='.deps/fluxbox.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..  -Wall -DLOCALEPATH=\"/usr/local/share/fluxbox/nls\" -DDEFAULTMENU=\"/usr/local/share/fluxbox/menu\" -DDEFAULTSTYLE=\"/usr/local/share/fluxbox/styles/Clean\" -DDEFAULTKEYSFILE=\"/usr/local/share/fluxbox/keys\" -DDEFAULT_INITFILE=\"/usr/local/share/fluxbox/init\" -IFbTk   -g -O2  -I/usr/X11R6/include -DSHAPE  -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include  -c -o fluxbox.o `test -f fluxbox.cc || echo './'`fluxbox.cc
fluxbox.cc: In member function `void Fluxbox::save_rc()':
fluxbox.cc:1976: error: `B_EuropeanDate' undeclared (first use this function)
fluxbox.cc:1976: error: (Each undeclared identifier is reported only once for
  each function it appears in.)
fluxbox.cc: In member function `void Fluxbox::load_rc(BScreen*)':
fluxbox.cc:2324: error: `B_AmericanDate' undeclared (first use this function)
make[3]: *** [fluxbox.o] Error 1
make[3]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/anyweb/rpms/fluxbox-0.1.14'
make: *** [all] Error 2
[anyweb@localhost fluxbox-0.1.14]$




 

i notice there are some errors there, any idea what they mean ????

 

cheers

 

anyweb

Reply
#5

the newer version of fluxbox not working properly on Fedora Core 1, but, the development version works.

 

v0.9.7

fluxbox-0.9.7.tar.bz2

fluxbox-0.9.7.tar.gz

 

thise two links works fine on Fedora Core 1.

 

hope this help ya mate

Reply
#6

FYI:

Fedora Core 1 RPMs

Reply
#7

i couldnt get that to work either,

 

rpm installs fine then 'nada'

 

:(

Reply
#8

Anyweb, have you try the 0.9.7 -devel version? for me it works fine on

 

$ ./configure

 

$ make

 

su

 

# make install

 

then i got Fluxbox works as sweet.

Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump:


Users browsing this thread: 1 Guest(s)