Jump to content

Automatic dockapp launch + esetroot


SoulSe
 Share

Recommended Posts

Decided to start a seperate thread for this one...

 

What is the best way to get dockapps to start up with fluxbox? I don't want to mess with .xinit and X in general too much. Is there a way of doing it in fluxbox's init file?

 

On that point, if I modify the .init file (I did it to automatically set wallpaper) it works fine until I log out, then all my changes to the init dissapear!

 

Here's what I want: Login and have my wallpaper and dockapps there with the start of fluxbox.

 

Also, do I need Enlightenment installed to have esetroot? Can it exist without enlightenment and, if so, how?

Link to comment
Share on other sites

Esetroot is part of Eterm ... so no you don't need E .. just Eterm

 

is there a file ~/.fluxbox/startup ???? there should be

this is what mine looks like

# Applications you want to run with fluxbox.

# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ``&'' AT THE END.

#

wmCalClock &

xscreensaver &

# idesk &

wmix &

# fbdesk &



# And last but not least we start fluxbox.

# Because it is the last app you have to run it with ``exec'' before it.



exec fluxbox

Link to comment
Share on other sites

On that point, if I modify the .init file (I did it to automatically set wallpaper) it works fine until I log out, then all my changes to the init dissapear!
You have to edit the init from either init 3 or another wm....so they say....I never had that prob but many others did.

 

Also, do I need Enlightenment installed to have esetroot? Can it exist without enlightenment and, if so, how?
No, you just need Eterm which has a few deps...like Imlib2.
[bvc@localhost bvc]$ urpmf Esetroot

Eterm:/usr/bin/Esetroot

Eterm:/usr/bin/kEsetroot

[bvc@localhost bvc]$

 

 

You could look at fluxspace and fluxter;

http://www.isomedia.com/homes/stevencooper/

http://www.mandrakeusers.org/viewtopic.php?t=2205

http://www.mandrakeusers.org/viewtopic.php?t=2063

Link to comment
Share on other sites

Ok, I DO NOT have a ~/.fluxbox/startup file. So I created one based on yours, paul. It doesn't work! Weird.

 

I came right with Esetroot, now I just need the background to stay there when I log off. I could probably add the Esetroot -scale command to my startup file, once I get the startup file working, that is!

Link to comment
Share on other sites

I have the Esetroot in my style file ...

 

do you have this ???

cat /usr/X11R6/bin/startfluxbox 

#!/bin/sh

if [ -e ~/.fluxbox/startup ];then

   exec sh ~/.fluxbox/startup

else

   if [ ! -d ~/.fluxbox ];then

       mkdir ~/.fluxbox

   fi

   cp /usr/share/fluxbox/startup ~/.fluxbox

   /usr/X11R6/bin/bsetroot -solid Black

   exec /usr/X11R6/bin/fluxbox

fi

 

also .. chmod -R 755 ~/.fluxbox ( I had to set perms for my startup to work)

Link to comment
Share on other sites

Ok, here is how I finally got this right, but you have to be using gdm (which I used anyway, cus I hate kdm).

 

Go to /etc/X11/gdm/Sessions/ and edit the FluxBox* file. Here is what mine looks like:

#!/bin/sh

Esetroot -s /media/images/ninjatune_desktop_002_a.JPG &

wmcube &

wmix &

exec /etc/X11/xdm/Xsession FluxBox

This seems to be a great way to achieve what I wanted. I also edited my menu file to make aterm look the way I want it.

 

So now I'm set! Just gotta get idesk working...

Link to comment
Share on other sites

Guest joehill
Esetroot is part of Eterm ... so no you don't need E .. just Eterm

 

is there a file ~/.fluxbox/startup ???? there should be 

this is what mine looks like

<!--QuoteEBegin--><!--QuoteEBegin--># Applications you want to run with fluxbox.<!--QuoteEBegin--><!--QuoteEBegin--># MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ``&'' AT THE END.<!--QuoteEBegin--><!--QuoteEBegin-->#<!--QuoteEBegin--><!--QuoteEBegin-->wmCalClock &<!--QuoteEBegin--><!--QuoteEBegin-->xscreensaver &<!--QuoteEBegin--><!--QuoteEBegin--># idesk &<!--QuoteEBegin--><!--QuoteEBegin-->wmix &<!--QuoteEBegin--><!--QuoteEBegin--># fbdesk &<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--># And last but not least we start fluxbox.<!--QuoteEBegin--><!--QuoteEBegin--># Because it is the last app you have to run it with ``exec'' before it.<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->exec fluxbox<!--QuoteEBegin--><!--QuoteEBegin-->

 

isn't that only if you applied the remember patch?

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...