This post will most likely be edited.(it has)
..and a module built,(here you go) http://forum.porteus.org/viewtopic.php? ... 389#p16368 which should make most of this redundant ..but not really..
First, grab Lxde destop, (presently 2.1 RC2)
Install, save changes, magicfolders etc....
Lxde uses openbox to manage windows and virtual desktops.
Heres what i did to use openbox in a /bang sort of way.
Here are 2 possible ways to go.
First, the Lxde way,
1.Edit
/etc/xdg/lxsession/LXDE/autostart), comment out pcmanfm and pcmanfm.
Code: Select all
!@pcmanfm --desktop --profile LXDE
!@lxpanel-porteus
and add ~/.config/lxsession/LXDE/autostart
example:
Code: Select all
imlibsetroot -s ~/.wallpaper/porteuswalppr-2.png
!sh ~/.fehbg
tint2
conky -q
volumeicon -b
compton --config ~/compton.conf
2.Copy
your favourite settings/keybinds to ~/.config/openbox/lxde-rc.xml or simply rename rc.xml
Second The openbox-session way..
1.Edit(as root)
/etc/lxdm/lxdm.conf line 10:
Code: Select all
session=/usr/bin/openbox-session
2.Rightclick Menu -
already got it in /home/guest/.config/openbox/menu.xml plus dynamic applications menu with 'openbox-menu'
**** NOTE since Porteus 3.0, menu entry must be: execute="openbox-menu lxde-applications.menu"
3.rc.xml
mouse, keybinds and window/desktop rules in /home/guest/.config/openbox/rc.xml
copy from /etc/xdg/openbox if necessary
4.Add autostart
in /home/guest/.config/openbox/autostart
example:
Code: Select all
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
sh ~/.fehbg &
tint2 &
conky -q &
volumeicon -b &
xcompmgr &
feh i wanted conky with transparency so instead of pcmanfm as background setter
file /home/guest/.fehbg =
feh --bg-scale '/path/to/image'
as a bonus you get a cool image viewer and can directly set background from viewer.
or
hsetroot(debian)works fine
autostart line:
Code: Select all
hsetroot -fill /path/to/image
imlibsetroot http://robotmonkeys.net/2012/12/30/imlibsetroot-1-6/)
autostart line:
Code: Select all
imlibsetroot -s /path/to/image &
xsetroot(default)plain colours or possibly a pattern with '-bitmap <filename>' ? or gradient?
or
pcmanfm or spacefm can also set backgrounds and desktop icons..but if you want this, stick with lxde..
6.Utilities(in PPM):
tint2 for systemtray and pager and other stuff if you want
volumeicon to change volume
scrot set to 'printsrceen' key in rc.xml and/or add menu entr(ies) in menu.xml (now built in to lxde)
conky for coolness.. porteus conky is built with lua and audacious support
spacefm ...nothing against pcmanfm..but..easier to set up(in openbox-session) and has a smaller footprint with more features...
mc
7.Others:
dmenu a handy run menu (package from slackware)
xcompmgr for some candy (package from slackware)* buggy- gives transparency and fading, no shadows.
compton (from https://github.com/chjj/compton ) gives transparency(window border,unfocused) fading, shadows. includes compton-trans for ondemand window transparency....and more..
openbox-menu gives dynamic menu from lxde http://fabrice.thiroux.free.fr/openbox-menu_en.html (included with lxde)
**** NOTE since Porteus 3.0, menu entry must be: execute="openbox-menu lxde-applications.menu"
obmenu (from http://obmenu.sourceforge.net/ ) gui menu editor *untested *needs python
yampo (from source..?) C based? dynamic pipemenu, requires prebuild configuration
obmenu-generator (from source..?) perl script generates static or dynamic menus, overwrites menu.xml, requires (?),(?) perl modules
obkey (from http://code.google.com/p/obkey/ ) gui keybinds editor *untested *needs python
conkyswitcher script to change between two configs, ~/.conkyrc and .conkyrc1
Code: Select all
#!/bin/bash
#A script to switch conky
## Conkyswitch V.3 ;-) [Credits- genesis300, yoshi314 and combined by sHy ;-D]
pkill -2 -f conky
cp ~/.conkyrc ~/.conkyrc.bak
cp ~/.conkyrc1 ~/.conkyrc
mv ~/.conkyrc.bak ~/.conkyrc1
conky -c ~/.conkyrc -q &
direct shutdown from menu, only logout to lxdm, then shutdown/reboot(fixed)
General Resources:
http://openbox.org/
http://crunchbang.org/forums/viewtopic.php?id=85
https://wiki.archlinux.org/index.php/Openbox
https://wiki.archlinux.org/index.php/Op ... d_programs