Fluxbox + Etch ?

Är Ni nybörjare i UNIX/Linux? Detta forum avhandla allmäna UNIX frågor.
Post Reply
phm
Posts: 778
Joined: 17 June 2005, 00:29

Fluxbox + Etch ?

Post by phm » 27 June 2007, 21:44

Har installerat Fluxbox med Synaptic på min Debian 4.0.

Kör GNOME.

Hur gör man nu för att välja Fluxbox när man loggar in ?

User avatar
sn0wman
Posts: 70
Joined: 16 June 2002, 02:14
Location: Karlstad
Contact:

Post by sn0wman » 27 June 2007, 23:58

Code: Select all

sudo nano /etc/gdm/Sessions/fluxbox
#!/bin/sh
#
# /etc/gdm/Sessions/fluxbox
#
# global fluxbox session file -- used by gdm

exec /etc/X11/Xsession /usr/bin/fluxbox
Om fluxbox ligger nån annanstans så hänvisa dit ;)

Om du inte har nån /etc/gdm kolla i /etc/X11/gdm/Sessions
-- Ever stop to think, and forget to start again? --

phm
Posts: 778
Joined: 17 June 2005, 00:29

Post by phm » 28 June 2007, 10:22

Skumt, hittar inte
/etc/gdm/Sessions/fluxbox el. /etc/X11/gdm/Sessions

Code: Select all

debian:/etc/gdm# ls
gdm.conf  Init  locale.conf  modules  PostLogin  PostSession  PreSession  XKeepsCrashing  Xsession

Code: Select all

debian:/etc/X11# ls
app-defaults             fluxbox  ja_JP.eucJP  twm  xinit       xorg.conf   xserver   Xsession.d        XvMCConfig
default-display-manager  fonts    rgb.txt      X    Xloadimage  Xresources  Xsession  Xsession.options  Xwrapper.config

