Fluxbox Styles

statmonkey

LaCoste - nice, I like that theme. Thank you.

PackRat - re:"Found another interesting tidbit in the fluxbox wiki -....."

Stumbled in here tonight and saw the above post.  That is really sweet, it does work with xmms but haven't gotten it to fly with mpc but sure I can get it to work.  I am just learning fluxbox and am more amazed by it all the time.  The potential of this little hack is pretty awesome since what you are indicating is that you can code in a directory similar to the ob pipemenu's.  ie:
[submenu] (Documents)
      [wallpapers] (~/documents) {geany}
[end]

and even substitute scripts from path iiuc but need to experiment.  I will DEF be playing with this.

VastOne - I think that many users (ok maybe just me) found OB with #! and were so blown away by how much better it was than gnome,kde,etc. that we never ventured further.  There were lots of resources for OB around and well written so it was easy to grok, then got comfy and just never looked into flux.  I found it a little intimidating at first and even drug my feet.  I am finding it pretty cool now and do agree that Vsido can help a great many find out what a superb set up it can make.  Threads like this one help.  Learning a lot here.  Thanks all!

VastOne

Quote from: PackRat on May 16, 2013, 04:32:52 PM
Found another interesting tidbit in the fluxbox wiki -

I really do not know how I missed this one, but I did and I apologize... this is quite cool!  Will add it as a default menu item on the next ISO release.

I appreciate this PackRat!
VSIDO      VSIDO Change Blog    

    I dev VSIDO

PackRat

Had some time this morning. Made a simple dark fluxbox style to match the dorian gtk3 theme being used now -

# template for fluxbox styles
! dark colored theme to match dorian gtk3 theme
! 10-10-2014
! This work is licensed under the Creative Commons
! Attribution-NonCommercial-ShareAlike License.
#
#======================================================================#

*.font: Sans-9:regular
!toolbar.clock.font: NovaMono-9
!toolbar.workspace.font: NovaMono-9
!toolbar.iconbar.focused.font: <font>
!toolbar.iconbar.unfocused.font: <font>
!window.font: <font>
!menu.frame.font: <font>
!menu.hilite.font: <font>
!menu.title.font: <font>

toolbar: flat
toolbar.height: 18
toolbar.bevelWidth: 2
toolbar.borderColor: #171717
toolbar.borderWidth: 1
toolbar.color: #141414
toolbar.colorTo: #1E1E1E
!toolbar.pixmap: <filename>
toolbar.shaped: false

toolbar.clock: flat
toolbar.clock.borderColor: #323232
toolbar.clock.borderWidth: 0
toolbar.clock.justify: Center
!toolbar.clock.pixmap: <filename>
toolbar.clock.color: #141414
toolbar.clock.colorTo: #1E1E1E
toolbar.clock.textColor: #F5F5FF

toolbar.workspace: flat
toolbar.workspace.justify: Center
toolbar.workspace.textColor: #F5F5FF
toolbar.workspace.borderColor: #323232
toolbar.workspace.borderWidth: 0
toolbar.workspace.color: #141414
toolbar.workspace.colorTo: #1E1E1E
!toolbar.workspace.pixmap: <filename>

toolbar.button: parentrelative
toolbar.button.scale: 0.66

toolbar.iconbar.empty: flat
toolbar.iconbar.empty.color: #141414
toolbar.iconbar.empty.colorTo: #1E1E1E
toolbar.iconbar.borderColor: #292929
toolbar.iconbar.borderWidth: 1
!toolbar.iconbar.empty.pixmap: <filename>

toolbar.iconbar.focused: sunken bevel1
toolbar.iconbar.focused.color: #154478
toolbar.iconbar.focused.colorTo: #292929
toolbar.iconbar.focused.borderColor: #292929
toolbar.iconbar.focused.borderWidth: 1
!toolbar.iconbar.focused.pixmap: unfcs.png
toolbar.iconbar.focused.justify: Center
toolbar.iconbar.focused.textColor: #f2f2f2

toolbar.iconbar.unfocused: flat
toolbar.iconbar.unfocused.color: #141414
toolbar.iconbar.unfocused.colorTo: #1E1E1E
!toolbar.iconbar.unfocused.pixmap: barfcs.png
toolbar.iconbar.unfocused.borderColor: #292929
toolbar.iconbar.unfocused.borderWidth: 1
toolbar.iconbar.unfocused.justify: Center
toolbar.iconbar.unfocused.textColor: #D7D7D7

