X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=641eb8bdebf538488703047676bf2a34dac4fb54;hb=e35c1c49ca5328167c8c1a78f0ad8c31dba76aed;hp=a355ac2fe3feea97c2a265aa2c1f3e0f2b7bf529;hpb=fec2f722c92f4b2a5ed90bc7a9ac705da5f361e1;p=grml-tips.git diff --git a/grml_tips b/grml_tips index a355ac2..641eb8b 100644 --- a/grml_tips +++ b/grml_tips @@ -584,6 +584,10 @@ Save live audio stream to file: or % mencoder mms://file.wmv -o $FILE -ovc copy -oac copy + +or + +% mimms mms://file.wmv -- Merge video files: @@ -1715,7 +1719,7 @@ GET http://www.google.com HTTP/1.0 [press enter twice] Adjust system for use of qemu with kqemu: Make sure you have all you need: -# apt-get update ; apt-get install qemu grml-kerneladdons-$KERNELVERSION +# aptitude update ; aptitude install qemu kqemu-modules-$(uname -r) Then set up kqemu: @@ -2779,3 +2783,31 @@ Mount a cloop file: # modprobe cloop file=/path/to/cloop/file # mount -r -t iso9660 /dev/cloop /mnt/test -- +Create a PS/PDF of a plaintext file: + +% a2ps --medium A4dj -E -o output.ps input_file +% ps2pdf output.ps +-- +Print two pages on one in a PDF file: + +% pdfnup --nup 2x1 input.pdf + +Concatenate, extract pages/parts, encrypt/decrypt, +compress PDFs using 'pdftk'. +-- +Read a PS/PDF file on console: + +% pstotext file.pdf + +or on plain framebuffer console in graphical mode: + +% pdf2ps file.pdf ; ps2png file.ps file.png ; fbi file.png + +or + +% fbgs file.pdf +-- +Bypass the password of a PDF file: + +% gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf -c quit +--