View unanswered posts | View active topics It is currently Wed May 22, 2013 3:04 am



Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
 Wallpaper-can it be changed with each workspace? 
Author Message
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Wallpaper-can it be changed with each workspace?
Hey, I'm still new to bbLean, so bear with me. :?

I was wondering if there's a way to change the wallpaper with each workspace. For example, workspace 1 has wallpaper A, workspace 2 has wallpaper B, ect.

I have the Workspace Style plugin as well and it works great. Is there maybe a way to incorporate wallpapers with it? Or is there maybe a separate plug in/code/whatever to do this?

Using BoxCore on Vista, btw, if that matters.


Wed Jan 28, 2009 11:26 pm
Report this post
Profile
Sponsored Links
Google Adsense


Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 778
Location: LA, US
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Setting each style's rootcommand would be the easiest way to go.

_________________
My blackbox styles


Thu Jan 29, 2009 12:09 am
Report this post
Profile WWW
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
cthu1hu wrote:
Setting each style's rootcommand would be the easiest way to go.


ah, I'll need bsetroot right?


Thu Jan 29, 2009 12:32 am
Report this post
Profile
Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 778
Location: LA, US
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Yep :wink:

_________________
My blackbox styles


Thu Jan 29, 2009 2:02 am
Report this post
Profile WWW
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
thanks. ive been messing with my two favorite styles root commands all day and check online for hours to see what im doing wrong, but my backgrounds dont load with the styles. as far as i know everythings right. *sigh* for now i found a workaround using workspace style and bbstyles together. bbstyles has a way to switch between wallpapers, so yeah. But Id still like to figure out why my wallpapers wont load from my style rc files.

I have both bsetroot and bsetbg. both are in the blackbox folder. this is my entire code for one of my styles. im putting it all cause I think maybe there might be something else thats wrong? And not just the background part...
Code:
rootCommand:                       
! Automagically generated by bbstylemaker

! Stylefile for blackbox

! -- info --
style.name:                         blarga blue
style.author:                       blockhead aka pcc
style.date:                         feb 2004
style.credits:                     
style.comments:                     black with sky blue

! -- background --rootCommand: bsetroot -f backgrounds\watchmen.png!-- toolbar --
toolbar:                            raised gradient diagonal
toolbar.color:                      #3d3d3d
toolbar.colorTo:                    #000000
toolbar.textColor:                  #00ff00
toolbar.justify:                    left
toolbar.font:                       Astrolyte

toolbar.label:                      raised bevel2 gradient pipecross
toolbar.label.color:                #000000
toolbar.label.colorTo:              #383838
toolbar.label.textColor:            #00ff00

toolbar.windowLabel:                raised gradient diagonal
toolbar.windowLabel.color:          #000005
toolbar.windowLabel.colorTo:        #000000
toolbar.windowLabel.textColor:      #00ff00

toolbar.clock:                      raised gradient diagonal
toolbar.clock.color:                #000000
toolbar.clock.colorTo:              #383838
toolbar.clock.textColor:            #00ff00

toolbar.button:                     raised gradient diagonal
toolbar.button.color:               #03ff00
toolbar.button.colorTo:             #000000
toolbar.button.picColor:            #00ff00

toolbar.button.pressed:             raised gradient pyramid
toolbar.button.pressed.color:       #00ff00
toolbar.button.pressed.colorTo:     #00ff00
toolbar.button.pressed.picColor:    #000000

! -- menu --
menu.title:                         raised gradient vertical
menu.title.color:                   #026401
menu.title.colorTo:                 #171717
menu.title.textColor:               #00ff00
menu.title.justify:                 left
menu.title.font:                    Astrolyte
menu.title.fontHeight:              14

menu.frame:                         raised gradient diagonal
menu.frame.color:                   #000000
menu.frame.colorTo:                 #000000
menu.frame.textColor:               #00ff00
menu.frame.justify:                 left
menu.frame.font:                    Astrolyte

menu.hilite:                        raised gradient diagonal
menu.hilite.color:                  #0fff04
menu.hilite.colorTo:                #000000
menu.hilite.textColor:              #d9d9d9

menu.bullet:                        empty
menu.bullet.position:               right

! -- window --
window.title.focus:                 raised gradient diagonal
window.title.focus.color:           #545454
window.title.focus.colorTo:         #1c1c1c

window.label.focus:                 raised gradient diagonal
window.label.focus.color:           #363636
window.label.focus.colorTo:         #000000
window.label.focus.textColor:       #00ff00

