LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fluxbox and .xinitrc Eterm, Esetroot at 1280*1024 res (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-and-xinitrc-eterm-esetroot-at-1280%2A1024-res-297159/)

darkleaf 03-03-2005 09:42 AM

fluxbox and .xinitrc Eterm, Esetroot at 1280*1024 res
 
I just switched my resolution up to 1280*1024. I have some trouble with Esetroot and fluxbox now. I used Esetroot -f to set the background. This didn't work anymore so I changed it to Esetroot -s which works correctly from a terminal. However if I change this in the style or in the .xinitrc file the background loads first. After that the taskbar thing loads and it makes the background smaller. So I have some black at the top and some black at the bottom of the screen. The toolbar is in the black part at the bottom. Can I change it so that Esetroot will load this correctly at once.

Also if I put the Esetroot command in my .xinitrc file and I load Eterm (for the transparency) loading the background goes a lot slower and Eterm loads before the background no matter where I put it in the .xinitrc file. So I don't get the transparency. Can anyone help me with a solution to this?

Feminista 03-04-2005 09:58 PM

What version of fluxbox? The "release" version (which came with my distro), doesn't handle backgrounds very well, whereas the latest stable developer version fixes a lot of those problems. Also, try setting your background with fbsetbg (if you don't have it, definitely update your fluxbox).

I had a lot of trouble with setting backgrounds until I updated my version of fluxbox, and they all went away (of course, I didn't check dependencies and accidentally killed it first. =P).

darkleaf 03-05-2005 06:07 AM

It's verion 0.9.11. I don't know of if it's a special thing I just use the packages. I have fbsetbg but I think I had to use Esetroot to get the transparency thing that I wanted. That's what's still not working, I can't get a transparent Eterm on the start of X. The background always loads first but if I put Eterm in my .xinitrc it starts Eterm first.

95se 03-05-2005 09:42 AM

Esetroot ... &
Esetrootpid = $!
wait $Esetrootpid && Eterm &

darkleaf 03-05-2005 10:51 AM

That didn't work 95se :(. Eterm still loaded before the background did. BTW what does the ! mean in there?

Feminista why would running fbsetbg be different from Esetroot. fbsetbg is a wrapper for those programs, isn't it?

From which files does fluxbox read the background at start? I commented out the Esetroot in my xinitrc, the style file in my home directory and the style file in my systemwide directory, but it still knows which wallpaper to load and so it does.

darkleaf 03-05-2005 10:54 AM

Good thing is your script gave me an idea which was a lot easier and worked. Esetroot && Eterm & :newbie:

Now I only hope something changes so my background will load properly and fullscreen. Maybe a downgrade will work. Going to try that now :)

edit: unstable and testing is the same version :( Oh well maybe playing around will get it to work.

darkleaf 03-05-2005 11:57 AM

Is there a file I can edit to run the Esetroot when the .xinitrc file is finished?

Hammett 03-05-2005 12:12 PM

You can try fbsetbg command instead of Esetroot

Feminista 03-05-2005 02:52 PM

fluxbox will read your background from rootCommand either in your .fluxbox/init or in the style file for your theme, but in my experience, that location doesn't matter with the specific problem you are having.

Worth a try though. I haven't heard of this problem occuring with 0.9.*, only with the "stable release".

95se 03-05-2005 06:50 PM

It didn't? The $! gives you the Process ID of the last program put into the background. wait will then wait for the process to finish before it returns. Your solution is a lot easier, lol. Brain fart I guess :p

darkleaf 03-06-2005 05:43 AM

I have compiled version 0.9.12 and it still has the problem. The only thing that works is setting my resolution at 1024*768 but that's not something I want to do. The strange thing is that it doesn't set the background right when it starts fluxbox but it does work when I manually run the command afterwards.

darkleaf 03-06-2005 05:55 AM

I fixed it. The behaviour comes from "Esetroot -f" that won't fill up the complete background at this resolution for me (maybe the picture has the wrong dimensions or something). "Esetroot -s" does work. The problem was that I mixed two styles. My background picture makes me think about the name of the style I don't use so I was changing Esetroot -f to Esetroot -s in the wronf style files :rolleyes:

Thanks for the help!


All times are GMT -5. The time now is 10:43 AM.