Search found 308 matches

Return to advanced search

HowTo configure "Plank" dock in Xubuntu 16.04

[PROBLEM] I'm a long-time " Docky " user on XFCE (since 12.04). But on 14.04 Docky crashed/disappeared most of the time and had to be restarted at least once every hour (or more) - so I'm checking out alternatives, because once you got used to Docky you're hooked :P So I'm checking out &q...
by peter_b
Mon Dec 10, 2018 7:18 pm
 
Forum: Knowledge Base
Topic: HowTo configure "Plank" dock in Xubuntu 16.04
Replies: 0
Views: 1029

MPD & RPi: gaps in music playback

[PROBLEM] On a home music player (Raspberry Pi v1, "Music Player Daemon" (MPD)) the playback sometimes stops in the middle of a song/stream/whatever MPD is playing. These gaps might be from one second up to almost 10 seconds. Happens arbitrarily, but seems like some buffer ain't happy. Se...
by peter_b
Sun Nov 25, 2018 7:03 pm
 
Forum: Knowledge Base
Topic: MPD & RPi: gaps in music playback
Replies: 0
Views: 1066

FFmpeg: Diff 2 videos in realtime

FFmpeg's video player "ffplay" can be used to quickly render the visual difference between 2 videos: ffplay -f lavfi \ "movie=original.mkv[org]; \ movie=encoded.mkv[enc]; \ [org][enc]blend=all_mode=difference" If you want/need to render this difference to a file, in lossless enco...
by peter_b
Wed Nov 21, 2018 12:49 am
 
Forum: HowTo's
Topic: FFmpeg: Diff 2 videos in realtime
Replies: 0
Views: 858

Workaround: ddrescue & "input file disappeared"

Thanks to Ketil Froyn's feature suggestion for ddrescue , here's a workaround for ddrescue exiting when problematic source device "disappears" :( If ddrescue exits with the following error message, although the input device can be read again a few seconds later... ddrescue: input file disa...
by peter_b
Mon Nov 19, 2018 12:24 am
 
Forum: HowTo's
Topic: Workaround: ddrescue & "input file disappeared"
Replies: 0
Views: 985

Inkscape copy/paste issue

[PROBLEM] On Xubuntu 16.04 and Inkscape v0.91/r13725, hitting "Ctrl+C" in Inkscape returns the following error: UniConvertor failed: Traceback (most recent call last): File "/usr/bin/uniconvertor", line 13, in <module> uniconv_run() File "/usr/lib/python2.7/dist-packages/un...
by peter_b
Thu Oct 18, 2018 5:34 pm
 
Forum: Knowledge Base
Topic: Inkscape copy/paste issue
Replies: 0
Views: 1093

Got Curried?

All "ordinary" functions that might typically be encountered in mathematical analysis or in computer programming can be curried. Source: Wikipedia: Currying When I first read it, I thought it was a Wikimedia-Easter-Egg ;) But after reading it a few times, I actually think it makes sense.
by peter_b
Tue Oct 16, 2018 4:12 am
 
Forum: Quotes
Topic: Got Curried?
Replies: 0
Views: 693

How electronic amplifiers work

William Shockley, Nobel-Prize winning co-inventor of the transistor (a revolutionary electronic amplifier dating from the 1940s) had a vivid way of explaining it: "If you take a bale of hay and tie it to the tail of a mule and then strike a match and set the bale of hay on fire, and if you the...
by peter_b
Mon Oct 08, 2018 11:59 pm
 
Forum: Quotes
Topic: How electronic amplifiers work
Replies: 0
Views: 690

Noise and silence

"Ancient life was all silence. In the 19 century, with the invention of the machine, noise was born. Today, noise triumphs and reigns supreme over the sensibilities of men”
— Luigi Russolo

Source: https://moderndevice.com/product-catego ... und-noise/
by peter_b
Mon Oct 08, 2018 11:56 pm
 
Forum: Quotes
Topic: Noise and silence
Replies: 0
Views: 685

FFmpeg: Select specific decoder

For some formats, FFmpeg may offer different encoders/decoders to choose from. For encoding this is quite clear, as one has to specify which codec to use anyway - and therefore already choosing the desired encoder. When decoding however the syntax for selecting which decoder is used is not that clea...
by peter_b
Fri Sep 28, 2018 8:39 pm
 
Forum: HowTo's
Topic: FFmpeg: Select specific decoder
Replies: 0
Views: 1072

Pandoc & Markdown: Colored links in PDF output

I've become a big fan of using Markdown in combination with Pandoc for writing stuff of all sorts: documentation, articles, etc. But when rendering to PDF output, the default for HTML-links is not optically distinguishable from regular text. So links are practically invisible in the resulting PDF :(...
by peter_b
Mon Aug 27, 2018 5:06 pm
 
Forum: HowTo's
Topic: Pandoc & Markdown: Colored links in PDF output
Replies: 0
Views: 1062

kdiff3: Merge does nothing

I'm often using the excellent Kdiff3 tool to check/sync/merge folders with files of all kinds. [PROBLEM] Recently, I wanted to merge 2 folders but the "simlate" listing was empty... :? Also, when I performed the actual merge operation, affected files/folders were marked "Done" bu...
by peter_b
Fri Jun 01, 2018 5:29 pm
 
Forum: Knowledge Base
Topic: kdiff3: Merge does nothing
Replies: 0
Views: 1063

Re: LaTeX: Error: File `booktabs.sty' not found.

In case you get the following error, too:
! LaTeX: Error: File `booktabs.sty' not found.


Install the following package:
Code: Select all
$ apt install texlive-latex-recommended
by peter_b
Fri Mar 30, 2018 3:02 am
 
Forum: Knowledge Base
Topic: LaTeX: Error: File `ulem.sty' not found.
Replies: 1
Views: 1742

LaTeX: Error: File `ulem.sty' not found.

[PROBLEM]
Using Pandoc to convert markdown (with strikeout text) to pdf:
Code: Select all
$ pandoc -s -o test.pdf -f markdown INPUT.txt

Returns:
! LaTeX Error: File `ulem.sty' not found.

:(


[SOLUTION]
$ sudo apt install texlive-generic-recommended


Tataaa! :D
Works like a charm now. 8)
by peter_b
Fri Mar 30, 2018 2:58 am
 
Forum: Knowledge Base
Topic: LaTeX: Error: File `ulem.sty' not found.
Replies: 1
Views: 1742

Linux: Compile several JPGs into single PDF

Here's an ImageMagick command that takes several input images (e.g. PNG, JPG, etc) and creates a single PDF with each image on one page. This is great to quickly and easily resize and "package" images to send by e-mail, for example. Here's the basic command: $ convert *.jpg -resize 1000x10...
by peter_b
Wed Mar 28, 2018 4:03 pm
 
Forum: HowTo's
Topic: Linux: Compile several JPGs into single PDF
Replies: 0
Views: 1343

Poedit: Entries start with 'msgstr ""'

[PROBLEM] I've added one new translation string to a program and ran a "git diff" on the "messages.po" file - just to see if everything looks good. I suddenly saw more differences than the one string I've changed. And the affected translations all started with: msgstr "&quo...
by peter_b
Mon Mar 26, 2018 7:26 pm
 
Forum: Knowledge Base
Topic: Poedit: Entries start with 'msgstr ""'
Replies: 0
Views: 1277
PreviousNext

Return to advanced search

cron
Reputation System ©'