You are not logged in.

#1 2015-10-21 15:11:17

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

BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

BLOB Configuration Manager

Save or Restore a group of configs with a couple of clicks.
There is a preview dialog to remind you what a saved collection looks like - a screenshot is taken of the desktop, with the menu showing, and an lxappearance window, to show the OB and GTK themes in use.
It works with single or dual monitor setups, but I haven't been able to test with different-sized monitors (except for changing the resolution on one of them).

If anyone would like to test this out, I'd appreciate the feedback smile Post bugs/comments here, or raise an issue on github: https://github.com/capn-damo/blob. Or email/PM me.

Latest Alpha release on github: blobthemes v1.2.0-alpha

It uses `yad` for the dialogs, which isn't in Stable yet, but I have packaged a backport which you can get from: yad_0.27.0-1.1~bpo8+1_amd64.deb

(Some people can't d/l from copy.com, so see if this Dropbox link works for you: yad_0.27.0-1.1~bpo8+1_amd64.deb)

README

**blOB** - a BunsenLabs Openbox Configuration Manager

README

blobthemes: script to save or restore openbox gui configurations

(Requires yad, wmctrl, xdotool, xrandr, nitrogen|feh, scrot)

Save options are for  Conky(s)
                      Tint2(s)
                      Openbox theme
                      GTK theme
                      Background (uses Nitrogen or feh, depending which
                                  has the newer saved bg config file)
                      Alt Menu (dmenu)
                      Lightdm login gtk greeter
                      Terminator config

Paths are assumed to be BunsenLabs defaults.

WARNING: It is assumed that the conkys are not being run via a script, so 
they will appear on all desktops. If you usually use a script, then you 
may have to make your own arrangements! Conkys in non-default directories
can be saved, but will not be seen when running bl-conkyzen.

A Screenshot is saved (Windows are hidden briefly so the image
                       is the bare desktop, with any Tint2s 
                       or Conkys which are running, and a representive
                       menu and lxappearance open)

A time-stamped backup of rc.xml is saved "just in case". 

The dialog icon is "Bunsenlabs-flame-256.svg": put it in /usr/share/pixmaps.

xdotool is used to move the mouse pointer, and assumes the root-menu is shown.
with "Super + Space" keys, and the right mouse button is set for r-click.
If you have set these to something else, then edit the "MENUMODIFIER" and
MOUSECMD variables. Set the variable "KEYDOWN" to where "Preferences" is
in the root-menu (or anything else you might want displayed).

****************************************************************************
#
# KNOWN ISSUES:
# Virtualbox does not allow the guest to move the host mouse cursor, using xdotool,
# so the screenshot may produce an incorrect theme displayed and/or poor positioning.
# A workaround is to move the cursor to some free space, and use the "Enter" key in the
# "Configurations to be saved:" dialog.
#

Intro dialog
A35h2zwh.jpg

View/Restore dialog
6nC6IRNH.jpg

Dual Monitors
pYwlruKI.jpg

Save
VnPd7oou.jpg

Select configs to save
kfSJagbH.jpg

Last edited by damo (2015-11-05 17:10:06)


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

#2 2015-10-21 15:11:39

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

[Placeholder for further info]


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

#3 2015-10-25 16:17:49

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Created a PR.

Offline

#4 2015-10-25 18:07:45

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

xaos52 wrote:

Created a PR.

Seen it, thanks. (Waiting for fulltime in Liverpool v. Southampton, then dinner wink )


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

#5 2015-10-27 21:09:02

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Merged xaos52 pull request. Latest version: v1.0.2-alpha

EDITED post#1

Last edited by damo (2015-10-27 21:09:21)


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

#6 2015-10-27 22:19:37

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Thanx for the hard work Captain .


My Linux installs are as in my music; it s on Metal

Offline

#7 2015-10-27 22:33:01

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

altman wrote:

Thanx for the hard work Captain .

Thanks, but I haven't had any feedback yet!

...Does it work OK, would it enhance BL, can it be improved, any bugs you have found, etc?


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

#8 2015-10-27 22:35:33

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Not installed yet , a bit screwed up as how to do the install .

I just wanted to thank .


My Linux installs are as in my music; it s on Metal

Offline

#9 2015-10-27 22:39:45

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

altman wrote:

Not installed yet , a bit screwed up as how to do the install .

I just wanted to thank .

Unzip and copy the script to your $PATH (eg ~/bin); just run it with the command `blobthemes`. Or call it what you like wink


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

#10 2015-10-27 22:45:07

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Ok , thanx , can I do in Terminal , this command ! Need to find that file .
cat /.... whatever that is

& if I downloaded the yad deb file , what it does .

Edit , never been playing much with the OpenBox themes before , more with Tint2 a little bit .

Last edited by altman (2015-10-27 22:49:07)


My Linux installs are as in my music; it s on Metal

Offline

#11 2015-10-27 22:53:53

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Ok , got it opened in my Geany blobthemes now what , can it be saved over there ! , silly question I know .

Last edited by altman (2015-10-27 22:59:28)


My Linux installs are as in my music; it s on Metal

Offline

#12 2015-10-27 23:02:05

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

altman wrote:

Ok , thanx , can I do in Terminal , this command ! Need to find that file .
cat /.... whatever that is

& if I downloaded the yad deb file , what it does .

Edit , never been playing much with the OpenBox themes before , more with Tint2 a little bit .

OK...

It doesn't edit any themes, but saves the configs you have set, individually or all together. So if you have a window theme which matches the background, with a conky/tint2 in a particular location, you can save/restore them all at the same time, instead of manually with obconf/lxappearance, the tint2/conky switchers, nitrogen etc.

1) `yad` is a dialog application, which is a million times better than zenity.
     Download the deb package, and install with dpkg (or r-click in thunar, and the gdebi gui will start and handle things for you).

