Task

To refresh Shotwell thumbnails cache.

Description

Shotwell create thumbnail for every picture it display so when you scroll through gallery it will rebuild it. Problem is when storage is slow (SMB over WiFi) it takes some time.

Idea

Force Shotwell to scroll all gallery

Solution

Find id of Shotwell window:

As you can see sometimes there are two of them (I don't know why)

Switch to that window an send Page_Down / Next key check.

Repeat many many (1000) times but give some time (22s) to refresh all visible pictures. I've prepared bash script:

After confirmation which identifier is good (2099432) you can run:

and do something more interesting than just typing Page_Down key for more than 6h.

The easiest way to set up own Jitsi meet server is containerization (see Jitsi in docker).

When you would like to change logo watermark you can use this method. It will work only in this instance of docker. You can stop / start container, but when you destroy it (i.e.: docker-compose down) the changes will gone.

Copy new file (original dimensions are 612x272) to your docker server and place in directory:

check id / name of your web container, i.e.:

as you can see in my case it is the jitsi-meet_web_1.

Execute bash inside container:

replace original watermark

it's not necessary, but I've saved Jitsi watermark as watermark.png-old.

That's all.

You can also check ~/.jitsi-meet-cfg/web/interface_config.js file for other parameters.

Nowadays everybody use some conferencing systems. If you would like to have your own, on controlled infrastructure, maybe only in LAN/VPN environment you can try Jitsi.

The "demo" installation in CentOS 7 based on docker containers is quite simple.

Install docker and docker-compose

If you already have docker installed skip this step. You can also read Docker in CentOS 7 in 5 steps.

Prepare environment

Install GIT
Download docker files
Prepare directories
Needed modifications

If you want to use it in LAN/separated network you have to change

in .env file. Of course DOCKER_HOST_ADDRESS will be YOUR docker IP address.

If you not set JVB_STUN_SERVERS to null value you won't be able to join the conference. You can change it later in

~/.jitsi-meet-cfg/jvb/sip-communicator.properties file.

Configure firewall

Start all

As you can see I've also added etherpad - for document sharing.

Install chromaprint:

You have to use epel-release-latest (not epel-release) not to get:

Install beet

Enable plugins:

Install fpcalc

Install ffmpeg (RPM Fusion, How To Install FFmpeg on CentOS 8, How to turn CentOS 8 into a perfect desktop):

Now beet can fingerprint files:

I want to import my pictures tags made in F-Spot (0.8.2) to digiKam (4.10)

I found Roland Geider script but it doesn't work in totay's Linux (differences in DBUS structure): Original F-Spot to digiKam script.

I've made trivial correction (comment-out problematic code) and now script looks like this:

You have to provide collection with the same path like in F-Spot. It can import tags.

If your F-Spot path doesn't exists anymore you have to alter photos.db. In my case some of pictures had path /home/zdjatka and some /mnt/zdjatka, but now all pictures are in the same place /mnt/zdjatka, so I alter path:

as you can see photos.db is sqlite3 database (usually located at ~/.config/f-spot/photos.db) and I copied file to home directory (not to modify original file).

Assuming you digiKam is initialized in Pictures directory and you have defined collection in same folder as is defined in F-Spot database (photos.db) complete command to convert is:

To enable acoustic fingerprinting in beets You have to install python acoustid library. My NAS uses Debian, so:

Now You can enable Chromaprint plugin (using beet config -e or directly editing ~/.config/beets/config.yaml file):

as you can see I have also enabled duplicate plugin.

Now if You run

You will get a lot of:

so I also installed:

but it doesn't work.

On the other hand fpcalc works.

I've installed the newest version:

but still I've got the same error:

Nowadays if you want to clean up your MP3 collection instead of writing your own scripts You should better read about MusicBrainz/Picard, beets (witch Duplicates plugin) - they both (and VLC too!) use AcoustID.

You can also try, quite old, Echoprint/Server for the Echoprint.

When You use MS Windows, the best way to convert audio CD to MP3 (such program is also called grabber or ripper) is to use CDex - Open Source Digital Audio CD Extractor.

It's simple, uses GPL license and automatically fills MP3 Tags using CDDB (freedb.org) and/or local database. It also have portable edition (today only 1.77).

To get images placed on map based on GPS tags in Piwigo (2.9) I had to install and enable "Exiftool GPS" plugin and install exiftools.

I've downloaded it and unpack in /tmp directory:

Prepare directory and copy files

Prepare symbolic links

and now it works:

This is short-cut for PowerShot SX230HS users. I got this informations from Canon Hack Development Kit site.

First of all you have to check your firmware version. Jut put an empty ver.req or vers.req file on your SD card. I've put both. Then press the func set+disp. buttons together (i.e. press set first, keep holding it down, then press disp.)

You will see something like Firmware Ver GM1.01C (in my case). The 1.01C is firmware version.

Now go to CHDK Download page and get proper file. In my case sx230hs-101c-1.4.1-4691-full.zip.

Unzip this file to your SD card and place back to camera.

Now follow the instruction:

  1. Power up camera using Playback button.
  2. Press Menu
  3. Select Firmware update
  4. Accept update by pressing OK (don't worry it will be "reverted" when you power off camera ;-)

That's all! Now you can even write your own script to camera (or use some examples).

Ten kto umie pisze kod, ten kto nie umie pisze książki..., albo blog.

Pon Wt Śr Czw Pt So N
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31