You are not logged in.
No, give me a minute. I know what is wrong I just need a minute to tell you how to fix it. For now, delete the startup file and delete the "lastwallpaper" file, then log out and back in again, and give me
ls -l ~/.fluxboxone more time.
Offline
[root@(none) travis]# rm ~/.fluxbox/startup
rm: cannot remove '/root/.fluxbox/startup': No such file or directory
Last edited by Spheres (2012-08-05 21:43:02)
Offline
-rw-r--r-- 1 travis travis 70 Jul 27 15:45 apps
drwxr-xr-x 2 travis travis 4096 Jul 27 15:45 backgrounds
-rw-r--r-- 1 travis travis 202 Aug 5 13:44 fbrun_history
-rw-r--r-- 1 travis travis 3005 Aug 5 10:32 init
-rw-r--r-- 1 travis travis 3699 Jul 27 15:45 keys
-rw-r--r-- 1 travis travis 56 Aug 5 13:44 lastwallpaper
-rw-r--r-- 1 travis travis 1467 Jul 27 15:45 menu
-rw-r--r-- 1 travis travis 89 Jul 27 15:45 overlay
drwxr-xr-x 2 travis travis 4096 Jul 27 15:45 pixmaps
-rw-r--r-- 1 travis travis 0 Jul 28 12:48 slitlist
-rw-r--r-- 1 travis travis 538 Aug 5 13:14 startup
drwxr-xr-x 2 travis travis 4096 Jul 27 15:45 styles
-rw-r--r-- 1 travis travis 168 Jul 27 15:45 windowmenu
Offline
But fluxbox is still starting? Weird.
Ok, here's what you need to do now. You need to edit your fluxbox menu (~/.fluxbox/menu) and add this section to a menu (usually it's added to the (configuration) menu, but that's optional. You may already have this section, but it needs to point to your wallpapers folder:
[submenu] (backgrounds)
[wallpapers] (/home/bsh/images/wallpapers)
[end] (change the path of course)
Then open the fluxbox menu, that item should be there, and set the wallpaper with the menu.
Once you have the wallpaper set, type this in a terminal:
cat ~/.fluxbox/lastwallpaper
cat ~/.fehbgand tell me what you get.
[root@(none) travis]# rm ~/.fluxbox/startup
rm: cannot remove '/root/.fluxbox/startup': No such file or directory
Why are you root?!? You should not be root when you are doing any of this!
Last edited by 2ManyDogs (2012-08-05 23:25:51)
Offline
I haven't played around with fluxbox since my slackware days but by following the fluxbox wiki you can easily set the background by adding ~/.fehbg to your startup file. The one thing that the wiki forgets to mention is that you also need your startup file to be executable so
chmod +x ~/.fehbg
chmod +x .fluxbox/startupThe background would flash the same as you described for me too until I made the startup file executable. And yeh, as 2ManyDogs stated, you should be running as a user, not root.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
LOL I've been root the whole time. I'm done with this, I cant take it any more, I did what you said but it didn't create the menu, I need food and sleep, I'm really thinking about finding a different WM.
I'll try that later bgc, hopefully it will work.
Why did I have to fall in love with this OS that's over my head.
Last edited by Spheres (2012-08-05 22:01:48)
Offline
LOL I've been root the whole time.
That's the problem then. You can get it to work if you edit the right files. It's really very simple. If I had known you were root we could have been done a long time ago.
You might actually like OpenBox better.
bgc1954, my startup is not executable, but the "lastbackground" file has an xsetroot command in it until you set the wallpaper correctly. As long as that xsetroot command is in there, fluxbox obediently sets the background to gray as soon as it starts up.
Can't hurt to make it executable though...
Well, I think I've had my fun for this afternoon ![]()
Last edited by 2ManyDogs (2012-08-05 22:09:24)
Offline
@2ManyDogs: my lastbackground file still has
fbsetroot|-foreground white -solid white|style|:0.0and the ~/.fehbg sets and holds the background as long as startup is executable.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Interesting. Thanks for the tip. I sure wish I had known he was root this whole time though. I should have guessed from the weird way things were behaving.
Offline
@2ManyDogs: Sometimes the obvious isn't obvious at all. ![]()
edit: Actually, it probably would have worked fine as root anyway. Some people prefer to run as root for some strange reason.
Last edited by bgc1954 (2012-08-05 22:26:47)
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Yeah, except he was editing one startup file and running a different file. The file he was showing me wasn't running.
And I even thought about making the file executable, but mine isn't so I though his didn't need to be.
My favorite part is that he didn't even thank me for the three hours I spent trying to fix this.
Last edited by 2ManyDogs (2012-08-05 22:39:19)
Offline
Yeah, except he was editing one startup file and running a different file. The file he was showing me wasn't running.
And I even thought about making the file executable, but mine isn't so I though his didn't need to be.
My favorite part is that he didn't even thank me for the three hours I spent trying to fix this.
You thought I wasn't going to thank you? Of course I am!
THANK YOU for helping me with this, most people wouldn't have the patience to deal with someone as ignorant as myself.
Offline
You're welcome. I thought you were gone. You're not ignorant, it's just hard to troubleshoot at a distance. And I almost never run as root, so it didn't occur to me (but it should have, because that explains a lot of the problems).
Fluxbox is a very nice WM once you get it working. So is Openbox.
I don't use either of them (at least not regularly) but I'm a bit of a WM geek: http://crunchbanglinux.org/forums/topic … n-30-days/
Last edited by 2ManyDogs (2012-08-05 23:04:22)
Offline
You're welcome. I thought you were gone. You're not ignorant, it's just hard to troubleshoot at a distance. And I almost never run as root, so it didn't occur to me (but it should have, because that explains a lot of the problems).
Fluxbox is a very nice WM once you get it working. So is Openbox.
I got it to work! I did have to add the & in though, without that it would just flash for a second, but now it's working perfectly, without you I never would have got it working. I am only left wondering how I will change the background when the time comes.
Offline
That is great news! I was just thinking (before I checked the forum) that you'd probably be able to get it working on your own now. You should be able to set the background with feh (doing that changes ~/.fehbg) so the next time you start you should get the new wallpaper.
Now you can start editing (and breaking) the menu, and adding conky, and themes, all kinds of fun. box-look.org has some nice themes, especially mydefcon2 and mydefcon4.
This is mydefcon2 (click it for a bigger view):
You might like this topic: http://crunchbanglinux.org/forums/post/197438/#p197438
(just ignore the Debian stuff)
I am so happy to see that [SOLVED] on this thread.
Last edited by 2ManyDogs (2012-08-05 23:22:23)
Offline
That is great news! You should be able to set the background with feh (doing that changes ~/.fehbg) so the next time you start you should get the new wallpaper.
Now you can start editing (and breaking) the menu, and adding conky, and themes, all kinds of fun. box-look.org has some nice themes, especially mydefcon2 and mydefcon4.
This is mydefcon2:
http://s10.postimage.org/saj0dkds5/2012_03_08_074710_1280x1024_scrot.jpg
You might like this topic: http://crunchbanglinux.org/forums/post/197438/#p197438
(just ignore the Debian stuff)
Cool! I can't thank you enough for helping me with this!
I'll look into themes, I do like the look of that mydefcon2.
Offline
I was wrong. It's myDEFCON_4, and I got it from http://www.tenr.de/styles/ (another great fluxbox theme site).
Offline
Just installed it, looks nice, I don't have that bar at the top that you had in that picture though.
Offline
I guess I'm all wet behind the ears as I just tried running fluxbox again and the background turned light grey. I deleted the lastwallpaper file and logged out and back in and my background was back so I made the startup file nonexecutable and logged out and back in and my background was fine so I guess startup doesn't really need to be executable--but it seemed to work at the time. I was trying so many things and that was the last thing I tried and it seemed to make a difference--guess not.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Just installed it, looks nice, I don't have that bar at the top that you had in that picture though.
That's conky. You can install it with pacman, and it will open up a whole world of playing with the config file to get it just right...
https://wiki.archlinux.org/index.php/Conky
http://crunchbanglinux.org/forums/topic … ky-thread/
Last edited by 2ManyDogs (2012-08-05 23:52:08)
Offline
I guess I'm all wet behind the ears as I just tried running fluxbox again and the background turned light grey. I deleted the lastwallpaper file and logged out and back in and my background was back so I made the startup file nonexecutable and logged out and back in and my background was fine so I guess startup doesn't really need to be executable--but it seemed to work at the time. I was trying so many things and that was the last thing I tried and it seemed to make a difference--guess not.
Thanks for checking that out. I've done that kind of thing many times -- and then once something is working I don't really want to mess with it. ![]()
Last edited by 2ManyDogs (2012-08-05 23:51:54)
Offline