window.title.height: 18
window.bevelWidth: 1
window.borderColor: #292929
window.borderWidth: 1
window.justify: Center
!window.frame.focusColor: red
!window.frame.unfocusColor: green
!window.roundCorners: <{Top|Bottom}{Left|Right}>

window.title.focus: flat
window.title.focus.color: #141414
window.title.focus.colorTo: #1E1E1E
!window.title.focus.pixmap: <filename>

window.title.unfocus: flat
window.title.unfocus.color: #141414
window.title.unfocus.colorTo: #1E1E1E
!window.title.unfocus.pixmap: <filename>

!window.label.active: <texture type>
!window.label.active.textColor: <color>

window.label.focus: flat
window.label.focus.color: #154478
window.label.focus.colorTo: #7c9f4b
window.label.focus.textColor: #f2f2f2
!window.label.focus.pixmap: barfcs.png

window.label.unfocus: flat
window.label.unfocus.color: #141414
window.label.unfocus.colorTo: #1E1E1E
window.label.unfocus.textColor: #D7D7D7
!window.label.unfocus.pixmap: unfcs.png

window.button.focus: flat
window.button.focus.color: #141414
window.button.focus.colorTo: #1E1E1E
window.button.focus.picColor: #D7D7D7
!window.button.focus.pixmap: button.png
window.button.pressed: sunken bevel2
window.button.pressed.color: #292929
window.button.pressed.colorTo:
!window.button.pressed.pixmap: pressed.png

window.button.unfocus: flat
window.button.unfocus.color: #141414
window.button.unfocus.colorTo: #1E1E1E
window.button.unfocus.picColor: #D7D7D7
!window.button.unfocus.pixmap: unfcs.png

window.grip.focus: flat
window.grip.focus.color: #154478
window.grip.focus.colorTo:
!window.grip.focus.pixmap: <filename>
window.grip.unfocus: flat
window.grip.unfocus.color: #141414
window.grip.unfocus.colorTo:
!window.grip.unfocus.pixmap: <filename>

window.handle.focus: flat
window.handle.focus.color: #141414
window.handle.focus.colorTo:
!window.handle.focus.pixmap: <filename>
window.handle.unfocus: flat
window.handle.unfocus.color: #141414
window.handle.unfocus.colorTo:
!window.handle.unfocus.pixmap: <filename>
window.handleWidth: 2

!window.close.pixmap: button.png
!window.close.pressed.pixmap: pressed.png
!window.close.unfocus.pixmap: unfcs.png
!window.iconify.pixmap: button.png
!window.iconify.pressed.pixmap: press.png
!window.iconify.unfocus.pixmap: unfcs.png
!window.maximize.pixmap: button.png
!window.maximize.pressed.pixmap: press.png
!window.maximize.unfocus.pixmap: unfcs.png
!window.shade.pixmap: button.png
!window.shade.pressed.pixmap: press.png
!window.shade.unfocus.pixmap: unfcs.png
!window.stick.pixmap: button.png
!window.stick.pressed.pixmap: press.png
!window.stick.unfocus.pixmap: unfcs.png
!window.stuck.pixmap: stuck.png
!window.stuck.unfocus.pixmap: unfcs.png
!window.lhalf.pixmap: <filename>
!window.lhalf.unfocus.pixmap: <filename>
!window.rhalf.pixmap: <filename>
!window.rhalf.unfocus.pixmap: <filename>

menu.itemHeight: 18
menu.bevelWidth: 3
menu.borderColor: #292929
menu.borderWidth: 1
menu.bullet: triangle
menu.bullet.position: right
menu.frame: flat
menu.frame.color: #141414
menu.frame.colorTo:
menu.frame.disableColor: #707067
menu.frame.justify: Left
!menu.frame.pixmap: <filename>
menu.frame.textColor: #F5F5FF
menu.hilite: flat
menu.hilite.color: #154478
menu.hilite.colorTo: #7c9f4b
menu.hilite.justify: Left
!menu.hilite.pixmap: <filename>
menu.hilite.textColor: #F5F5FF

menu.title: flat
menu.title.color: #141414
menu.title.colorTo: #1E1E1E
!menu.title.pixmap: <filename>
menu.title.textColor: #F5F5FF
menu.title.justify: Center
menu.titleHeight: 18
!menu.roundCorners: <{Top|Bottom}{Left|Right}>
!menu.selected.pixmap: <filename>
!menu.submenu.pixmap: <filename>
!menu.unselected.pixmap: <filename>

