Tag Archives: privacy

Hoe voeg je DuckDuckGo (noai) toe aan Firefox

Ga naar Instellingen

Ga naar Zoeken 

Blader naar beneden naar Zoeksnelkoppelingen

Klik op Toevoegen (Onder het vierkant en naast Standaardzoekmachines terugzetten)

Vul een naam in bij het veld Naam zoekmachine (Bijvoorbeeld : DDG noai)

In het veld met URL met %s op de plaats van de zoekterm vul je in :

https://noai.duckduckgo.com/search?q=%s

Klik daarna op Zoekmachine opslaan

Blader naar boven naar Standaardzoekmachine

en maak DDG noai de standaard.

Meer informatie over DDG noai hier :

https://duckduckgo.com/duckduckgo-help-pages/ai-features/about-noaiduckduckgocom

If you’d prefer an AI-free DuckDuckGo Search experience, start your searches on noai.duckduckgo.com instead of on duckduckgo.com. Searching on noai.duckduckgo.com works the same as search on duckduckgo.com, except all AI features are turned off and AI-generated images are filtered out of results by default.

How to add DuckDuckGo (noai) to Firefox

Go to Settings

Go to Search 

Scroll down to Search Shortcuts

Click on Add (under the box and next to Restore Default Search Engines)

Fill in a name in the field with Search Engine Name (For example : DDG noai)

In the field with URL with %s in place of search term fill in :

https://noai.duckduckgo.com/search?q=%s

Scroll up to the top of the page to Default Search Engine

and make DDG noai the default.

More information about DDG noai here :

https://duckduckgo.com/duckduckgo-help-pages/ai-features/about-noaiduckduckgocom

If you’d prefer an AI-free DuckDuckGo Search experience, start your searches on noai.duckduckgo.com instead of on duckduckgo.com. Searching on noai.duckduckgo.com works the same as search on duckduckgo.com, except all AI features are turned off and AI-generated images are filtered out of results by default.

Using the Mullvad repository on Linux Mint

Mullvad does not officially support Linux Mint and suggests manual installation for Mullvad VPN and Mullvad browser. However it turns out that it can work nevertheless. Here’s how to do that for the default Linux Mint based on Ubuntu. Below that I’ll write something about LMDE, the Debian based Linux Mint.

In this example I am going to be using Intel x86_64 and Linux Mint 21.3 Virginia, which is based on Ubuntu Jammy :

  1. # Download the Mullvad signing key (Below is one line!) It is the curl step from here : https://mullvad.net/en/help/install-mullvad-app-linux#install-repo
    
    
    sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc

2.

sudo nano /etc/apt/sources.list.d/mullvad.list

3. Copy and paste the following line (This should be all in one line without any carriage return!) into that new file and save the file and exit the nano editor :

deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=amd64] https://repository.mullvad.net/deb/stable jammy main

4. Run : sudo apt update

5. Run : sudo apt install mullvad-vpn

and optionally : sudo apt install mullvad-browser

If you have Mullvad-browser already installed manually and you did create a menu icon with :

./start-mullvad-browser.desktop --register-app

you can undo that with the unregister command. For details about the exact characters check :

./start-mullvad-browser.desktop --help | grep register

For LMDE, Debian based : This is the same except replacing jammy with bookworm.
After this is done go to the Cinnamon menu and search for the word Mullvad.

It could still show identical looking entries. For me the manually installed had a (Sh) added. Continue to add icons to panel or desktop or favorites to your liking.

And a word of caution : It will likely all work till you upgrade to a newer
distribution version. In that case figure out the new release name and
replace it in the /etc/apt/sources.list.d/mullvad.list file

p.s. Don’t tell anyone, it’s a secret 🙂

Download muziek videos van YouTube als audio bestanden met yt-dlp [Nederlands]

Als je privacy belangrijk vindt dan gebruik je misschien Invidious of Piped dot video. Al sinds een tijd hebben beide projecten problemen met laden van videos, mogelijk door Google restricties of veranderingen. Maar zelfs al dat (videos niet kunnen laden) gebeurt dan kun je alsnog de videos downloaden met yt-dlp. Nadeel is dan als je alleen de audio wilt dat de video bestanden veel groter zijn dan audio bestanden.

Je kunt het volgende gebruiken om alleen audio bestanden als resultaat te krijgen.

Installeer wel eerst ffmpeg als je die nog niet had geinstalleerd.

Hier een voorbeeld van de syntax voor yt-dlp voor audio only :

yt-dlp_linux -f bestaudio -x --audio-format mp3 --audio-quality 0 "https://yewtu.be/watch?v=2iPBvsIZBNA"

Op deze manier krijg je veel kleinere bestanden, en je kunt het dan bijvoorbeeld op een mp3-speler zonder Internet verbinding gebruiken.

 

Download audio only from YouTube with yt-dlp [English]

If you like some privacy you may have been using Invidious or Piped dot video (I have since years) and you may have seen that lately they both are suffering from Google restrictions or problems showing videos.

However, even if Invidious or Piped dot video fails to load a video you can still download the video. Since I really like to download the audio to put it on the SBC (SingleBoardComputer like ODROID, RaspberryPi and so on) where I’m running pi-hole and regarding music the most import the mpd server software. I think mpd is really cool, I can leave it on, and after a kernel upgrade and a reboot of the SBC it will simply keep on playing music, amazing. When I go to sleep I can turn off the sound speakers, and when waking up turn on the speakers and the music is (still playing and) back like nothing happened. There’s also mpd clients for mobile and desktop so imagine you live in a student house with a common kitchen, you could have mpd running there, and anyone could switch to the appropriate music during lunch together from their mobile phone (granted that the WiFi should be in the same network range as your LAN with mpd). In the future I’d like to write another blog post about how to configure mpd for LAN usage.

The other thing is that I’d like to have audio files on my little mp3 player, to be used without Internet connection.

In the past I’ve always downloaded full videos, and then I made a funny mistake lately.

I wanted to make more space, and convert music video files into music audio files,

and used for example the incorrect :

ffmpeg -i Michael_Brecker-Naima-2003.mp4 Michael_Brecker-Naima-2003.ogg

In this case ffmpeg will “obey” and apparently produce an ogg file but the resulting “audio” file will not be much smaller!

Correct is the following :

ffmpeg -i Michael_Brecker-Naima-2003.mp4 -vn Michael_Brecker-Naima-2003.ogg

The -vn switch makes the difference. The resulting audio file is much smaller.

But such a conversion can take a lot of time unless, I guess, you have fast and powerful hardware.


How to download from YouTube with yt-dlp and go for audio files directly ?

yt-dlp_linux -f bestaudio -x --audio-format mp3 --audio-quality 0 "https://yewtu.be/watch?v=2iPBvsIZBNA"

(Note : In my case I had to choose mp3 because ogg appears not to be supported in this case. Maybe some more software is needed?)

Now if you use this syntax, yt-dlp will choose a video download option which is pretty small, and then I believe ffmpeg (on the fly ?) would convert it into mp3. Doesn’t take really long usually.

Result : smaller files, and audio only for use with mp3 player or mpd.