Code: Select all

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/fluxbox
/usr/share/doc/fluxbox/NEWS.gz
/usr/share/doc/fluxbox/changelog.Debian.gz
/usr/share/doc/fluxbox/README
/usr/share/doc/fluxbox/TODO
/usr/share/doc/fluxbox/AUTHORS
/usr/share/doc/fluxbox/README.Debian
/usr/share/doc/fluxbox/copyright
/usr/share/doc/fluxbox/changelog.gz
/usr/share/doc/fluxbox/convertkeys.gz
/usr/share/doc/fluxbox/fluxbox-generate_menu.gz
/usr/share/xsessions
/usr/share/xsessions/fluxbox.desktop
/usr/share/fluxbox
/usr/share/fluxbox/styles
/usr/share/fluxbox/styles/Emerge
/usr/share/fluxbox/styles/Emerge/pixmaps
/usr/share/fluxbox/styles/Emerge/pixmaps/bullet.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/close.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/icon.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/max.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stick-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stuck-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/close-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/icon-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/max-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/selected.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stick.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stuck.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/close-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/icon-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/max-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stick-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stuck-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/unselected.xpm
/usr/share/fluxbox/styles/Emerge/theme.cfg
/usr/share/fluxbox/styles/BlueFlux
/usr/share/fluxbox/styles/BlueFlux/pixmaps
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_close_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_close_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_close_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_max_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_max_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_max_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_min_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_min_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_min_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stick_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stick_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stick_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stuck.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stuck_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_toolbar.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_toolbar_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/menu_frame.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/title_bar.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/title_bar_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/toolbar.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/toolbar_label.xpm
/usr/share/fluxbox/styles/BlueFlux/theme.cfg
/usr/share/fluxbox/styles/Makro
/usr/share/fluxbox/styles/MerleyKay
/usr/share/fluxbox/styles/Clean
/usr/share/fluxbox/styles/Artwiz
/usr/share/fluxbox/styles/Cthulhain
/usr/share/fluxbox/styles/Flux
/usr/share/fluxbox/styles/Minimal
/usr/share/fluxbox/styles/Nyz
/usr/share/fluxbox/styles/Operation
/usr/share/fluxbox/styles/Outcomes
/usr/share/fluxbox/styles/Rampage
/usr/share/fluxbox/styles/Results
/usr/share/fluxbox/styles/Shade
/usr/share/fluxbox/styles/Spiff
/usr/share/fluxbox/styles/LemonSpace
/usr/share/fluxbox/styles/Twice
/usr/share/fluxbox/styles/Carbondioxide
/usr/share/fluxbox/styles/qnx-photon
/usr/share/fluxbox/styles/BlueNight
/usr/share/fluxbox/styles/Meta
/usr/share/fluxbox/nls
/usr/share/fluxbox/nls/C
/usr/share/fluxbox/nls/C/fluxbox.cat
/usr/share/fluxbox/nls/cs_CZ
/usr/share/fluxbox/nls/cs_CZ/fluxbox.cat
/usr/share/fluxbox/nls/da_DK
/usr/share/fluxbox/nls/da_DK/fluxbox.cat
/usr/share/fluxbox/nls/es_ES
/usr/share/fluxbox/nls/es_ES/fluxbox.cat
/usr/share/fluxbox/nls/et_EE
/usr/share/fluxbox/nls/et_EE/fluxbox.cat
/usr/share/fluxbox/nls/fr_FR
/usr/share/fluxbox/nls/fr_FR/fluxbox.cat
/usr/share/fluxbox/nls/pt_BR
/usr/share/fluxbox/nls/pt_BR/fluxbox.cat
/usr/share/fluxbox/nls/ru_RU
/usr/share/fluxbox/nls/ru_RU/fluxbox.cat
/usr/share/fluxbox/nls/sv_SE
/usr/share/fluxbox/nls/sv_SE/fluxbox.cat
/usr/share/fluxbox/nls/tr_TR
/usr/share/fluxbox/nls/tr_TR/fluxbox.cat
/usr/share/fluxbox/nls/it_IT
/usr/share/fluxbox/nls/it_IT/fluxbox.cat
/usr/share/fluxbox/nls/pt_PT
/usr/share/fluxbox/nls/pt_PT/fluxbox.cat
/usr/share/fluxbox/nls/bg_BG
/usr/share/fluxbox/nls/bg_BG/fluxbox.cat
/usr/share/fluxbox/nls/ja_JP
/usr/share/fluxbox/nls/ja_JP/fluxbox.cat
/usr/share/fluxbox/nls/ko_KR
/usr/share/fluxbox/nls/ko_KR/fluxbox.cat
/usr/share/fluxbox/nls/lv_LV
/usr/share/fluxbox/nls/lv_LV/fluxbox.cat
/usr/share/fluxbox/nls/de_DE
/usr/share/fluxbox/nls/de_DE/fluxbox.cat
/usr/share/fluxbox/nls/nl_NL
/usr/share/fluxbox/nls/nl_NL/fluxbox.cat
/usr/share/fluxbox/nls/sl_SI
/usr/share/fluxbox/nls/sl_SI/fluxbox.cat
/usr/share/fluxbox/nls/pl_PL
/usr/share/fluxbox/nls/pl_PL/fluxbox.cat
/usr/share/fluxbox/nls/vi_VN
/usr/share/fluxbox/nls/vi_VN/fluxbox.cat
/usr/share/fluxbox/nls/be_BY
/usr/share/fluxbox/nls/be_BY/fluxbox.cat
/usr/share/fluxbox/nls/uk_UA
/usr/share/fluxbox/nls/uk_UA/fluxbox.cat
/usr/share/fluxbox/nls/el_GR
/usr/share/fluxbox/nls/el_GR/fluxbox.cat
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/fbrun.1.gz
/usr/share/man/man1/fbsetbg.1.gz
/usr/share/man/man1/startfluxbox.1.gz
/usr/share/man/man1/fluxstyle.1.gz
/usr/share/man/man1/fluxbox.1.gz
/usr/share/man/man1/fbsetroot.1.gz
/usr/share/menu
/usr/share/menu/fluxbox
/usr/bin
/usr/bin/fluxbox
/usr/bin/fbrun
/usr/bin/fbsetroot
/usr/bin/fbsetbg
/usr/bin/startfluxbox
/etc
/etc/X11
/etc/X11/fluxbox
/etc/X11/fluxbox/init
/etc/X11/fluxbox/keys
/etc/X11/fluxbox/system.fluxbox-menu
/etc/X11/fluxbox/fluxbox.menu-user
/etc/menu-methods
/etc/menu-methods/fluxbox

User avatar
sn0wman
Posts: 70
Joined: 16 June 2002, 02:14
Location: Karlstad
Contact:

Post by sn0wman » 28 June 2007, 11:13

Du ska göra en ny fil med namnet fluxbox i /etc/gdm/Sessions/ med det innehållet jag skrev förut.
-- Ever stop to think, and forget to start again? --

phm
Posts: 778
Joined: 17 June 2005, 00:29

Post by phm » 28 June 2007, 11:30

sn0wman wrote:Du ska göra en ny fil med namnet fluxbox i /etc/gdm/Sessions/ med det innehållet jag skrev förut.
Ska jag skapa en ny katalog (Sessions) också för den finns ju inte innan ?

Code: Select all