slit: flat
slit.bevelWidth: 0
slit.borderColor: #03030B
slit.borderWidth: 0
slit.color: #03030B
slit.colorTo:
!slit.pixmap: <filename>

!background: centered|aspect|tiled|fullscreen|random|solid|gradient <texture>|mod|none|unset
!background.pixmap: <file or directory>
!background.color: <color>
!background.colorTo: <color>
!background.modX: <integer>
!background.modY: <integer>
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

Incredible work PackRat... I really appreciate this and will add it as ratman_blue in the default VSIDO FB themes

A heads up... I have made changes to the new theme that incorporates the forum blue (#3C5D7E) as the blue in the theme.  I have also tweaked the LinuxLex-8 icon set to better match the new theme

Both of these will be on the ISO's within a week and I will also post the theme and icon set here for downloads.  I still have a few more tweaks to do to finalize it
VSIDO      VSIDO Change Blog    

    I dev VSIDO

jedi

Wow!  Now using as my default style!  Very nice looking in a dark theme!  (i even changed the name to ratman_blue)  8)
Great work...
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

statmonkey

Very nice!  STOP though.  I keep saying I am going to reinstall and you keep putting great stuff in ... where will it all end?  No, seriously thanks for all these special little touches.  Really looking forward to rebuilding my box.

PackRat

#51
Quote from: VastOne on October 10, 2014, 11:10:50 PM
Incredible work PackRat... I really appreciate this and will add it as ratman_blue in the default VSIDO FB themes

