Page 9 of 9 FirstFirst ... 789
Results 81 to 86 of 86

Thread: HOWTO: A Blackbox Guide

  1. #81
    Join Date
    May 2005
    Beans
    498

    Re: HOWTO: A Blackbox Guide

    ## Someone was wanting to setup bbpager here is the file I use found it someware on the web but it has nice comments. This is the Blackbox setup thread. Thanks.
    #######################start###################### ###
    !************************************************* *********************
    !** bbpager.rc: bbpager configuration file **
    !** **
    !** This is the global bbpager configuration file. To make **
    !** user-specific modifications, you should copy this file to your **
    !** home directory in $HOME/.bbtools/bbpager.rc and edit that file. **
    !** **
    !** All options have been commented out in this file. To change an **
    !** option from its default setting, uncomment it and modify the **
    !** setting. **
    !************************************************* *********************


    !************************************************* *********************
    !** behavior section
    !************************************************* *********************

    !** Indicate whether the bbpager window is withdrawn. If using with
    !** blackbox, "withdrawn" means it will be placed in the slit.
    bbpager.withdrawn: false

    !** Set the position of the bbpager window.
    !** Relevant only when bbpager.withdrawn is False.
    bbpager.position: +570-40

    !** Set the width and height of bbpager's model of the desktop windows.
    bbpager.desktop.width: 54
    bbpager.desktop.height: 36

    !** Set the desktop orientation.
    !** Possible values: horizontal, vertical
    !bbpager.desktop.orientation: horizontal

    !** Define the maximum number of columns. The number of rows will
    !** increase as necessary to accommodate additional desktops.
    !** Relevant only when bbpager.desktop.orientation is horizontal.
    !bbpager.desktop.columns: 1

    !** Define the maximum number of rows. The number of columns will
    !** increase as necessary to accommodate additional desktops.
    !** Relevant only when bbpager.desktop.orientation is vertical.
    !bbpager.desktop.rows: 1

    !** Set the window focus style. This is the method to distinguish
    !** the focused window from unfocused windows. When set to none,
    !** a window will appear the same whether or not it is focused.
    !** When set to border, a window's border may change when it is
    !** focused, but its interior appearance will not. When set to
    !** texture, a window's border and interior appearance may
    !** change when it is focused.
    !** Possible values: none, border, texture
    bbpager.window.focusStyle: texture

    !** Set the desktop focus style. This is the method to distinguish
    !** the focused desktop from the other desktops. When set to none,
    !** a desktop will appear the same whether or not it is focused.
    !** When set to border, a desktop's border may change when it is
    !** focused, but its interior appearance will not. When set to
    !** texture, a desktop's border and interior appearance may
    !** change when it is focused.
    !** Possible values: none, border, texture
    bbpager.desktop.focusStyle: border

    !** Set the mouse button used to perform various actions.
    !** Typically, button 1 is the left mouse button, 2 middle, 3 right,
    !** etc., though this may be changed in the user's X configuration.
    !** A value of 0 may be assigned to bbpager.windowFocusButton or
    !** bbpager.windowRaiseButton, meaning that no button will perform
    !** these actions.
    !** Multiple functions may be assigned to a single mouse button. For
    !** example, raise and focus might be good candidates to assign to
    !** the same button.
    bbpager.desktopChangeButton: 1
    bbpager.windowMoveButton: 1
    bbpager.windowFocusButton: 1
    bbpager.windowRaiseButton: 1


    !************************************************* *********************
    !** style section
    !**
    !** See the blackbox documentation for a description of the style
    !** syntax.
    !************************************************* *********************

    !** Set the margin between the edge of the tool and the desktops.
    bbpager.margin: 1

    !** Set the margin between the desktops.
    bbpager.desktop.margin: 1

    !** Define the frame style.
    !** bbpager will attempt to copy these options from the blackbox
    !** toolbar style.
    bbpager.frame.appearance: Raised Gradient Vertical
    bbpager.frame.color1: white
    bbpager.frame.color2: white

    !** Define the desktop window style. This style is used to draw
    !** all desktops when bbpager.desktop.focusStyle is none or border,
    !** and it is used to draw the unfocused desktops when
    !** bbpager.desktop.focusStyle is texture.
    !** bbpager will attempt to copy these options from the blackbox
    !** toolbar.label style.
    bbpager.desktop.appearance: Sunken Gradient Vertical
    bbpager.desktop.color1: lightblue
    bbpager.desktop.color2: darkblue

    !** Define the focused desktop window style. This style is used
    !** to draw the focused desktop when bbpager.desktop.focusStyle
    !** is texture.
    bbpager.desktop.focus.appearance: Sunken Gradient Vertical
    bbpager.desktop.focus.color1: yellow
    bbpager.desktop.focus.color2: yellow

    !** Define the border for the focused desktop window.
    !** Set borderWidth to 0 for no border.
    !** Not relevant when bbpager.desktop.focusStyle is none.
    bbpager.active.desktop.borderColor: white
    bbpager.active.desktop.borderWidth: 1

    !** Define the border for unfocused desktop windows.
    !** Set borderWidth to 0 for no border.
    bbpager.inactive.desktop.borderColor: black
    bbpager.inactive.desktop.borderWidth: 1

    !** Define the window style. This style is used to draw all
    !** windows when bbpager.window.focusStyle is none or border,
    !** and it is used to draw the unfocused windows when
    !** bbpager.window.focusStyle is texture.
    !** bbpager will attempt to copy these options from the blackbox
    !** window.label.unfocus style.
    bbpager.window.appearance: Raised Gradient Diagonal
    bbpager.window.color1: white
    bbpager.window.color2: white

    !** Define the focused window style. This style is used to draw
    !** the focused window when bbpager.window.focusStyle is
    !** texture.
    !** bbpager will attempt to copy these options from the blackbox
    !** window.label.focus style.
    bbpager.window.focus.appearance: Raised Gradient Vertical
    bbpager.window.focus.color1: orange
    bbpager.window.focus.color2: yellow

    !** Define the border for the focused window.
    !** Set borderWidth to 0 for no border.
    !** Not relevant when bbpager.window.focusStyle is none.
    bbpager.active.window.borderColor: black
    bbpager.active.window.borderWidth: 1

    !** Define the border for unfocused windows.
    !** Set borderWidth to 0 for no border.
    !bbpager.inactive.window.borderColor: black
    !bbpager.inactive.window.borderWidth: 1

    ######################end######################

    A picture of it. http://img352.imageshack.us/my.php?i...24x600sjv7.png
    Last edited by oswaldkelso; November 16th, 2008 at 11:21 PM. Reason: typos

  2. #82
    Join Date
    Jun 2009
    Beans
    7

    Re: HOWTO: A Blackbox Guide

    Such an excellent guide, thank you for getting me on my feet with Blackbox; this is the only GUI for me!

    One thing to note about 9.04 and the startup script:

    Xwindows gave me some difficulty when attempting to run "exec /usr/local/bin/blackbox" in my ~/.bbstartup.sh script. However, when I edited the /usr/share/xsessions/blackbox.desktop file, the executable path simply listed "blackbox," and nothing else. I was unable to find a /usr/local/bin/blackbox directory in general upon further review.

    I was able to alleviate this by simply telling my startup script to "exec blackbox."

    I don't know if this is common knowledge at this rate or what, but hopefully this will help anyone with a simliar issue I had when attempting to use bluevoodoo1's amazing guide

    Cheers,
    -Mike

  3. #83
    Join Date
    Sep 2005
    Beans
    1,083
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: A Blackbox Guide

    Nearly four years after creating this tutorial, it still mostly works (just tried it successfully with 10.4)!

  4. #84
    Join Date
    Oct 2009
    Location
    New Jersey, USA
    Beans
    246
    Distro
    Ubuntu Development Release

    Re: HOWTO: A Blackbox Guide

    Thank you for a most excellent guide! I like Blackbox a lot, but I have tried setting the wallpaper through altering the rootCommand to no avail so far - running Maverick here. I changed the rootCommand in the style file - no effect; I then changed it in .blackboxrc, and still no effect. I do know that the .blackboxrc file is being read since I am able to set whatever menu options I want through there, but it just seems like the Esetroot command is not there at all! Eterm is certainly installed, and my rootCommand in .blackboxrc looks like:

    rootCommand: Esetroot -scale /path/to/wallpaper

    I would like to keep the rootCommand in the blackboxrc file as opposed to changing it in each style file - that seems like no fun. When I use the command manually from a terminal, the wallpaper is changed instantly, so it certainly works, just not during startup. Any ideas? This happens both in Ubuntu and Arch Linux - am I missing something? I have the usual Ubuntu Desktop Edition gnome as well and my login manager is gdm, but I think that should not be cause for trouble.

    I must comment here that I want to keep using blackbox, for nostalgic reasons - I did install fluxbox once but it seemed no different except for a few additional features, so I chose to stick with the real thing. Aside from this I would only use ratpoison when not in gnome. Running a low memory footprint is not exactly my criterion, in this day and age of humongous RAMs and CPU power, but it is the elegance of these unique approaches that drives me.
    Be formless, shapeless... like water. Now you put water into a cup, it becomes the cup; you put water into a bottle it becomes the bottle; if you put it in a teapot it becomes the teapot... Now water can flow, or it can crash... Be water my friend

  5. #85
    Join Date
    Oct 2009
    Location
    New Jersey, USA
    Beans
    246
    Distro
    Ubuntu Development Release

    Re: HOWTO: A Blackbox Guide

    I believe I lied a little - apparently the Esetroot Command in the the blackboxrc file does have some effect - the effect is just to keep the same background as the login screen in gdm. If I remove the rootCommand from the file, since I have set my default style to "Green", I just get a solid green background. So I guess I am bewildered as to what is happening.
    Be formless, shapeless... like water. Now you put water into a cup, it becomes the cup; you put water into a bottle it becomes the bottle; if you put it in a teapot it becomes the teapot... Now water can flow, or it can crash... Be water my friend

  6. #86
    Join Date
    Oct 2009
    Location
    New Jersey, USA
    Beans
    246
    Distro
    Ubuntu Development Release

    Re: HOWTO: A Blackbox Guide

    Okay got it! The command was correct - I was using:
    Code:
    rootCommand: Esetroot -scale <path/to/image>
    in my .blackboxrc, and for some reason blackbox did not wish to locate the image file, which was in a directory named 'GNU\Linux' on another partition; as soon as I copied the image file over and put it in ~/.blackbox/backgrounds and changed the path in the Esetroot command, the wallpaper is thrown as desired! I believe even though the folder name 'GNU\Linux' is legal - it exists for one and it is allowed to be transferred over rsync and what not else, it is somehow treated as illegal - for instance, when I try a tab completion in the terminal, say, to copy a file from this folder, tab completion does not work for anything inside this folder, whereas `ls' shows the contents just fine. If I change the name of the folder to say 'GNU', everything is good and normal. Ratpoison can find the file just fine in that folder with the original name. Bewildering! If anybody would be able to throw some light on this, it would be much appreciated!
    Last edited by manzdagratiano; December 1st, 2010 at 08:24 PM. Reason: Hashed sentence structure corrected
    Be formless, shapeless... like water. Now you put water into a cup, it becomes the cup; you put water into a bottle it becomes the bottle; if you put it in a teapot it becomes the teapot... Now water can flow, or it can crash... Be water my friend

Page 9 of 9 FirstFirst ... 789

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •