Jump to content

Fluxbox background


sud_crow
 Share

Recommended Posts

Hey, there were so many post of flux and all have so many items that i decided to give this one its one thread, hope its ok.

 

 

I want to give flux a background, ive been trying using Esetroot, but i coulnd find out how exactly should i do that, also there was this other command bgset i think....

 

Im using fbdesk right now, but if someone tells me how the heck do i get idesk working i will switch over....

 

that it, i want a background so i can make my Eterm trans and have a fashion shot at my desk to show off to my friends....!

Link to comment
Share on other sites

Well, Esetroot works for me. Here's the snippet of code from my ~/.fluxbox/init file:

session.screen0.rootCommand:	Esetroot -s /home/liquidzoo/Documents/wallpaper/Offshore_Rock.jpg

Also, I am using fbdesk right now. What issues are you having with it? Maybe I can help.

Link to comment
Share on other sites

hi, thanks i will try the background right now, about the issues, right now, the only one is that the icons when i load X get over the applications or whatever i have 'in their space' but they just need to be clicked to go down again...

Link to comment
Share on other sites

session.screen0.slit.onTop: False

session.screen0.slit.layer: Dock

session.screen0.slit.direction: Vertical

session.screen0.slit.placement: BottomRight

session.screen0.slit.maxOver: false

session.screen0.slit.alpha: 255

session.screen0.slit.onhead: 0

session.screen0.slit.autoHide: false

session.screen0.tab.rotatevertical: True

session.screen0.tab.placement: Top

session.screen0.tab.width: 64

session.screen0.tab.alignment: Left

session.screen0.tab.height: 16

session.screen0.toolbar.onTop: False

session.screen0.toolbar.mode: Icons

session.screen0.toolbar.placement: BottomCenter

session.screen0.toolbar.layer: Desktop

session.screen0.toolbar.maxOver: false

session.screen0.toolbar.widthPercent: 66

session.screen0.toolbar.onhead: 0

session.screen0.toolbar.autoHide: false

session.screen0.focusNewWindows: true

session.screen0.focusLastWindow: true

session.screen0.imageDither: true

session.screen0.desktopwheeling: true

session.screen0.menuAlpha: 250

session.screen0.rowPlacementDirection: LeftToRight

session.screen0.focusModel: ClickToFocus

session.screen0.workspaces: 5

session.screen0.edgeSnapThreshold: 0

session.screen0.sloppywindowgrouping: true

session.screen0.fullMaximization: false

session.screen0.autoRaise: false

session.screen0.antialias: true

session.screen0.windowPlacement: RowSmartPlacement

session.screen0.workspacewarping: false

session.screen0.strftimeFormat: %k:%M

session.screen0.colPlacementDirection: TopToBottom

session.screen0.clickRaises: true

session.screen0.workspaceNames: one,two,three,four,Null,

session.screen0.rootCommand: Esetroot -s /home/crow/neuron.jpg

session.screen0.showwindowposition: true

session.titlebar.left: Stick

session.titlebar.right: Minimize Maximize Close

session.slitlistFile: /home/crow/.fluxbox/slitlist

session.keyFile: ~/.fluxbox/keys

session.autoRaiseDelay: 250

session.imageDither: True

session.cacheMax: 200l

session.styleFile: /usr/share/fluxbox/styles/Results

session.numLayers: 13

session.opaqueMove: false

session.doubleClickInterval: 250

session.ignoreBorder: false

session.menuFile: /home/crow/.fluxbox/menu

session.iconbar: true

session.colorsPerChannel: 4

session.tabs: true

session.cacheLife: 5l

session.groupFile:

fbdesk.textPlacement:

fbdesk.doubleClickInterval:

fbdesk.font:

fbdesk.snapX:

fbdesk.snapY:

fbdesk.textColor: white

fbdesk.iconFile: ~/.fluxbox/icons

Link to comment
Share on other sites

by request, my ~/.fluxbox/init file:

session.screen0.slit.onTop:	False

session.screen0.slit.autoHide:	False

session.screen0.slit.onHead:	0

session.screen0.slit.placement:	BottomRight

session.screen0.slit.direction:	Vertical

session.screen0.tab.rotatevertical:	true

session.screen0.tab.alignment:	Left

session.screen0.tab.width:	64

session.screen0.tab.placement:	Top

session.screen0.tab.height:	16

session.screen0.toolbar.onTop:	false

session.screen0.toolbar.onhead:	0

session.screen0.toolbar.autoHide:	false

session.screen0.toolbar.placement:	TopCenter

session.screen0.toolbar.widthPercent:	66

session.screen0.windowPlacement:	RowSmartPlacement

session.screen0.focusLastWindow:	true

session.screen0.workspaceNames:	one,two,three,four,

session.screen0.focusModel:	ClickToFocus

session.screen0.focusNewWindows:	true

session.screen0.colPlacementDirection:	TopToBottom

session.screen0.showwindowposition:	true

session.screen0.rootCommand:	Esetroot -s /home/liquidzoo/Documents/wallpaper/Offshore_Rock.jpg

session.screen0.maxOverSlit:	true

session.screen0.fullMaximization:	false

session.screen0.sloppywindowgrouping:	false

session.screen0.workspaces:	4

session.screen0.imageDither:	false

session.screen0.strftimeFormat:	%k:%M

session.screen0.edgeSnapThreshold:	0

session.screen0.workspacewarping:	false

session.screen0.antialias:	true

session.screen0.desktopwheeling:	false

session.screen0.rowPlacementDirection:	LeftToRight

session.titlebar.left:	Stick

session.titlebar.right:	Minimize Maximize Close

session.opaqueMove:	false

session.autoRaiseDelay:	250

session.tabs:	false

session.menuFile:	/home/liquidzoo/.fluxbox/menu

session.imageDither:	True

session.slitlistFile:	/home/liquidzoo/.fluxbox/slitlist

session.cacheMax:	200l

session.doubleClickInterval:	250

session.styleFile:	/home/liquidzoo/.fluxbox/styles/Zoo1

session.iconbar:	true

session.colorsPerChannel:	4

session.cacheLife:	5l

session.keyFile:	~/.fluxbox/keys

session.groupFile:

Link to comment
Share on other sites

Probably many ways to do this, I have a line in my 'init' like this:

 

session.screen0.rootCommand:    ~/.fluxbox/fluxbox.S0.rc

 

fluxbox.S0.rc is a regular text file where i put everything i want to load at startup, including background. Btw I think you have to use the fbsetbg to get tranparent menus and terminals.

 

Here is an example of fluxbox.S0.rc

 

#!/bin/sh



fbsetbg -f ~/.fluxbox/backgrounds/verion_vs_niteangel-invented-construction.jpg



if ps -A |grep gkrellm; then

           killall gkrellm

fi

gkrellm -w &



enable_X11_numlock &



(play ~/.fluxbox/sounds/login.au exit) &

xscreensaver -no-splash &



xset m 80/10 4 &

exec fluxbox

 

I just edit this file whenever i want to switch background or whatever.

Link to comment
Share on other sites

for what i read i thought that Esetroot only supported .png
Nope, I have used it with Jpegs as well.

 

Fbdesk is dodgy, it is still very rough around the edges. If you want icons, use idesk, much better.

 

Which version of fluxbox are you running? The latest version is still in beta stage and is horribly buggy.

Link to comment
Share on other sites

Your bkgrnd can only be set from one place.

-a startup script

-init

-style

in other words, make sure the style isn't trying to set it. Is a bkgrnd being set? Find out from where and # it out.

 

or try this (keep in mind I don't use flux. I currently use Xfce4 and gnome2.2 and don't use these with them as there's no need.)........

Have a tone of wallpapers? If you're like me you have some that need -s and some that need -f, Esetroot doesn't do tiles but you have those as well. I modified papergen.sh that someone wrote to change you're wallpaper from the fluxbox menu, but works in waimea from the menu as well 8) . You can use this to generate a file to have all wallpapers ready to go by just uncommenting the wallpaper you want to use. It's better than having to type in paths/names IMO. You can 'sh' this when ever you need to update it to generate a new 'paper-s.sh'. You'll use paper-s.sh as another script to be executed when flux starts and will have to tell you're startup script to do so. Copy and paste this, adjust the paths, and save it as ~/.fluxbox/papergen.sh

 

the path to my wallpapers is

/mnt/share/wallpapers

#!/bin/sh

ls /mnt/share/wallpapers>papers

head="#Esetroot -s /mnt/share/wallpapers/"$line""

cat papers | while read line

do

tail=""$line""

echo $head$tail>>paper-s.sh

done

rm papers

 

then;

cd ~./fluxbox

sh papergen.sh

 

will generate the script ~/.fluxbox/paper-s.sh that looks like (for my path to wallpapers)

#Esetroot -s /mnt/share/wallpapers/3dobjects.jpg

#Esetroot -s /mnt/share/wallpapers/8a.jpg

#Esetroot -s /mnt/share/wallpapers/911.jpg

#Esetroot -s /mnt/share/wallpapers/98mclarenf1.jpg

#Esetroot -s /mnt/share/wallpapers/agirlroompreview.jpg

#Esetroot -s /mnt/share/wallpapers/AlienCaves.jpg

#Esetroot -s /mnt/share/wallpapers/Ambient.jpg

#Esetroot -s /mnt/share/wallpapers/AnnaKite.jpg

#Esetroot -s /mnt/share/wallpapers/applemac.jpg

#Esetroot -s /mnt/share/wallpapers/applestripe1.jpg

#Esetroot -s /mnt/share/wallpapers/Appropriately-Left-Handed-2.jpg

#Esetroot -s /mnt/share/wallpapers/Aquarium.jpg

#Esetroot -s /mnt/share/wallpapers/AquaSteps.jpg

#Esetroot -s /mnt/share/wallpapers/Aquatic_Insanity_v2.jpg

#Esetroot -s /mnt/share/wallpapers/AquaW.jpg

#Esetroot -s /mnt/share/wallpapers/AQuietDayOnTheRiver.jpg

#Esetroot -s /mnt/share/wallpapers/Aurora.jpg

#Esetroot -s /mnt/share/wallpapers/BabyStretch.jpg

#Esetroot -s /mnt/share/wallpapers/bg.jpg

#Esetroot -s /mnt/share/wallpapers/big cold moon.jpg

#Esetroot -s /mnt/share/wallpapers/BlackcombScene4.jpg

#Esetroot -s /mnt/share/wallpapers/BlackcombScene5.jpg

#Esetroot -s /mnt/share/wallpapers/Blacktile.jpg

#Esetroot -s /mnt/share/wallpapers/Bliss Island.jpg

and so on.....

 

So if the wallpaper you want to use is in paper-s.sh, uncomment just that wallpaper, and tell your startup script;

sh ~/fluxbox/paper-s.sh 8)

 

 

