Categories
Uncategorized

KDE – 25 Years

Categories
Uncategorized

Fedora virt-manager asks for root password

When installing virt-manager in fedora 34, the application asks for root password when connecting to KVM.

To avoid this you need to add your user in the correct group:

sudo usermod -a -G libvirt $USER

Restart your computer and it should be good.

Categories
Uncategorized

SSL error on Fedora 33+

Some websites do not have proper SSL certificate installed.

To avoid this problem on fedora 33 and later version enter this command in a shell:

sudo update-crypto-policies --set DEFAULT:FEDORA32

To revert back to old policy:

sudo update-crypto-policies --set DEFAULT
Categories
Uncategorized

Dash to dock & Gnome 40

After the release of Fedora 34, I was pleased to see Gnome 40 and all its new features.

For me there is still something I do not understand:

To access the dock I have to go to the hot corner (top-left part of the screen) to show the dash, then move down to access my favorite applications in the dash…

I was used to have the dash-to-dock extension, and this one is not ready yet for gnome 40. But…

If you want to test it, you can go there https://github.com/ewlsh/dash-to-dock/tree/ewlsh/gnome-40. Ewan is providing his first test for dash-to-dock on gnome 40.

  • download the zip file
  • extract it to a folder
  • go to this folder form a shell
  • type make install
  • activate the extension

Not all settings are working already but it is already enough to be used and enjoy gnome 40!

Categories
Uncategorized

Firefox on Fedora 33

Viewing some videos via plex, jellyfin, etc is not a good experience out of the box on Fedora.

To improve this, you just need to install ffmpeg.

First install RPM fusion repository, then install ffmpeg:

sudo dnf install ffmpeg

After restarting firefox the videos will be displayed smoothly.

Categories
Uncategorized

Function keys not working on E15 Gen 2 & linux

I keep on trying different distributions on my E15 Gen 2 laptop.

Fedora, KDE Neon, now Kubuntu 20.04 (want to upgrade to 20.10) when it will be ready.

First thing is always to install a recent kernel that will not prevent the system coming back from sleep mode. It can be done by following instructions for Ubuntu wiki or using the mainline application (continuation of the free version of ukuu).

The Function keys are working after computer wnet to sleep mode. Here is a way to get the computer to go in sleep mode and wake up automatically at boot.

The rtcwake command enters a system sleep state until specified wakeup time. it is part of util-linux package on ubuntu based distributions, so install it if it is not done already:

sudo apt install util-linux

Then modify the root crontab:

sudo crontab -e

Add this line to the file:

@reboot sudo rtcwake -m mem -s 2

Save the file.

This will put the computer in sleep mode for 2 seconds after boot.

Reboot your computer and login into your user session the Function keys should be working.

Thanks to ONDRA5 who pointed me to the right direction

Categories
Uncategorized

KDE Neon 20.04 on Thinkpad E15 Gen 2

KDE Neon is my prefered KDE based distro.

For the installation on my Thinkpad E15 Gen 2, I used the latest image (neon-user-20200910-0945 at that time).

The image is running a 5.4 kernel and the amdgpu is not correctly managed, so I needed to boot in safe graphics mode.

After installation I downloaded the latest stable kernel (5.8.8-050808-generic) from here with the following files

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.8/amd64/linux-headers-5.8.8-050808_5.8.8-050808.202009091435_all.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.8/amd64/linux-image-unsigned-5.8.8-050808-generic_5.8.8-050808.202009091435_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.8/amd64/linux-modules-5.8.8-050808-generic_5.8.8-050808.202009091435_amd64.deb

and installed the packages:

cd Downloads/
sudo dpkg -i *.deb

My laptop has a bug related to Fn keys not working without go to sleep mode (related to a BIOS problem see here https://www.virtualconfusion.net/thinkpad-e15-g2-and-linux/).

But current setup prevent my laptop to come out from sleep mode.

I needed to remove the nomodeset from the kernel options. This is not part of the default grub file in KDE Neon.

The nomodeset is added via the file /etc/default/grub.d/neon-installation-nomodeset.cfg

GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} nomodeset"

whether I remove the file or remove the nomodeset options.

I just simply renamed the file:

sudo mv /etc/default/grub.d/neon-installation-nomodeset.cfg /etc/default/grub.d/neon-installation-nomodeset.cfg.old

Then update the grub configuration:

sudo update-grub

After reboot I am able to put my computer in sleep mode and get out of it and the Fn keys are working

Categories
Uncategorized

Thinkpad E15 G2 and linux

I recently bought a thinkpad E15 G2, with AMD Ryzen 7 4700U processor, 16GB RAM and 512 SSD.

I use it as my main computer and installed Fedora 32 on it right after unboxing (windows only booted once on this machine)

The system is running fine, all my applications are working well:

  • Docker installation: https://fedoramagazine.org/docker-and-fedora-32/
  • Nextcloud client synchronized with my nextcloud docker container
  • Boinc manager to check the progress of my boinc docker containers
  • watching my jellyfin or plex videos in firefox (for those having a s4032 error, look at /plex-error-s4032/

I have a problem like all other E15 G2 owners running linux: the function keys are working only after suspending the computer. See this discussion on Lenovo forum. It looks like a BIOS problem but  upgrading the computer BIOS to the latest version (1.08) does not solve the issue. It is a minor issue to me.

As the E15 G2 has an IR camera, I am trying to have Howdy working to experiment facial recognition on Linux, but not successful until now.

Categories
Uncategorized

Jellyfin and docker a Plex alternative on Synology NAS

I am using Plex package on my Synology DS918+ for a long time now with a paying plex pass. I wanted to find an open source alternative which provides me a some features like user management, a decent mobile client, controlled access to library, etc…

Jellyfin Demo

Jellyfin seems to provide all what I need. I installed it on my NAS using the regular docker image, proxied via synology application portal and a Let’s encrypt certificate.

Installation procedure is here and I just had to modify the docker instructions to fit my needs and point the media folder on my NAS.

docker run -d 
 --volume /path/to/config:/config 
 --volume /path/to/cache:/cache 
 --volume /path/to/media:/media 
 --user 1000:1000 
 --net=host 
 --restart=unless-stopped 
 jellyfin/jellyfin

Really easy to implement, Jellyfin provides the functions I wanted, I need now to experiment the mobile applications, as far as I can see the android client works well but sometimes it freezes when I put it on pause or change content.

I will probably soon cancel my plex pass subscription 😉

 

Categories
Uncategorized

Filelight to check disk usage

Filelight is a great application to see instantly your computer’s disk usage.

With few clicks you can check where are the biggest files and directories and clean what you want to save disk space.