window.handle.focus:                raised gradient diagonal
window.handle.focus.color:          #383838
window.handle.focus.colorTo:        #1c1c1c

window.grip.focus:                  raised gradient diagonal
window.grip.focus.color:            #4aa4ff
window.grip.focus.colorTo:          #0078f1

window.button.focus:                raised gradient diagonal
window.button.focus.color:          #383838
window.button.focus.colorTo:        #1c1c1c
window.button.focus.picColor:       #00ff00

window.button.pressed:              sunken gradient diagonal
window.button.pressed.color:        #262626
window.button.pressed.colorTo:      #1c1c1c
window.button.pressed.picColor:     #00ff00

window.title.unfocus:               flat gradient diagonal
window.title.unfocus.color:         #383838
window.title.unfocus.colorTo:       #1c1c1c

window.label.unfocus:               parentrelative
window.label.unfocus.textColor:     #808080

window.handle.unfocus:              flat solid
window.handle.unfocus.color:        #000000

window.grip.unfocus:                raised gradient diagonal
window.grip.unfocus.color:          #383838
window.grip.unfocus.colorTo:        #1c1c1c

window.button.unfocus:              raised gradient diagonal
window.button.unfocus.color:        #000000
window.button.unfocus.colorTo:      #1c1c1c
window.button.unfocus.picColor:     #000000

window.frame.focusColor:            black
window.frame.unfocusColor:          black

window.font:                        Astrolyte
window.justify:                     left

! -- misc. --
borderColor:                        #000000
borderWidth:                        3
bevelWidth:                         0
frameWidth:                         3
handleWidth:                        2


I took the blarga blue style blackbox came with and just edited to my liking with BBStyleMaker. Also, in the text editor, its not well organized like it pasted above. Its rather in three looooooooooong horizontal lines. Dunno if that makes a difference though.
Anyway ive tried both bsetroot and bsetbg, and tried both f, and full. The image is there in the C:\Blackbox\backgrounds folder.... and it shows up through bbStyle. So I can only assume something is messed up with the style code somewhere...

And I've also tried enabling/disabling the wallpaper and smart wallpaper, and reconfiguring.
Sorry for the lengthy post, but any help would be great. Thanks. :)


Thu Jan 29, 2009 3:10 am
Report this post
Profile
Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 778
Location: LA, US
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Your rootcommand is commented out. Try it in its own line
Code:
rootCommand: bsetroot -f backgrounds\watchmen.png


I think bbstylemaker saves in unix format, so, in windows' notepad for example, it looks garbled. It doesn't affect the rendering though. If you re-save the file in a text editor that has unix to pc conversion, it'll display correctly in those less feature rich editors.

_________________
My blackbox styles


Thu Jan 29, 2009 3:57 am
Report this post
Profile WWW
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Ok, I un-commented it. it looks like this now.
Code:
! -- background --
rootCommand: bsetroot -full backgrounds\watchmen.png


and still it doesn't work. :?


Thu Jan 29, 2009 4:23 am
Report this post
Profile
Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 778
Location: LA, US
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
No reason why it shouldn't. Check background settings in your menu and that bsetroot.exe is in your root blackbox directory.

_________________
My blackbox styles


Thu Jan 29, 2009 4:42 am
Report this post
Profile WWW
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
bsetroot is in C:\Blackbox. If by background settings you mean blackbox>config>graphics, then I've tried checking and un checking enable background and smart wallpaper.

I don't get it.. >_<


Thu Jan 29, 2009 4:51 am
Report this post
Profile
Moderator
User avatar

Joined: Sun Dec 05, 2004 10:08 pm
Posts: 778
Location: LA, US
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Try unloading workspace style and see if it works. If it does, your relevant settings are probably in blackbox.rc, where you have to have workspace style's code in it.

_________________
My blackbox styles


Thu Jan 29, 2009 5:18 am
Report this post
Profile WWW
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
didn't work either. :(


Thu Jan 29, 2009 5:33 am
Report this post
Profile
BBDinosaur
User avatar

