Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delicate & Blackbox
10-10-2011, 08:06 PM
Post: #1
Delicate & Blackbox
I love the *standard* IceWM, but it's nice to look so now and then to other window-managers.
This is Delicate with Blackbox as window-manager.


Attached File(s) Thumbnail(s)
   

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-10-2011, 09:13 PM (This post was last modified: 10-10-2011 09:15 PM by tavvva.)
Post: #2
RE: Delicate & Blackbox
(10-10-2011 08:06 PM)nl2stk Wrote:  I love the *standard* IceWM, but it's nice to look so now and then to other window-managers.
This is Delicate with Blackbox as window-manager.

You really know how to make the things shiny Wink
I like this approach too because ...
(sorry for being vulgar)
... many people believe, that distro for old computers
must look like two shits covered by a vomit Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
10-11-2011, 11:43 AM
Post: #3
RE: Delicate & Blackbox
(10-10-2011 09:13 PM)tavvva Wrote:  (sorry for being vulgar)
... many people believe, that distro for old computers
must look like two shits covered by a vomit Big Grin

I couldn't say it any better :]
B.t.w. it's more fun to be creative with simple Window Managers than Gnome 3, Unity or KDE 4, at least in my case :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-11-2011, 10:19 PM
Post: #4
RE: Delicate & Blackbox
I've been busy to write a descent 'HowTo' before I put the PKGBUILD in the topic.
(after all it's now fresh in my memory)
I guess that some information is usefull for flux- and openbox too.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-12-2011, 10:15 AM (This post was last modified: 10-12-2011 10:36 AM by nl2stk.)
Post: #5
RE: Delicate & Blackbox
A mini 'howto' install/configuration Blackbox/ROX desktop on Delicate

Parts of this information is also suitable for FluxBox, OpenBox and IceWM :]
At first we need to build BlackBox, a minimalistic WindowManager.
The PKGBUILD file looks like this:

Code:
# Maintainer: theo - nl2stk
# Thanks to: dorphell
pkgname=blackbox
pkgver=0.70.1
pkgrel=1
pkgdesc="A window manager for X11"
depends=('xorg-server' 'bash')
source=(http://sourceforge.net/projects/blackboxwm/files/$pkgname-$pkgver.tar.bz2)
url="http://blackboxwm.sourceforge.net/"
md5sums=('53b84260b9d38b35fb25b4baf7bb795a')

build() {
     cd $startdir/src/$pkgname-$pkgver
     ./configure --prefix=/usr -host=i386-pc-linux-gnu --build=i386-pc-linux-gnu
     make || return 1
     make DESTDIR=$startdir/pkg install
     find $startdir/pkg -name '*.la' -exec rm {} \;
}

After making and installing this, we need to change some files.
I highly recommend to backup the original files, for whatever might go wrong!

At first we edit the ~/.xinitrc
The last sentence is 'exec icewm-session'
Comment that one out with a hashtag, and put the following line in:
exec blackbox

The next step is to edit the menu.
The standard entries doesn't match with Delicate Linux. At first we need to login as 'su' and then edit the /usr/share/blackbox/menu file. It's very straightforward and easy, I'll give an example, with a lot of standard
Delicate Linux programs. Ofcourse you need to edit with your own entries. There is (as far as I know) no program to automate this process.

Code:
[begin] (Blackbox)
  [exec] (xterm)     {xterm -ls -fg white -bg black}
  [exec] (uxterm)    {uxterm}
  [exec] (ROX-Filer) {rox}

[submenu] (Office)
  [exec] (Abiword)  {abiword}
  [exec] (Gnumeric) {gnumeric}
  [exec] (Epdfview) {epdfview}
  [exec] (Leafpad)  {leafpad}
  [exec] (Osmo)     {osmo}
[end]

  [submenu] (Graphics)
    [exec] (MT Paint) {mtpaint}
    [exec] (GQview)   {gqview}
  [end]

  [submenu] (Internet)
    [exec] (Skipstone)  {skipstone}
    [exec] (Netsurf)    {netsurf}
    [exec] (Links)      {links -g}
    [exec] (Lynx)       {uxterm -fg white -bg black lynx}
    [exec] (Sylpheed)   {sylpheed}
    [exec] (Transmission) {transmission}
    [exec] (Xchat)      {xchat}
    [exec] (CenterIM)   {uxterm -fg white -bg black centerim}
  [end]
  
  [submenu] (Games)
    [exec] (Lbreakout2) {lbreakout}
    [exec] (Bombic)     {bombic}
    [exec] (Generator)  {generator-gtk)
    [exec] (Lmarbles)   {lmarbles}
  [end]

  [submenu] (MultiMedia)
    [exec] (AuMix) {aumix}
    [exec] (Xmms)  {xmms}
    [exec] (VLC)   {vlc}
  [end]

  [submenu] (Utilities)
    [exec] (Xfontsel) {xfontsel}
    [exec] (Htop)     {uxterm -fg white -bg black htop}
    [exec] (Xcalc)    {xcalc}
    [exec] (Xload)    {xload}
    [exec] (DosBox)   {dosbox}
    [exec] (MC) {uxterm -fg white -bg black mc}
    [exec] (Nano) {uxterm -fg white -bg black nano}
  [end]
    
  [submenu] (Styles) {Choose a style...}
    [stylesdir] (/usr/share/blackbox/styles)
  [end]

  [workspaces] (Workspace List)
  [config] (Configuration)

  [reconfig] (Reconfigure)
  [restart] (Restart)
  [submenu] (Others)              {Other Window Managers}
    [restart] (Start IceWM)       {icewm-session}
  [end]

  [exit] (Exit)
[end]

After your finished, save it and logout as superuser and restart your computer. When you start X, you're getting a desktop wich isn't very different from Fluxbox.
Because rox-filer can handle wallpapers, icons, panels or whatever it would be a waste to use something else. Because BlackBox (FluxBox and OpenBox too) use the right-mousebutton for the menu, we must change some things. Otherwise we're locked up with rox-stuff. To do so, we start Rox with the right mousebutton, and rightclick somewhere in the window. In the menu select 'options' and go to 'Compatibility'.
Check the options 'Pass all backdrop mouse clicks to the windowmanager' and 'Blackbox root
menu hack'
. When you're finished with that, you can add rox to your ~/.xinitrc. Make the entry one line before the 'exec blackbox', like this example:

exec rox --pinboard=yourusername &
exec blackbox


Ofcourse you need to replace 'yourusername' with your own name :] Restart your computer and on the left corner appears a home icon. When you rightclick on it, there is an option 'Backdrop' if you have a wallpaper somewhere on the HD (I'll recommend a seperate map for it) just open Rox-Filer and drag it in the 'backdrop window'.
There are several options 'centre, scale, fit, stretch or tile' to choose out. After that click on 'Close' and the wallpaper is set.

In the left corner the blue home icon isn't what you call very impressive, but it's very easy too change it. At first you need to find an icon that you like, with Google I'm pretty sure you can find something that matches with your 'Style' (Themes are called Styles in BlackBox). If you're finished with that, open Rox-Filer and the map where your new icon is. After that right-click on the 'Home' icon in the upperleft corner from your desktop and go to 'Dir Home' -> 'Set Icon'.
Just like setting the wallpaper you can drag and drop the icon but than in the 'Set Icon' window. Click on 'Close' and your 'Home' icon is set.

The standard 'Rox-filer' icons are not spectaculair or may not match with your style but they can be easily changed. There are several sites where you can find lot's of themes to choose out.
An example is this: http://gnome-look.org/index.php?xcontentmode=121
If you've once downloaded a theme, untar it in ~/.icons. If everything goes well there should be a map with the name of the theme. Now you can choose your new icon theme by the following steps.
Rightclick on the 'Home' icon and choose 'Rox-Filer' -> 'Options' -> 'Types'.
In that window you can change the standard Rox theme to the icon theme you've installed and click on the 'OK' button. If you start Rox-filer the chance is pretty high you don't see a difference. In that case go to the 'refresh' button and click on it, after that you'll see the new icons. That's all :]

