mengen
Sharon Kimble <[email protected]> Sun, 24 Nov 2013 19:31:08 +0000
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <20131124193108.2a86b782@london> |
I've written this script that will generate the fluxbox menu for you
which includes your usermenu automatically, but it does have a
requirement of 'menumaker-0.99.7.tar.gz', which is in the /programmes
directory of my git repo. Here it is -
#!/bin/bash
#: Title : mengen
#: Date : November 2013
#: Author : Sharon Kimble
#: Version : 1.0
#: Description : to generate fluxbox menu plus
your usermenu too
#: Options : none
#: Requirements : menumaker-0.99.7.tar.gz, in
the /programmes directory
#: License : GNU GPL 3.0 or later
####################################################
# Change log
# * 23-11-13 - Initial release
###################################################
mv ~/.fluxbox/menu{,-$(date +%Y%m%d-%R)}; mmaker fluxbox -f; perl -0777
-pi -e 's/(.*)\[end]/$1/s;s/(.*)\[end]/$1/s;s/^\s*\n//gm'
~/.fluxbox/menu; printf '\t[end]\n\t[separator]\n\t[submenu] (My
Menu)\n\t[include] (~/.fluxbox/usermenu)\n\t[end]\n\t[end]'
>>~/.fluxbox/menu
As you can see it saves a backup dated copy of your current fluxbox
menu, which you can delete if you don’t want to keep it.
I hope its useful for you? Any ideas for enhancement gratefully
accepted.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Fluxbox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJSklQEAAoJEDaBgBkK+INbLFQP/0kCbskBdSYnuKFX7Qj+SJn+ KP962a50n5vMxLI8O9Meypyt4rGsqIdDSbtKOwPXNVMI+m6GT8GkeF5btyXn5dQR GSGu1bBVS/4IKopx+wgUPd/vknZPVGCVF6/yuVJVcG+EZF5wgI7Bs5yycgLAFaFi fRrK98+kvn8iSX1p2JlNhZrcwhx2eeQ4gvlqBFfSIR88yVuz0Z3nEQwoi55yz5lu 5T5zVQ8w6npossXrf5ARsheWneW7Tegvr8n9EAWTTV0I01C/axJFxROqHuEdKab6 MmUsN4cpOZ+g5CX56w17PmvkMkNZDnEBniia7O0B58DheLiA6cUVLssAaVnGMPVr icCp4XHlnXy0QYq7k6UYHHSXTw0OTH7t47qwdJYVfu1UV/i+ImZ333GRTffnCoBY GC3e6a00xeJXcak9RiYibgQZ6EtItum7EJoKgapEAQGcg71QFdmhyxvYokbGhRjb 7DWci7F/qcotBuaMBjVnSNsRSxrR5rluYGuTOiy79nmu4w8JbaVyz1ZXdZgsla+g fSw3U9MEIQbIxi4sM8RGVYGH2NQgVVY3EGxkQdr4h354dXrUQzeroBsbx14+iMJm vTj9ul+Bt7E/N/8K22IVC5fFqMJHXYwDG7IOSstUAM8t0+B6mO1orUiQktTF76Bj mCeb8glSgGcvSAGBiriE =mMrN -----END PGP SIGNATURE-----