You are not logged in.

#21 2020-12-09 21:52:55

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,104
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

damo wrote:
sleekmason wrote:

...

If the export is the problem, How does that work for this script?

I decided it is irrelevant, but you must have worked on your reply while I edited my post!

Yes.  big_smile

So check this out. If the change in window managers is causing the script to fail after the change, is there a way to reinitialize the script afterwards?

Maybe from another script that first calls this one, sleeps for a second, and then calls the panel and icon removal?  I tried this once and it did the same, cutting off the script after the command, but what I made was also very simple.

Command to somehow restart the script after the change . . .jeez louise.

Offline

#22 2020-12-09 22:11:14

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] How to switch between Openbox and Fluxbox?

^ You can probably control everything with systemd. But don't ask me how 8o


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#23 2020-12-09 22:13:22

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,104
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

Hold the phone!! I pulled a good one.

I never changed the menu entry back from;

[restart] (Start Openbox) {openbox-lxde}

to point back to the script.  FFS.

So, Hold that thought until I try a few things and try not to laugh to hard.  big_smile

Edit* Really glad I got to ride today. Sorry to those who have spent time on this after that point.

Sometimes I need all the help I can get.  Probably still will.

Edit2*  I tried adding toggle.monster to the menu entry, and while it brought up the panel, it froze the screen.

Last edited by sleekmason (2020-12-09 22:51:29)

Offline

#24 2020-12-09 23:43:36

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,104
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

#!/bin/bash
# Small script to change to openbox during session.
fluxbox-remote exit & openbox-lxde
tint2 -c ~/.config/tint2/tint2-pager 
fbpanel -p pager

The fluxbox-remote exit does the trick:)
This now sets the panel in Openbox, but also now initializes one in fluxbox as well. (because there is always something).

Probably I will get this figured from here:)

Thank you for all your suggestions.

Offline

#25 2020-12-09 23:58:49

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] How to switch between Openbox and Fluxbox?

Keep on diggin', you'll find the gold in the end big_smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#26 2020-12-10 06:50:24

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [Solved] How to switch between Openbox and Fluxbox?

I don't get it; if both fluxbox and openbox have a "replace" option, you shouldn't need "killall *box" at all.

Offline

#27 2020-12-10 12:23:57

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,615

Re: [Solved] How to switch between Openbox and Fluxbox?

Fluxbox doesn't have the "--replace" option.


You must unlearn what you have learned.
    -- yoda

Offline

#28 2020-12-10 13:43:00

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,104
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

I think the --replace option is actually xfce.

Offline

#29 2020-12-10 14:02:10

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,615

Re: [Solved] How to switch between Openbox and Fluxbox?

sleekmason wrote:

I think the --replace option is actually xfce.

Openbox has "--replace" as an option; it's in the man page. I think it is used to replace the window managers for Gnome and KDE, as well as, Xfce.

I don't think fluxbox has it; if it does, it's undocumented.

Last edited by PackRat (2020-12-10 14:03:09)


You must unlearn what you have learned.
    -- yoda

Offline

#30 2020-12-10 15:01:11

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,104
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

Yep:) everything is good now.  Can freely switch between openbox and fluxbox with windows open, just like you are switching themes instead of window managers.
Building now, and will hopefully push later this evening.

I can't decide if it's sad that I like sitting here and toggling this back and forth. Lol.  Okay, I'm going to the woods for a while. Thank you everybody. Don't know what's next. but it should be fun!

*edit - Changed the title to reflect the situation better.

Last edited by sleekmason (2020-12-10 15:03:16)

Offline

#31 2020-12-11 00:02:26

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,050
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

sleekmason wrote:

I can't decide if it's sad that I like sitting here and toggling this back and forth. Lol.

From the man who spent 4 hours (so far, I'm just getting started) setting up an openbsd-cwm session on a Buster Cinnamon system...

Yes, very sad.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#32 2020-12-11 14:14:14

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,104
Website

Re: [Solved] How to switch between Openbox and Fluxbox?

Ha!  lol  There is certainly something uniquely satisfying about completing even the smallest change from chaos to order:)

Offline

Board footer

Powered by FluxBB