I have

/mnt/share/wallpapers/

/mnt/share/wallpapers/fit

/mnt/share/wallpapers/tiles

so I would use the papergen scripted, edit the paths and names to generate a;

paper-s.sh

paper-f.sh

paper-t.sh

and put all 3 in my startup script, uncommenting the one I want to use, and uncommenting the wallpaper in it I want to use. I use bsetbg for tiles. Have fun :wink:

 

learn more about the original papergen.sh for flux here;

http://www.mandrakeusers.org/viewtopic.php...ght=papergen+sh

Link to comment
Share on other sites

sud_crow:

According to my exaustive experience as you could have seen in my other post, I came to one conclusion:

idesk (search here) for icons and fbsetbg in an autostart.sh file was my final choice (let xinitrc intact only with exe fluxbox command line). If it was your option don't forget to make init file to load autostart.sh.

 

After having learned how to set up flux rpm stable version (init, menu and style files), yesterday I decided to uninstall flux 0.1.14 and install devel version 0.94 (available in flux site) which is very easy to install and much better considering its configuration capabilities. (you can have rounded corners and transparent menus). With devel version I managed to get trans in Eterm automatically, without any sort of problem, with flux 0.1.14 it didn't work.

 

With idesk installation and configuration steps follow this usage note

 

Good luck.

Link to comment
Share on other sites

Well, since sud_crow isn't online, I thought I would update with what we found in the IRC last night. He, for one reason or another, does not have Esetroot support built into Eterm. We tried several other ways to change the background but none worked. He decided that the best way is probably to recompile Eterm to include pixmap support and Esetroot and try again.

 

By the way, I like the way that script works bvc. I could use something like that, if I had more backgrounds to use. Time to go hunting, I guess.

Link to comment
Share on other sites

By the way, I like the way that script works bvc.  I could use something like that, if I had more backgrounds to use.  Time to go hunting, I guess.
your words are mine LiquidZoo. It has just worked like a charm here replacing Esetroot by bsetbg.
Link to comment
Share on other sites

WOW : :shock:

 

I leave you guys for one day and you flood my thread with good intentions!!!

Thanks everyone! and sorry i couldnt get online sooner, i will check every post and see what i can get of them (it seems there is some goooood stuff!!)

 

I couldnt get to compile iDesk yet, for some reason im having several problems with it. Also, like LiquidZoo sayd im going to recompile the Eterm becouse it doesnt have pixmap support (whatever that means, --guess its something with pictures libraries and such) so Esetroot wasnt working.

 

Im not at home now, so im going to try everything tomorrow... i think...

 

Thanks again! and dont go to far... just in case.

 

By the way im using devel version, 0.9.4, mmmm... for about 2/3 weeks now. havent had any problems except that i cant change VC while its running becouse it makes some horrible fuzz and i cant see anything in any VC, so i have to touch the three M$ copyrighted --- CTRL+ALT+DEL for anyone who didnt got the message! ;)

Link to comment
Share on other sites

I couldnt get to compile iDesk yet, for some reason im having several problems with it.
There is a RPM available for idesk, I found it on www.rpmfind.net - not available on any urpmi sources as far as I know (not the latest version anyway).
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...