Saturday, April 12, 2014

create an epub from a group of webpages

Put the webpages in a folder. Be sure to have named them in the desired order so 02.htm follows the content of 01.htm for instance
Open terminal in or move to folder and type in terminal:
cat *.htm > combined.htm
Open the the combined htm in Calibre and convert it to epub or use this webservice

Read articles saved with Wallabag on your ereader:
First install wallabag add on for firefox or chrome and add it to your toolbar.
Create a Framabag account if you don't run your own webserver.
Log into that account and create in tab Config  a rss feed and copy its address; you will need it for Calibre.
How can I read my saved articles on my e-reader?
First, you must install Calibre, which is an e-book library management application, compatible with many e-book reader devices. Then, you must generate a token to enable RSS feeds. This can be done on your wallabag config page. You now need to open Calibre, click on the menu besides « Fetch News », then on « Add custom news source », copy the adress of your feed (unread, favorites or archive, as you wish) and paste it to the feed URL field. Enter a name and save with the « Add/Update Recipe » button, then close. Finally, back to the previous menu, click on Schedule news download. You can schedule it if you want, but all you need right now is to click the « Download now » button. The download might take some time and get stuck to 1% for a while, but it should finally work. When that’s done, you can refer to Calibre’s documentation to know how to send the generated ebook to your devices.

Howto set up Pocket with Calibre:


  1. Click the dropdown arrow under ‘Fetch News’
  2. Select ‘Add a custom source’
  3. Click ‘Customize builtin recipe’
  4. Select ‘Pocket’ from the list
  5. Close the window
  6. Click ‘Fetch News’
  7. Under Custom, Click ‘Pocket’
  8. Add your username/password and set a schedule if preferred
  9. Click ‘Download Now’

Thursday, January 16, 2014

Send your email as a closed letter instead of an open postcard

Emails are readable textfiles that are very vulnerable for hacking, spying etc. You should be very careful about what you write when you mail.
Still it might be necessary to use email for confidential messages.
Then you will need encryption.

