You are not logged in.

#51 2012-08-05 21:35:02

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

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 ~/.fluxbox

one more time.

Offline

#52 2012-08-05 21:40:38

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

[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

#53 2012-08-05 21:45:03

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

-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

#54 2012-08-05 21:48:14

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

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 ~/.fehbg

and tell me what you get.

Spheres wrote:

[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

#55 2012-08-05 21:59:24

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: SOLVED Fluxbox and Nitrogen problem

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/startup

The 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

#56 2012-08-05 22:00:00

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

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

#57 2012-08-05 22:03:50

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

Spheres wrote:

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 hmm

Last edited by 2ManyDogs (2012-08-05 22:09:24)

Offline

#58 2012-08-05 22:18:07

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: SOLVED Fluxbox and Nitrogen problem

@2ManyDogs: my lastbackground file still has

fbsetroot|-foreground white -solid white|style|:0.0

and 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

#59 2012-08-05 22:20:01

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

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

#60 2012-08-05 22:23:22

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: SOLVED Fluxbox and Nitrogen problem

@2ManyDogs: Sometimes the obvious isn't obvious at all.  wink

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

#61 2012-08-05 22:39:02

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

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

#62 2012-08-05 22:51:25

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

2ManyDogs wrote:

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

#63 2012-08-05 22:58:23

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

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

#64 2012-08-05 23:05:41

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

2ManyDogs wrote:

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

#65 2012-08-05 23:19:49

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

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):

2012_03_08_074710_1280x1024_scrot.jpg

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

#66 2012-08-05 23:22:50

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

2ManyDogs wrote:

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

#67 2012-08-05 23:30:07

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

I was wrong. It's myDEFCON_4, and I got it from http://www.tenr.de/styles/ (another great fluxbox theme site).

Offline

#68 2012-08-05 23:40:19

Spheres
Member
Registered: 2012-07-27
Posts: 33

Re: SOLVED Fluxbox and Nitrogen problem

Just installed it, looks nice, I don't have that bar at the top that you had in that picture though.

Offline

#69 2012-08-05 23:41:44

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: SOLVED Fluxbox and Nitrogen problem

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

#70 2012-08-05 23:49:07

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

Spheres wrote:

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

#71 2012-08-05 23:51:43

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: SOLVED Fluxbox and Nitrogen problem

bgc1954 wrote:

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

Last edited by 2ManyDogs (2012-08-05 23:51:54)

Offline

Board footer

Powered by FluxBB