debian:/etc/gdm# locate fluxbox
/etc/menu-methods/fluxbox
/etc/X11/fluxbox
/etc/X11/fluxbox/fluxbox.menu-user
/etc/X11/fluxbox/init
/etc/X11/fluxbox/keys
/etc/X11/fluxbox/system.fluxbox-menu
/home/philip/.fluxbox
/home/philip/.fluxbox/backgrounds
/home/philip/.fluxbox/init
/home/philip/.fluxbox/keys
/home/philip/.fluxbox/menu
/home/philip/.fluxbox/pixmaps
/home/philip/.fluxbox/startup
/home/philip/.fluxbox/styles
/usr/bin/fluxbox
/usr/bin/startfluxbox
/usr/share/doc/fluxbox
/usr/share/doc/fluxbox/AUTHORS
/usr/share/doc/fluxbox/changelog.Debian.gz
/usr/share/doc/fluxbox/changelog.gz
/usr/share/doc/fluxbox/convertkeys.gz
/usr/share/doc/fluxbox/copyright
/usr/share/doc/fluxbox/fluxbox-generate_menu.gz
/usr/share/doc/fluxbox/NEWS.gz
/usr/share/doc/fluxbox/README
/usr/share/doc/fluxbox/README.Debian
/usr/share/doc/fluxbox/TODO
/usr/share/fluxbox
/usr/share/fluxbox/nls
/usr/share/fluxbox/nls/be_BY
/usr/share/fluxbox/nls/be_BY/fluxbox.cat
/usr/share/fluxbox/nls/bg_BG
/usr/share/fluxbox/nls/bg_BG/fluxbox.cat
/usr/share/fluxbox/nls/C
/usr/share/fluxbox/nls/C/fluxbox.cat
/usr/share/fluxbox/nls/cs_CZ
/usr/share/fluxbox/nls/cs_CZ/fluxbox.cat
/usr/share/fluxbox/nls/da_DK
/usr/share/fluxbox/nls/da_DK/fluxbox.cat
/usr/share/fluxbox/nls/de_DE
/usr/share/fluxbox/nls/de_DE/fluxbox.cat
/usr/share/fluxbox/nls/el_GR
/usr/share/fluxbox/nls/el_GR/fluxbox.cat
/usr/share/fluxbox/nls/es_ES
/usr/share/fluxbox/nls/es_ES/fluxbox.cat
/usr/share/fluxbox/nls/et_EE
/usr/share/fluxbox/nls/et_EE/fluxbox.cat
/usr/share/fluxbox/nls/fr_FR
/usr/share/fluxbox/nls/fr_FR/fluxbox.cat
/usr/share/fluxbox/nls/it_IT
/usr/share/fluxbox/nls/it_IT/fluxbox.cat
/usr/share/fluxbox/nls/ja_JP
/usr/share/fluxbox/nls/ja_JP/fluxbox.cat
/usr/share/fluxbox/nls/ko_KR
/usr/share/fluxbox/nls/ko_KR/fluxbox.cat
/usr/share/fluxbox/nls/lv_LV
/usr/share/fluxbox/nls/lv_LV/fluxbox.cat
/usr/share/fluxbox/nls/nl_NL
/usr/share/fluxbox/nls/nl_NL/fluxbox.cat
/usr/share/fluxbox/nls/pl_PL
/usr/share/fluxbox/nls/pl_PL/fluxbox.cat
/usr/share/fluxbox/nls/pt_BR
/usr/share/fluxbox/nls/pt_BR/fluxbox.cat
/usr/share/fluxbox/nls/pt_PT
/usr/share/fluxbox/nls/pt_PT/fluxbox.cat
/usr/share/fluxbox/nls/ru_RU
/usr/share/fluxbox/nls/ru_RU/fluxbox.cat
/usr/share/fluxbox/nls/sl_SI
/usr/share/fluxbox/nls/sl_SI/fluxbox.cat
/usr/share/fluxbox/nls/sv_SE
/usr/share/fluxbox/nls/sv_SE/fluxbox.cat
/usr/share/fluxbox/nls/tr_TR
/usr/share/fluxbox/nls/tr_TR/fluxbox.cat
/usr/share/fluxbox/nls/uk_UA
/usr/share/fluxbox/nls/uk_UA/fluxbox.cat
/usr/share/fluxbox/nls/vi_VN
/usr/share/fluxbox/nls/vi_VN/fluxbox.cat
/usr/share/fluxbox/styles
/usr/share/fluxbox/styles/Artwiz
/usr/share/fluxbox/styles/BlueFlux
/usr/share/fluxbox/styles/BlueFlux/pixmaps
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_close_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_close_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_close_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_max_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_max_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_max_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_min_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_min_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_min_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stick_active.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stick_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stick_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stuck_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_stuck.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_toolbar_pressed.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/button_toolbar.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/menu_frame.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/title_bar_unfocus.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/title_bar.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/toolbar_label.xpm
/usr/share/fluxbox/styles/BlueFlux/pixmaps/toolbar.xpm
/usr/share/fluxbox/styles/BlueFlux/theme.cfg
/usr/share/fluxbox/styles/BlueNight
/usr/share/fluxbox/styles/Carbondioxide
/usr/share/fluxbox/styles/Clean
/usr/share/fluxbox/styles/Cthulhain
/usr/share/fluxbox/styles/Emerge
/usr/share/fluxbox/styles/Emerge/pixmaps
/usr/share/fluxbox/styles/Emerge/pixmaps/bullet.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/close-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/close-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/close.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/icon-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/icon-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/icon.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/max-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/max-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/max.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/selected.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stick-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stick-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stick.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stuck-pressed.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stuck-unfocus.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/stuck.xpm
/usr/share/fluxbox/styles/Emerge/pixmaps/unselected.xpm
/usr/share/fluxbox/styles/Emerge/theme.cfg
/usr/share/fluxbox/styles/Flux
/usr/share/fluxbox/styles/LemonSpace
/usr/share/fluxbox/styles/Makro
/usr/share/fluxbox/styles/MerleyKay
/usr/share/fluxbox/styles/Meta
/usr/share/fluxbox/styles/Minimal
/usr/share/fluxbox/styles/Nyz
/usr/share/fluxbox/styles/Operation
/usr/share/fluxbox/styles/Outcomes
/usr/share/fluxbox/styles/qnx-photon
/usr/share/fluxbox/styles/Rampage
/usr/share/fluxbox/styles/Results
/usr/share/fluxbox/styles/Shade
/usr/share/fluxbox/styles/Spiff
/usr/share/fluxbox/styles/Twice
/usr/share/man/man1/fluxbox.1.gz
/usr/share/man/man1/startfluxbox.1.gz
/usr/share/menu/fluxbox
/usr/share/xsessions/fluxbox.desktop
/var/lib/dpkg/info/fluxbox.conffiles
/var/lib/dpkg/info/fluxbox.list
/var/lib/dpkg/info/fluxbox.md5sums
/var/lib/dpkg/info/fluxbox.postinst
/var/lib/dpkg/info/fluxbox.postrm
/var/lib/dpkg/info/fluxbox.preinst
/var/lib/dpkg/info/fluxbox.prerm