2) BLOB: download the source (zip or tar.gz); extract the archive and copy the blobthemes script to ~/bin. Run the command the same way as any other script - terminal, gmrun, dmenu, keybind etc.

`blobthemes` uses yad to display question dialogs, and your saved configurations (including screenshot thumbnails).


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

#13 2015-10-27 23:03:14

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Thanx , will check it out , appreciated .


My Linux installs are as in my music; it s on Metal

Offline

#14 2015-10-27 23:12:42

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Nice!! ...it reminds me a software I used to use in CrunchBang created by user 'katsh'?... don't remember so well. It does quite the same thing and it's awesome. I really like to have my configs in one place along with a screenshot. great job damo!!

I've been playing with it:
2015_10_27_19_18_07_scrot.jpg
So here's my feedback

  • Switching themes works very good even when you have different tint2 panels

  • Sometimes it doesn't refresh the gtk-theme when switching (as you can see in the screenshot above)

  • One of the three themes in the screenshot has a conky running, but once you had made the switch conky will run on all themes

  • It would be nice if blOB remembers the icon theme

When you create a new theme, BLOB saves a fullscreen screenshot and then creates a thumbnail. Is it posible to clic in the thumbnail and enlarge the image in order to see what's going on in lxappearance instead of open the sscrots from /home/user/.config/blob ?

Does it come in spanish?  big_smile

I really like this tool. It should come by default in BL. Great work, damo!


BunsenLabs on deviantArt
Don't touch my git!

Offline

#15 2015-10-27 23:20:16

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Well , don t know what happened , might be have to do with this issue , now I have problem with my old lappy , kind of backlight related , I ll stop this project for now , thanx anyways , it what it does with old computors I guess .

I m on my other lappy now , sorry to have waisted your time captain .


My Linux installs are as in my music; it s on Metal

Offline

#16 2015-10-28 00:09:24

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

@ututo: this is great, thank you for testing it out.

ututo wrote:

Nice!! ...it reminds me a software I used to use in CrunchBang created by user 'katsh'?... don't remember so well. It does quite the same thing and it's awesome. I really like to have my configs in one place along with a screenshot. great job damo!!

That was a python script called "crunchbox", which should have got more applause IMO

  1. Switching themes works very good even when you have different tint2 panels

  2. Sometimes it doesn't refresh the gtk-theme when switching (as you can see in the screenshot above)

  3. One of the three themes in the screenshot has a conky running, but once you had made the switch conky will run on all themes

  4. It would be nice if blOB remembers the icon theme

2) You are right. It seems the call to the `reloadGTK` function has gone missing. Good catch;    Fixed
3) Something I've overlooked it seems sad    Fixed
4) It does remember the icon them (it is in `~/.gtkrc-2.0` and the gtk3 `settings.ini`), but I need to find out why it isn't restoring it. I think it has to do with (2)     Fixed

When you create a new theme, BLOB saves a fullscreen screenshot and then creates a thumbnail. Is it posible to clic in the thumbnail and enlarge the image in order to see what's going on in lxappearance instead of open the sscrots from /home/user/.config/blob ?

I will be working on that - it was already a "feature request" of mine!    Fixed

Does it come in spanish?  big_smile

Feel free to translate it: I would be very happy to include that version wink

Last edited by damo (2015-10-28 12:03:52)


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

#17 2015-10-28 10:34:29

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

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

@ututo

gtkReload has been fixed, and I've added a "View image" option, just for you and me big_smile

(Also fixed the conkys which are still running)

Latest release: v1.1.1-alpha

Last edited by damo (2015-10-28 12:05:47)


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

#18 2015-10-28 10:50:28

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

Fixed my backlight issue , had to do with grub , will retry blob later .


My Linux installs are as in my music; it s on Metal

Offline

#19 2015-10-28 17:33:14

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

damo wrote:

@ututo

gtkReload has been fixed, and I've added a "View image" option, just for you and me big_smile

(Also fixed the conkys which are still running)

Latest release: v1.1.1-alpha

Great! Downloading v1.1.1-alpha for testing. I'll report back!


BunsenLabs on deviantArt
Don't touch my git!

Offline

#20 2015-10-28 18:12:56

nobody0
Disabled account
Registered: 2015-09-29
Posts: 664

Re: BLOB - BunsenLabs Openbox Configuration Manager (needs testing )

ututo wrote:

Nice!! ...it reminds me a software I used to use in CrunchBang created by user 'katsh'?... don't remember so well. It does quite the same thing and it's awesome. I really like to have my configs in one place along with a screenshot. great job damo!!

Are you thinking about something like this, the middle screeny of this link http://crunchbang.org/forums/viewtopic. … 80#p440380? My question on your " I really like to have my configs in one place."

@damo, I am not trying to hijack your thread, only thinking about what ututo thought.

Offline

Board footer

Powered by FluxBB