To use email encryption you will need a local email program like Thunderbird (it still isn't possible when working from out of your browser).
You will also need an add on called Enigmail and you of course need a email partner that also has these programs installed. 


And you both need a key pair, consisting of a private and public key.
You keep the private key private and exchange public keys, for example
by email, or by using a key server.  You then need to verify you have
the correct public key (and not an impostor's) by checking the
fingerprint of the key you received against the fingerprint you exchange
via a secure channel, for example by each putting your fingerprint on a
piece of paper and exchanging those pieces of paper when meeting in real
life.

So lets start from a situation you and your friend agree that you both want to use and install encrypted email.
Where do you start? In Linux it is easy to install the needed software and  you will do something like in Debian
#apt-get install thunderbird gnupg
or in Arch
#pacman -S thunderbird gnupg

In windows you'll need: gpg4win en thunderbird

In Os X:  GPGTools and thunderbird

To set up gmail for you will have to enable imap under Preferences.

Starting up Thunderbird you will have to set up an email account,
select imap, check if ssl is enabled.
Now go the the add on manager; search for enigmail and install it and restart Thunderbird and start the OpenPGP Setup wizard.
Sign all your outgoing emails (good for people getting curious and asking what this is all about and thus spreading the goods) 
Next; No create Per-recipient rules (you don't want to irritate people that are not using encrypted mail with useless, not readable textfiles); 
Next: Yes, change some email settings etc.
Now you can create a key pair (a public and a private key).
Give a strong password to protect your keys. Confirm your settings.
Next, move your mouse to create some entropy when the keys are created.
After that is done you will have to create a revocation certificate that you will need when your key has gotten compromised or if you want to revoke it for some other reason. Now use the password you gave before.
And save your revocation certificate and store it in a safe place.

You are now ready to use enigmail. In thunderbird you will click on both the sign and encrypt icon (right below) when you want to send an encrypted email. When you send an attachment you can encrypt that too.
Remember that both the email title and the attachment title will be readable and are not encrypted.

If you want to help your friend setting up Enigmail you could use a Teamviewer session.

To manage your keys and check other ones (see above) you can use the OpenPgp Key management tool with which you can export public keys and send them to a key server.

Check display all keys, right click on your own key and choose properties.
Now you can see your key ID and key fingerprint. Right click and Upload Public key to Key server to share your public key.
For this article the following source was used Keep-it-private
You will find a lot of back ground info and screen shots there.

See also: https://securityinabox.org/en/thunderbird_main

 A great site on internet privacy is https://securityinabox.org/en For instance the guide on password management is very useful

Saturday, December 21, 2013

what are the results of Hiface Dac and Micromega Mydac on Linux

In the former post I wrote about setting up  a dac for Arch(bang)linux.
But what are the results in terms of audiophile experience. How good is the end result?
My judgment is not an everyday users one but one of an audiophile that hates hard ware hokus pocus but has a very critical pair of ears and  a brain full of acoustical memories.
My ideal of audio reproduction is that you forget about your music set and that you hear your music as natural and acoustic as possible. According to this my preferred musical genres are: acoustical jazz and classical music.
What  I have in my head is the natural sound that you can ear in a concert hall with good acoustics (we have one in our town).  Or in a smaller room or venue.
I have a Magnepan 3.5/R loudspeaker set, a Gryphon Tabu as amp and my fav cd player is a Marantz c 17 Signature. Together with a room with good acoustics this  is a feast to go and sit and listen. I don't care for surround but acknowledge the advantages of well recorded high resolution sound files.

What for me makes the sound sound good:
- a natural division between lower, middle and high register sound;
- the clarity of the individual elements of the music: how do voice and piano mix for example;
-how natural is the sound stage; is it a nice continuous field or do the fall gaps or is the build  of it too thin or too gross; do the diverse elements play good together or are they fighting each other.

Also important in judging hard ware is how do lesser recordings sound.
Because although a good equipment is just no better than the sound recording and you should judge a stereo set with the best possible recordings to find out what it's capable off,  you also have to live with lesser sound recordings and it is important that you can listen to them without too much disappointment or irritation.

Playing digital files from my pc that runs Linux via my stereo set  has been so horrendous  that I avoided  doing it. But I wanted to listen to my digital files of course.
After setting up the Hiface Dac as mentioned in the previous post the sound was getting better, in fact so good that wanted to listen more and more.
But not in the league with what I hear on my Marantz.

The  plus of the Hiface that it presents quite a lot of detail, and is amazingly refined at times; the sound is clean without any rumblings or dominant highs or lows; the whole sound spectrum is well divided.  For more intimate settings, a jazz combo, chamber music this all suffices. What it lacked in the first sessions is body; the sound stage is too fragile, not robust enough.
Especially playing orchestras or more intricate settings like opera -which btw always is quite a challenge- it really falls short. ( I found out that my Nvidia video card had some degrading effect on performance and could correct this; see former post)
Playing an old Gerald Moore recording from 1950 with Irmgard Seefried was  a great and positive surprise.  This seems a big advantage of this dac that sounds seldom become harsh or irritating.

Thanks to Rob of the Hifiwinkel is also was able to test out Micromega Mydac.
This dac doesn't take extreme files like the Hiface dac that goes to 32 bits/384 khz - it goes to  24/bits @192 khz but is has electrical feeding of its own and not only an to 2.0 usb connection but also can be  connected via optical and coaxial connections.
I had problems getting it running because from the factory it is set on usb 1.1 and I didn't get it working before discovering this and setting it to 2.0. You don't get an usb cable with it and I choose a wrong one when  I started with it (with thickenings) and you should use one without.
I wanted to use the usb connection because alsa and jack seem to provide the best sound and via usb I'm totally  ignoring my own pc sound card.

Anyway the differences between Hifac e and Micromega are striking. The sound had in the first sessions more presence using the Micromega; it all sounds much more powerful but it has its disadvantages too. There is a overemphasis on the low region, the basses and there can be traces of muddiness in that region. Still it is amazing how far you can come with this Dac from 300 euro (while the hiface costs  225 euro).
Any way it is not so easy to choose between the hiface having the richness and purity of detail going for it and the Micromega the much stronger presence and power of its sound stage as its biggest asset. I still have a week to decide.

Update 1 : tonight I listened to the hiface dac after some time with the Micromega. The Hiface was very satisfying and especially in its subtlety and detail. Tonight I had no problems with the more powerful  passages as descried earlier; for example the Koechlin "piano concerto":  Ballade for piano and orchestra  with Rigutto and Myrat (EMI) was very satisfying and didn't lack detail or force...btw I had no real complaints about the Micromega either but I wonder if the Hiface maybe gives a bit more detail.. I find it difficult to judge...

Update 2; Tested three recordings that leave something to be desired. Not really bad ones, but could be done better in my not so humble opinion.
I started with the Micromega and dissatisfied changed to the Hiface that in comparison is becoming more and more the winner.
I have to add that this is  very much a subjective verdict and not an objective one. People that prefer heavy basses or more power will probably like the Micromega more than the Hiface.
I started to listen to two tracks from Anais Mitchells  album Boy from America: 'Tailor' and 'Shepherd'. I didn't like the tone balance in 'Tailor'  on the Micromega, in 'Shepherd' the two guitars sound fresh and crisp with wonderful detail, but there seems to be an error in the mix as the voice is so much in the distance that the text is hardly to be heard. No trace of this problem listening to it with the Hiface; the voice sounds intimate but the guitars don't stand out so much and are less intriguing.

I'm really struck by how much difference a dac makes and we are talking on both quite good ones; this isn't comparing apples with pears but just two different tasting apples variants.

 Another recording is the Dvorak piano concerto with Aimard/Harnoncourt and the RCO. The RCO are always much helped by the wonderful acoustics of the Concertgebouw but probably this live recording is made elsewhere. Anyway the acoustics are not helping, I found it so disappointing that this stopped me using the Micromega and change over to the Hiface where it all sounds  a lot better, more detail, nicer tone balance. The third recording is the  wonderful Lambert song " Vous me mepris chaque jour" performed by Suzie Leblanc, Le voix humaines and Stephen Stubbs) Album name: " Amour Cruel". As with lots of old music the acoustics are church like, while I think it should be more intimate, a tavern room or a smaller room in a castle or so. Any way the music on the Micromega drowns in the space, is much too indirect and distant.
In the Hiface this problem isn't solved but it is still sounding much better and more enjoyable

A third and last session  I did again starting with the Micromega; I didn't use the jack server  but played with Alsa. I played different Christmas music:
Carla Bley from her fine and beautiful recorded cd Carla's Chirstmas Carols; the Piano Jazz Christmas from NPR  album with different not all too satisfying sound recordings; Marc Andre Hamelin " In a state of jazz" which reveal a fine piano but disturbing reverb and the wonderful Christmas Cd van the Dutch Bach Society, Jos van Veldhoven directing, a in all fronts magnificent recorded compilation cd.  Closin with some songs from the Hyperion Mendelssohn CD "Songs and Duets, Vol. 1," a fairly good recording regarding the vocals, although the piano could have been better.
The clear winner on all different records was the hiface, which continues to amaze in what it can offer in fine details and nice natural sound stage.
When should you consider using a DAC? If you play lossless digital files and you are disappointed how they sound, you probably have good enough speakers and amp to make it worth it to upgrade using a dedicated dac.
I found the NPR piano  and the Hamelin recording so underperforming on the Micormega that I decided to change to another tune..
Using the jack server in the third round (second round: alsa + hiface) the Hamelin piano sound revealed some much fine detail , overtones, dynamics and one track  recording of the NPR (Cedar Walton -  It came  on One Clear Night) didn't seem so bad at all.

I recommend all Linux users to give the Jack server a try out in stead of using Alsa.
I like to keep things simple but starting up the Jack server really makes a big difference as far as the software side of digital audio concerns. This was quite contrary to my judgement before as I was convinced that Jack would only help or be of use except when making recordings. My preferred audio player is deadbeef with the jack plugin installed.
The real delight came when listening to the best recordings like that of Carla Bley or "Ave Maria"from B. Josepho (Dutch Bach Soc.) Hearing what the Hiface dac could do and what I could get out of Micromega my decision was final: It would be the Hiface Dac.

Any way the only thing I'm bothered about is that I didn't  try all this out some years ago!!
But then again the Hiface wasn't around then: it is only introduced last summer....




Thursday, December 19, 2013

setting up Archlinux for hiface Dac

Thanks to Rob of the Hifiwinkel Iwas able to test the hiface Dac
I was  not content about how I was able to play my digital files and how the music came through on  my high end hifi. Indeed the usb dac is plug and play and instantly recognized by the Linux Os. (On windows you have to install some drivers.)
Start alsamixer, for instance by typing that in the terminal and do f6 to change  your soundcard and choose M2Tech Usb Audio.

You will be able to play and use the sound card but will also have to set up audio player to recognize the right audio source.
After trying some I decided for using Deadbeef. And found here how to set it up :
 DeaDBeef:  (a) Click on the Edit menu, then Preferences.
                       (b) In the Preferences window under "Sound" : "Output plugin" = "ALSA"
                                                                          "Output device" = "M2 Tech USB Audio"              
                       (c) In the same Preferences window select: Plugins
                            In the left column select "Alsa Output Plugin" and then click the "Configure" button
                            In the configuration window make sure that ALSA resampling is unchecked and that you place a check in box to "Release device when stopped".
This made the sound already quite acceptable.
This post in the same thread opened the way to an even better sound:


Theres an option to achive even higher sound quality with alsa and jack. Jack in general is the linux alternative to ASIO (to achieve low latency it bypasses kernel mixing just like ASIO on windows) and its has nice server app. After installing JACK You just need to start sound server, set it like this:



(I've highlighted with red important ones)
This setup should output bit-perfect SD audio. (I cant do a null-test with my setup to check if it's 100% bit perfect but my ears feel fine with the reproduction quality :))
I recomend Audacious with JACK output plugin or using system wide sound capture to jack and then You can use whatever You like.
You can use JACK with ALSA system wide by creating .asoundrc in Your home directory containing:

# use this as default
pcm.!default {
type plug
slave { pcm "jack" }
}

ctl.mixer0 {
type hw
card 1
}

# pcm type jack
pcm.jack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}

 I set asound.conf system wide in the etc folder.
And I made some changes to the set up of Jack  using qjackctl
Frame period is 256 and of course another sound card, see below.
 Here is first some help for installing jack:

#pacman -S jack qjackctl
Qjackctl is an essential gui for configurating and starting jack and also here you have to set the right sound card; so the hw:0 will become hw:1
Use to find out, what you have to choose:

ls /proc/asound/cards

Using Deadbeef which is a fine audio player install from AUR the  deadbeef-plugin-jack-git .
$yaourt -S deadbeef-plugin-jack-git

To allow Alsa programs to play while jack is running you must install the jack plugin for alsa with alsa-plugins.
To set up the usb sound card as the default:
Add in /etc/modprobe.d/alsa-base.conf:
# Assign USB Audio as default sound card
options snd_usb_audio index=-1
Delete these last TWO lines in the file:



# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

Procedure of starting up jack:
First be sure the right sound card is chosen
Go to qjackctl and start jack (click start button) and get jack rolling by clicking the play button.
Configuring openbox for qjackctl
You may have to set up your desktop environment to automatically start up cjackctl, in openbox by adding something like this to /home/user/.config/openbox/autostart
(sleep 62s && qjackctl) &
or with a keyboard shortcut in /home/user/.config/openbox/rc/xml
There are more options like using jack2, see the Arch wiki for that

There are people saying that jack isn't needed for playback:
Since ALSA is said to be already very efficient and low latency, providing very good quality playback with no additional mixing when stated within it's .asoundrc file, unlike MS Windows, Jack probably isn't needed for most. 
Just try all the options and see what works best for you...

Want to dive into the world of Linux Audio on Archlinux; go here

If you have a nvidia card and a lot of xruns using jack (see messages), you should use nvidia-settings and set under Powermizer GPU to Maximum Performance.

Monday, December 9, 2013

Post into folder plugin for Spacefm

Just by coincidence I found out about the new  Paste Into plugin for spacefm.
Very useful when working in the two panel (File commander like) set up when you want to move a file or folder into a folder of the other panel. After you have cut the folder/file you click on the folder you want to past the file /folder into and choose paste into from the menu.

Howto install

  To add it there, right-click on a file and then right-click on any menu item such as Copy. Select New|Import|URL from the design menu and enter this link.

Howto use:
First, copy or cut one or more files or folders to the clipboard with the standard Copy or Cut commands. Then select (highlight) a single folder to paste into, and select the Paste Into command. Or, if a single folder is not selected, files will be pasted into the current folder

I would recommend to IG to make this very handy plugin a default feature of Spacefm!!

BTW on the same page you will also find  a burn tool for spacefm.

Tuesday, December 3, 2013

Archbang Site back

Archbang site is up again!!

Friday, November 22, 2013

Archbang site down

Hi Ab-ers,
For some unknown reason the site of AB is down.
archbang.org but also the forums and the wiki.
We haven't pulled the plug out of AB and hope to be back as soon as possible!!
We're trying to find a solution.

Update  23 nov.: Our  site seems to be hacked; there are strong indices in that direction; we are trying to find a solution.
Get back to this place to find updates on further developments...


In the mean time the updates and testing isos are available at:  http://sourceforge.net/projects/archbang/ 

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.