User avatar
sn0wman
Posts: 70
Joined: 16 June 2002, 02:14
Location: Karlstad
Contact:

Post by sn0wman » 28 June 2007, 13:42

kör du med gdm eller kdm?
-- Ever stop to think, and forget to start again? --

phm
Posts: 778
Joined: 17 June 2005, 00:29

Post by phm » 28 June 2007, 14:16

gdm förmodar jag har ju GNOME.

User avatar
sn0wman
Posts: 70
Joined: 16 June 2002, 02:14
Location: Karlstad
Contact:

Post by sn0wman » 28 June 2007, 15:02

då borde du ha /etc/gdm :) kolla igen.
-- Ever stop to think, and forget to start again? --

phm
Posts: 778
Joined: 17 June 2005, 00:29

Post by phm » 28 June 2007, 16:27

sn0wman wrote:då borde du ha /etc/gdm :) kolla igen.
Jodå:

Code: Select all

debian:/etc/gdm# ls -l
total 52
-rw-r--r-- 1 root root  2597 2006-12-16 06:24 gdm.conf
drwxr-xr-x 2 root root  4096 2007-06-26 18:05 Init
-rw-r--r-- 1 root root 10842 2006-12-16 06:24 locale.conf
drwxr-xr-x 2 root root  4096 2007-06-26 18:05 modules
drwxr-xr-x 2 root root  4096 2007-06-26 18:05 PostLogin
drwxr-xr-x 2 root root  4096 2007-06-26 18:05 PostSession
drwxr-xr-x 2 root root  4096 2007-06-26 18:05 PreSession
-rwxr-xr-x 1 root root  4182 2006-12-16 06:24 XKeepsCrashing
-rwxr-xr-x 1 root root  5898 2006-12-16 06:24 Xsession

User avatar
sn0wman
Posts: 70
Joined: 16 June 2002, 02:14
Location: Karlstad
Contact:

Post by sn0wman » 28 June 2007, 18:44

kan inte testa själv då jag kör kör kde, men prova göra en katalog i /etc/gdm som du döper till Sessions o släng in fluxbox filen där.

kolla även i gdm.conf och Xsessions vad som står om det kan vägleda dig mer.
-- Ever stop to think, and forget to start again? --

Post Reply