bs - button shell
Forum rules
General talk about software - if the program is not in the repos, please links to the developer's page or github.
General talk about software - if the program is not in the repos, please links to the developer's page or github.
bs - button shell
Mentioned in the documentation for miwm, bs (for "button shell") is 134 lines of C (written in 1992) that can create simple panels consisting of labels and buttons.
http://lhf.impa.br/bs/
http://lhf.impa.br/bs/
- Dr_Chroot
- Alfalfa
- Posts: 1100
- Joined: Mon Jun 09, 2014 9:49 pm
- Location: among the sagebrush
- Contact:
Re: bs - button shell
Fantastic; this is actually quite handy! Thanks, pids :D
Fight internet censorship.
EFF | Tor Project | Bitcoin
"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden
EFF | Tor Project | Bitcoin
"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: bs - button shell
xdialogs on dope :) I have just seen it before (miwm) and thought: 1980's yad :)
..gnutella..
Re: bs - button shell
^ exactly. It shows how simple a dialog-creation program can be.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: bs - button shell
We should revive it in future implementations. I'd like to have it as easily customizable pop-up, for example for shutdown/reboot/suspend.
..gnutella..
Re: bs - button shell
Look at that. Yes, a good one.
Re: bs - button shell
Something more to hack on :D Thanks for the share pidsley :)
Delusional thoughts from the mind of a uber-noob:
I'm wondering if I can pipe stuff into it like current song from mpc and maybe a neat notification system ( like osd_cat ? )
Delusional thoughts from the mind of a uber-noob:
I'm wondering if I can pipe stuff into it like current song from mpc and maybe a neat notification system ( like osd_cat ? )
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: bs - button shell
If mpc has the output, yes. mpg123 does. You pipe into a tmp file first and read the last line of it. It should work. Try it, if you get stuck call us :)
..gnutella..
Re: bs - button shell
^ Thanks, I will :)
/Offtopic ( sorry pidsley ):
I couldn't keep mpg123 and mpg321 in one place as mpg321's binary is named mpg123 so both of them are conflicting.Is it even possible to keep'em together ?
/Offtopic ( sorry pidsley ):
I couldn't keep mpg123 and mpg321 in one place as mpg321's binary is named mpg123 so both of them are conflicting.Is it even possible to keep'em together ?
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: bs - button shell
At least in Debian 321 does not replace 123. No idea why there's a naming conflict. You might try to rename the binary (making a renamed copy). Built from source? Then check the Makefile. If you want to discuss this issue, we better split it off.
..gnutella..
Re: bs - button shell
Apologies for the late reply. I haven't tried it in debian but no need to open another topic for this, i'll send you a pm when i can't get around this. Thank you :)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: bs - button shell
^ Noted :)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: bs - button shell
^ simple reason: a problem with solution might be interesting for others, so rather share a "i tried this and got this working and that not" than having a solution (or a problem) and keeping it for yourself. ;) KISS the FOSS of the GNU, you know :D
..gnutella..
Re: bs - button shell
No problem :) Very few people gladly suggest opening threads for someone's minor problem so gotta get used to this ;) And the problem is happening on arch ( pkgbuild from aur ) so i don't know if its relevant enough :)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu