Bunch of stuff in by
I have added to
~/.bashrc. Some of these are attached
to key bindings. How to set those depends on your windowing system.
I put all these scripts into the public domain.
ps to figure out which
windows belong to a program or comma-separated list of programs. For instance:
Will get all the entries from
wmctrl -l -p relevant to those.
wmctrl -i -a `win-of-name.sh firefox` #To open the first one.
Also takes a comma-separated list of program names, but cycles through the windows. If none of the programs in the list has a window, attempts to run the first element of the (coma-separated)list.
#Cycle or otherwise start firefox. win-cycle.sh firefox,epiphany,netsurf,opera,liferea
Alternatively it can specify a name for the set of options, and specify a more specific command to run.
Mod4 z :Exec win-cycle.sh editors emacs,openscad,gimp "emacs -mm&"
What i use of those two:
Basically i have the following bound into
~/.fluxbox/keys. Presumably the
lists will lengthen a bit.
Mod4 c :Exec win-cycle.sh gnome-terminal Mod4 v :Exec win-cycle.sh claws-mail Mod4 x :Exec win-cycle.sh gmpc,totem Mod4 s :Exec win-cycle.sh reader evince, 'echo' #Dont want readers without any file.
Strips metadata with
mat, and uses
to hide random data in it and toss it away. This is done in order to prevent
frequency analysis when using images to send messages.(In case they can detect
that data is hidden in images)
Immediately takes a screenshot, meant to be used as key binding.
The first argument can be nothing, then
zenity is used to
ask for a name, or
date, then the date is used for name, or it can be the name
Puts the screenshots in
Starts using /dev/video0 to record into
mplayer in order make pictures.(you have to trigger it) Puts it in
I suppose i should want to immediately take a picture.
Some convenience stuff not worth mentioning here.