Some extra info:
It's possible to add some extra panels to your desktop with Rox-filer. Rightclick on your 'Home' icon and you'll see 'Add Panel'. I don't use it, so it's up to you to find that one out :]

Extra styles (themes)
If you're not into making your own, there are thousands to find on the web.
An example is this one: http://blackboxwm.sourceforge.net/Blackb...positories
They are easy to install, download the style you like and untar it. After that log in as 'su' and copy it in the /usr/share/blackbox/styles map. When you're finished you can choose your style by pressing the right mousebutton and choose 'Styles'.

I'll hope this information is enough to get a descent blackbox desktop.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-12-2011, 11:29 AM (This post was last modified: 10-12-2011 03:24 PM by tavvva.)
Post: #6
RE: Delicate & Blackbox
(10-11-2011 10:19 PM)nl2stk Wrote:  BlackBox PKGBUILD

I'm quite sure, that the list of dependencies is not correct. There's no need for xorg-server in case of WMs. They can run with vncserver too. This needs to be rechecked.

There was also a missing dash in the --host but it surprisingly works without problems :] Anyway, I fixed that.

The static library is somehow forced as enabled regardless of the switch, so ... it's either needed or it's a problem of the configure script. We can let it be there.

I'm going to add blackbox to the list of supported WMs ... there will be no need to edit .xinitrc manually. The switch can be done in the delisetup.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-12-2011, 03:26 PM (This post was last modified: 10-12-2011 03:37 PM by tavvva.)
Post: #7
RE: Delicate & Blackbox
Sorry for the previous (and already deleted) confusion with mandir ... I maintain other distros where mandir=/usr/share/man and my brain somehow protests today Big Grin It was correct ... In case of DeLi(cate) all manpages should be in /usr/man and if not, then makepkg changes the location automatically to /usr/man ... this somehow didn't work in case of sndconfig and I have to fix that ...
Visit this user's website Find all posts by this user
Quote this message in a reply
10-12-2011, 05:05 PM
Post: #8
RE: Delicate & Blackbox
(10-12-2011 11:29 AM)tavvva Wrote:  I'm quite sure, that the list of dependencies is not correct. There's no need for xorg-server in case of WMs.
I guess this is a minimal pkgbuild, I'll sue the one I lend the script from Tongue
I know it uses less dependencies than fluxbox for example.
The blackbox homepage isn't much of a help either.
When I take a look at other distos the depends line would be something like this:
depends=('expat' 'libiconv' 'fontconfig' 'freetype2' 'libX11' 'libxau' 'libxdmcp' 'libxext' 'libxrender' 'libxfont' 'bash' 'zlib')

Quote:There was also a missing dash in the --host but it surprisingly works without problems :] Anyway, I fixed that.

Argh.. don't ask me how, but it's most likely that I did something wrong with the 'copy' and 'paste' here.

Quote:I'm going to add blackbox to the list of supported WMs ... there will be no need to edit .xinitrc manually. The switch can be done in the delisetup.

In that case it's only needed for putting the 'rox pinboard' in it.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
10-12-2011, 11:06 PM
Post: #9
RE: Delicate & Blackbox
(10-12-2011 03:26 PM)tavvva Wrote:  Sorry for the previous (and already deleted) confusion with mandir ...

Hehe... we all get confused sometimes.
I've made a screenshot that suits with the 'howto'..
Different icons for rox, blackbox style etc.


Attached File(s) Thumbnail(s)
   

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication