This was written before OpenOffice could read .docx files and I just desperately needed to be able to read the damn things somehow. It is no prettier than the output of antiword but it is useful for extracting information quickly when that's all that's required.

Don't have any docx locally at the moment to try it, but that should be really useful for quickly reading docx mail attachments, inline. Many thanks.

"...one cannot be angry when one looks at a penguin." - John Ruskin"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Re: Post your handy self made command line utilities

Some background first:I've a pair of high end headphones and a pair of mid/high end loudspeakers that sounds very different due to wall reflections.I like to play with audio tools and make music sometimes and i've found a filter chain (calf plugins) that makes my loudspeakers to sound more or less like my headphones; so i was in the need of inserting the calf plugins at the end of the jack connections, just before the real output.

What follows is a script that does that; it disconnect any jack client which is connected to the given output port, and connect it to another client/port of your choice; next it will connect the latter to the real output port:It is much more easier than messing up with qjackctl patchbay definitions.

Re: Post your handy self made command line utilities

I wrote a daemon for isync that monitors an IMAP server with IDLE and runs mbsync when a new email arrives. Basically, push email for isync. It's able to parse mbsyncrc (including the new PassCmd directive) but doesn't support multiple accounts. Looking for ways to improve it.

Re: Post your handy self made command line utilities

Hello everyone,I just thought I would post a script here which I made to resize images in Thunar. Until yesterday, I used Nautilus (on Gnome desktop) and the script found here. I merged that script, along with a script from here and here. The last script has a progress bar, but for me it did not work when more than 100 images were selected. So anyway, I post my script here on the bbs. It would be great if someone with more skill than me could tidy it up and make it a bit more professional. BTW, why can't I get the listbox to show all three of my selections at once without scrolling thru them? Setting the height of the listbox only resizes the entire form, but the listbox region remains one line... For reference, I copied the script to /usr/local/bin with the name resize (set it executable). Then add the custom action "Resize image(s)..." with command "resize %N" Under "Appearance Conditions", "image files" is checked.

Re: Post your handy self made command line utilities

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael FaradaySometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing---How to Ask Questions the Smart Way

Re: Post your handy self made command line utilities

The idea is to start a process with a higher priority and to set it back to 0 after a while to hopefully make it start faster; works good with firefox when i resume from hibernation and other automated actions are taking place...

Note that the user has to gain rights to use lower nice levels by editing /etc/security/limits.conf, but the default for audio users is already set to -10

Re: Post your handy self made command line utilities

Re: Post your handy self made command line utilities

I thouth I'd solve annoying blank screen after 10 minutes when watching flash in full screen for xmonad.

So I was searching and I found this program written in c. Unfortunatelly it didn't work for me.

So here is my script that works in xmonad. checkflash.hs on github. There are flaws like if video is is paused and in full screen, screen saver will still be disaabled. Something I might fix in the future if I'll ever need it.

Re: Post your handy self made command line utilities

Personally, i prefer the manual approach for this, and made a keybind that turns DPMS on/off on press.

'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug StanhopeGitHub Junkyard