Joined: Mon Nov 05, 2007 3:39 pm
Posts: 732
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
I don't think the workspacechange plugin has anything to do with the wallpaper not showing correctly.
The following settings work for me in bbClean (I'm not using the workspacechanger plugin anymore because it was too slow to apply new styles on the machine I wanted to use it on [I am changing workspaces frequently and the delay caused by the style change was simply too much to bear]):
blackbox.rc
Code:
# - menu & style -
session.menufile:                       menu.rc

session.styleFile.workspace1:           styles\Red.style
session.styleFile.workspace2:           styles\C4.style
session.styleFile.workspace3:           styles\Tetra.style
session.styleFile.workspace4:           styles\Novum.style

session.styleFile:                      styles\Red.style

I'm not certain that you really need the last line - session.styleFile: - but leaving it there doesn't seem to cause any harm.

Here's the style's background command:
Code:
! -- background --
rootCommand:            bsetroot -f Backgrounds\Red_by_Verto.png

Now make sure everything is where it's supposed to be, and that the backgrounds directory is spelled correctly, and you should be good to go.
I also attached my copy of bsetroot just in case.


Attachments:
bsetroot.exe [254.5 KiB]
Downloaded 54 times
Thu Jan 29, 2009 6:04 pm
Report this post
Profile
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Everythings in the right place and spelled correctly. In my backbox.rc file I already had that. In fact, I'll show the whole thing, in case I missing something...

Blackbox.rc
Code:
# ------------------------------------------
# bblean 1.16 - blackbox.rc - basic settings

# Lines starting with # or ! are ignored
# All items are configurable from the menu

# - the toolbar -
session.screen0.toolbar.enabled:        false
session.screen0.toolbar.placement:      BottomCenter
session.screen0.toolbar.widthPercent:   55
session.screen0.toolbar.onTop:          true
session.screen0.toolbar.autoHide:       true
session.screen0.toolbar.pluginToggle:   true
session.screen0.toolbar.alpha.enabled:  false
session.screen0.toolbar.alpha.value:    224

# - the menu -
session.menu.position.x:                488
session.menu.position.y:                271
session.menu.maxWidth:                  300
session.menu.popupDelay:                61
session.menu.mouseWheelFactor:          3
session.menu.alpha.enabled:             true
session.menu.alpha.value:               220
session.menu.onTop:                     false
session.menu.snapWindow:                false
session.menu.pluginToggle:              true
session.menu.bulletPosition:            default
session.menu.sortbyExtension:           true
session.menu.shadows.Enabled:           true
session.menu.icon.size:                 0
session.menu.separatorStyle:            gradient

# - the slit -
session.screen0.slit.placement:         TopRight
session.screen0.slit.direction:         Horizontal
session.screen0.slit.autoHide:          false
session.screen0.slit.ontop:             true
session.screen0.slit.toggle:            false

# - other options -
session.screen0.workspaces:             4
session.screen0.workspacenames:         alpha,beta,gamma,delta
session.screen0.focusModel:             ClickToFocus
session.screen0.fullMaximization:       false
session.screen0.strftimeformat:         %H:%M %a %d %b

session.autoraisedelay:                 250
session.opaqueMove:                     true
session.imageDither:                    true

# - menu & style -
session.menufile:                       menu.rc

session.styleFile.workspace1:           styles\nightcrawler
session.styleFile.workspace2:           styles\TechGreen

session.styleFile:                      styles\nightcralwer


whenever I take out the "session.styleFlie: styles\nightcrawler" code my theme changes to a white theme I don't even have. I only have two custom themes installed, TechGreen and nightcrawler. (I got rid of all the themes Blackbox came with). Actually, I just randomly saved my blackbox.rc file again and reconfigured, and now I'm back with this white theme that doesn't exist in any of my Blackbox files.

and here's my current nightcrawler theme's code.

Code:
rootCommand:                       
! Automagically generated by bbstylemaker

! Stylefile for blackbox

! -- info --
style.name:                         Tech Green
style.author:                       Flippy
style.date:                         Jan 2009
style.credits:                     
style.comments:                     Tech Green

! -- background --
rootCommand:                        bsetroot -full backgrounds\ultimatenightcrawler.jpg

!-- toolbar --
toolbar:                            raised gradient vertical
toolbar.color:                      #0082a8
toolbar.colorTo:                    #1b1b1b
toolbar.textColor:                  #ffff00
toolbar.justify:                    left
toolbar.font:                       Astrolyte

toolbar.label:                      raised bevel2 gradient vertical
toolbar.label.color:                #0082a8
toolbar.label.colorTo:              #1b1b1b
toolbar.label.textColor:            #ffff00

toolbar.windowLabel:                raised gradient diagonal
toolbar.windowLabel.color:          #0082a8
toolbar.windowLabel.colorTo:        #1b1b1b
toolbar.windowLabel.textColor:      #ffff00

toolbar.clock:                      raised gradient diagonal
toolbar.clock.color:                #0082a8
toolbar.clock.colorTo:              #1b1b1b
toolbar.clock.textColor:            #ffff00

toolbar.button:                     raised gradient vertical
toolbar.button.color:               #0082a8
toolbar.button.colorTo:             #1b1b1b
toolbar.button.picColor:            #ffff00

toolbar.button.pressed:             raised gradient vertical
toolbar.button.pressed.color:       #0082a8
toolbar.button.pressed.colorTo:     #1b1b1b
toolbar.button.pressed.picColor:    #ffff00

! -- menu --
menu.title:                         raised gradient vertical
menu.title.color:                   #002e4f
menu.title.colorTo:                 #000000
menu.title.textColor:               #ffff00
menu.title.justify:                 left
menu.title.font:                    Astrolyte
menu.title.fontHeight:              14

menu.frame:                         raised gradient diagonal
menu.frame.color:                   #0082a8
menu.frame.colorTo:                 #000000
menu.frame.textColor:               #ffff00
menu.frame.justify:                 left
menu.frame.font:                    Astrolyte

menu.hilite:                        raised gradient diagonal
menu.hilite.color:                  #ffff00
menu.hilite.colorTo:                #ffff00
menu.hilite.textColor:              #000000

menu.bullet:                        diamond
menu.bullet.position:               right

! -- window --
window.title.focus:                 raised gradient diagonal
window.title.focus.color:           #0082a8
window.title.focus.colorTo:         #1b1b1b

window.label.focus:                 raised gradient diagonal
window.label.focus.color:           #0082a8
window.label.focus.colorTo:         #1b1b1b
window.label.focus.textColor:       #ffff00

window.handle.focus:                raised gradient diagonal
window.handle.focus.color:          #0082a8
window.handle.focus.colorTo:        #1b1b1b

window.grip.focus:                  raised gradient diagonal
window.grip.focus.color:            #0082a8
window.grip.focus.colorTo:          #1b1b1b

window.button.focus:                raised gradient diagonal
window.button.focus.color:          #0082a8
window.button.focus.colorTo:        #1b1b1b
window.button.focus.picColor:       #ffff00

window.button.pressed:              sunken gradient diagonal
window.button.pressed.color:        #0082a8
window.button.pressed.colorTo:      #1b1b1b
window.button.pressed.picColor:     #ffff00

window.title.unfocus:               flat gradient diagonal
window.title.unfocus.color:         #0082a8
window.title.unfocus.colorTo:       #1b1b1b

window.label.unfocus:               parentrelative
window.label.unfocus.textColor:     #ffff00

window.handle.unfocus:              flat solid
window.handle.unfocus.color:        #0082a8

window.grip.unfocus:                raised gradient diagonal
window.grip.unfocus.color:          #0082a8
window.grip.unfocus.colorTo:        #1b1b1b

window.button.unfocus:              raised gradient diagonal
window.button.unfocus.color:        #0082a8
window.button.unfocus.colorTo:      #1b1b1b
window.button.unfocus.picColor:     #ffff00

window.frame.focusColor:            black
window.frame.unfocusColor:          black

window.font:                        Astrolyte
window.justify:                     left

! -- misc. --
borderColor:                        #000000
borderWidth:                        1
bevelWidth:                         0
frameWidth:                         3
handleWidth:                        2


Thu Jan 29, 2009 8:26 pm
Report this post
Profile
BBDinosaur
User avatar

Joined: Mon Nov 05, 2007 3:39 pm
Posts: 732
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
The white style the the default built-in, so yes, you do have it. Can't get rid of it, either. :)
Your configuration files look ok, except maybe that you have 4 workspaces but only specified styles for 2 of them.
So I would try setting something for the other 2 as well or reduce the number of workspaces to 2.
Also, if you don't load the plugin, do the styles show their wallpaper? Maybe Vista and this particular plugin don't get along.

You may also want to check out extensions.rc, it has some wallpaper settings:
Code:
# Background Wallpaper options

# - Execute any rootCommands at all?
blackbox.background.enabled:            true

# - Do not use the native window's wallpaper
blackbox.background.smartWallpaper:     true

# - Dropped background images are saved here:
blackbox.background.rootCommand:        style


Thu Jan 29, 2009 9:08 pm
Report this post
Profile
BBAdult

Joined: Tue Jan 27, 2009 7:35 pm
Posts: 21
Reply with quote
Post Re: Wallpaper-can it be changed with each workspace?
Yeah, I only have two styles currently, (working one two more) so that's why I only have two styles specified. Supposedly Workspace Style has a wraparound feature. And the backgrounds have never loaded with the styles, no matter what I've tried.


Thu Jan 29, 2009 9:25 pm
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: uggblogukhn, uggylg835 and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.