A heads up... I have made changes to the new theme that incorporates the forum blue (#3C5D7E) as the blue in the theme.  I have also tweaked the LinuxLex-8 icon set to better match the new theme

Both of these will be on the ISO's within a week and I will also post the theme and icon set here for downloads.  I still have a few more tweaks to do to finalize it

Then a simple search and replace in your favorite text editor of #154478 with the forum's tint of blue will change it.

Also created an openbox theme to match (there is already a dorian openbox theme, but the windecs are blue, not the title bar); posted in appropriate wm thread.

Thanks all.

@statmonkey - it never ends.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

statmonkey

Thanks for the OB stuff.  I really do love openbox. 

Ha, well for today it ends.  Big horse sale and hoping I can find something that can run this January.  After I will look at this lovely work.  Great so far.  I have basically written a script to flip back and forth between OB and flux.  Pretty silly really but then .. isn't that the point :)  Enjoy your Saturday!

superwow

I have a question about gtk themes and security.

First you gotta understand that I worked for years in government, where we were pounded left and right about social engineering and proper IT security and communicating to the public, etc, so that our magic fairy dust knowledge would be protected. So, I naturally became even more cautious than I am naturally. Second, you gotta understand that I hate the grey gtk theme. Ugh, give me glorious black, charcoal, midnight, just bring down the lights. I used to use tawan's gtk-carbon theme (http://ta-wan.deviantart.com/art/carbon-fiber-gtk-160333821), which is almost perfection to me, back when I only surfed casually and did no personal financial, or any truly private junk on my linux system. Just a toy. But now, with my understanding of linux increasing (partially from using linux both at home AND work), I am more inclined to make the move completely. But that means it has to be more secure, so that I can do banking and stock market speculation etc.

The xbm and png files used to skin windows are jpg files with root permissions, right? So, how am I supposed to feel regarding someone's generic gtk theme I downloaded from boxlook or DeviantArt or whatnot? Image files can contain code other than just the image itself. Shouldn't I be cautious about this?

jeffreyC

#54
Quote from: superwow on October 13, 2014, 01:40:00 AM
I have a question about gtk themes and security.

First you gotta understand that I worked for years in government, where we were pounded left and right about social engineering and proper IT security and communicating to the public, etc, so that our magic fairy dust knowledge would be protected. So, I naturally became even more cautious than I am naturally. Second, you gotta understand that I hate the grey gtk theme. Ugh, give me glorious black, charcoal, midnight, just bring down the lights. I used to use tawan's gtk-carbon theme (http://ta-wan.deviantart.com/art/carbon-fiber-gtk-160333821), which is almost perfection to me, back when I only surfed casually and did no personal financial, or any truly private junk on my linux system. Just a toy. But now, with my understanding of linux increasing (partially from using linux both at home AND work), I am more inclined to make the move completely. But that means it has to be more secure, so that I can do banking and stock market speculation etc.

The xbm and png files used to skin windows are jpg files with root permissions, right? So, how am I supposed to feel regarding someone's generic gtk theme I downloaded from boxlook or DeviantArt or whatnot? Image files can contain code other than just the image itself. Shouldn't I be cautious about this?
Much of the malware in image files takes advantage of Windows file naming convention where the file extension type is not shown i.e. anything.jpg.exe will usually be shown by Windows as anything.jpg.
Windows will run .exe files, Linux can sometimes through WINE otherwise they are simply files.

Remember that this is open source which means that the underlying code is always available for you to read.

Themes and styles are often in the root file system, this is not automatically the same as executable.
They can also be placed in the home partition, which does not have root permissions however those themes and styles will only be available for the users of that /home.

Check the file properties/permissions if the execute bit is not enabled no danger.
You are not the first with such concerns, see here:

http://ubuntuforums.org/showthread.php?t=2016144

statmonkey

I need to show how incredibly thick headed I am. 

After my fresh install of VSIDO_JEDI © I had decided to try fluxbox again.  After all this time of being in and out of fluxbox I never new why so many people thought it was great, I mean Open Box to me was just so much easier to work in.  Then tonight I stumbled across something that I had read before about fluxbox and voilà! I actually read it, then wondered does this really mean what I think it means? 

Yes, I finally figured out that ctl+left click would tab your applications into groups and what that actually means in practice.  I am pretty sure PackRat tried to explain this to me and Jedi talk about it several times and I nodded my head as if I got it but ... well I just never grokked it.  This is like finding a $100.00 bill in your pocket!

Yes, I need a life and yes I am a nerd.

VastOne

^ All right then... explain to your even nerdier favorite dev why this is such a big deal to you?  What is the practical use and maybe an example

This inquiring mind does need to know...  ;D
VSIDO      VSIDO Change Blog    

    I dev VSIDO

statmonkey

 Super-Duper Time-Saving with Tabs

Fluxbox's tabs feature groups multiple applications into a single window.  just  drag your chosen apps together. To remove an app from your tabbed group, simply ctl left click and  drag it on out of there, or click to bring it to the front and click the close button. Each app operates normally with its own tabs. The one change is all of them have to have the same window size, since they're sitting together in a single window.

Notice how the window titles display full titles and file paths. So you can have five apps open on one screen and switch back and forth by clicking on them no need to close or drag or anything just pop out.  Try it and you will get it.



statmonkey

#58


It's a big deal because I really hate having panels, or jumping screens or alt tab.  I can speed my flipping back and forth up quite a bit and I am not moving my eyes from where I am already working to find it.  Just boom all 3 or 4 or 5 apps are right there at the top of my user space in a really thin line and actively ready.  And because it is nerdilicious!

Now if I can just figure out auto-grouping.  What I understand is that you can group apps together so you can have say a coding workspace with the ide, geany, etc in one group and have it automatically group when you call all or some of the apps.

PackRat

#59
^ man fluxbox-apps is your friend.

@vastone - I find auto grouping (tabbed windows) to be more efficient if you have a lot of windows open - like tabs marking important sections of a book. In the screenshot, internet apps and the terminal are set up in their own groups. Alt-Tab does the usual switching of open [grouped] windows, Win+Tab switches between tabs in a given group. The entire group can be manipulated - iconified or moved to a different desktop etc. Groups can also be customized. My internet group is always maximized and has no window decorations - Alt+F4 closes a window, or tab within a group.

If you prefer to not use the fluxbox iconbar, you can use the apps file to have all wwindows grouped and maximized and just use the tabs - configure fluxbox to have the tabs in the titlebar to save some vertical space.

Takes some getting use to - I actually find it better to use key binding instead of the mouse - but tabbed windows become a real time saver.

And tabbed windows are so much better than tiled windows IMO because you don't lose the original aspect ratio of the window.

tabbed windows in fluxbox:


For the curious - fluxbox, i3, and pekwm all support tabbing/grouping out of the box with straight forward configuration.

And a quick hack - all apps in one group, default decoration=tabs, maximized by default, tabs on right, no iconbar or panels:



fluxbox apps file opened in emacs - some grouping examples visible.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo