Juizinho à primeira vista

Diz que a SIC começou um novo reality show chamado Casados à primeira vista. Confesso que ainda só vi os anúncios televisivos, porque no dia em que aparentemente deu o primeiro episódio (ontem, domingo) eu estava a dormir que nem um calhau depois de duas noites em branco. Só com isto, é difícil formar uma opinião educada acerca do programa. Já da ideia por detrás do programa… Bem, só me ocorre uma coisa: quem é que se mete numa merda daquelas? Parece que eles pagam os casamentos e tal, mas… Quem é que se mete numa merda daquelas? O meu cérebro de ervilha não consegue ver sentido em tal coisa. Ou como a minha mãe dizia: «a saúde faz falta mas o juízo faz mais».

Adenda: obrigado ao @jmcest por ter partilhado esta link, tão enquadrada que é com esta temática.

Integrate Firefox with the Plasma Desktop

Lately, I’ve been switching between Gnome and Plasma. Both are great desktop environments and, like all the other software in the world, both have some shortcomings. So, this is not a flamewar post, nor is intended to start yet another one.

Yesterday, I logged on a Plasma session and opened Firefox to check my email, social network accounts and read the news. Moments after firing up the browser, I got a Plasma notification about an integration with my browser of choice. I clicked on it and it opened the page for an add-on on the official add-ons website for Firefox.

The name of the add-on was Plasma Integration. On the description it read:

Multitask efficiently by controlling browser functions from the desktop, even while Firefox is in the background. Manage audio and video playback, check downloads in the notification area, send files to your phone using KDE Connect and more inside the KDE Plasma Desktop!

I was struck. This set of functionalities provided by the add-on are what I long wanted for Firefox on a desktop environment, especially the KDE Connect integration.

This means one less shortcoming in the Plasma Desktop. So, thank you, Plasma developers and community.

Spaceship-like cat beds

If we get a cat (we’ve talked about it one or two times), we’ll have to get one of this spaceship-like cat beds, from Myzoo Studio, eventually. Most likely a DIY one, because these ones are too expensive. But they are so cool! Even I would like a bed like this.

Is Facebook an anti-democracy tool?

Read The Autocracy App, published in The New York Review of Books, and draw your own conclusions. It’s a long, but well worth, text about the impacts of Facebook on our societies and the apparent inclination it has for favoring dictatorships and autocracies.

It gave me the chills…

Things to do after installing Fedora

WARNING

Third-party repositories will be enabled and it was only tested on Fedora 28. This could have an impact on your system ranging from none to destroying all cat videos on the internet. You have been warned.

Disable annoying AMD iommu warnings on boot

Only for some AMD CPUs, like mine, an AMD A9-9420

Edit the /etc/default/grub file and append the following to the GRUB_CMDLINE_LINUX line:

iommu=soft amd_iommu=off

Full example:

GRUB_CMDLINE_LINUX="resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet iommu=soft amd_iommu=off"

Finally, generate the new GRUB configuration to take effect on your next reboot and any kernel update thereafter:

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Enable Negativo17 multimedia repository

Negativo17 has more repositories. You can use them to install Steam, Spotify and more apps. Check their website for more info.

This repositories contains codecs and multimedia software (HandBrake and Blender with CUDA support, for example). A must have.

sudo dnf config-manager --add-repo=https://negativo17.org/repos/fedora-multimedia.repo -y

Enable third-party repositories “supported” by Fedora

Refer to the Fedora Wiki for more info.

Enable Visual Studio Code repository

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

Install all codecs

sudo dnf install gstreamer1-{plugin-crystalhd,ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree,-freeworld,-extras}{,-extras}}} libmpg123 lame-libs --setopt=strict=0 -y

Apps to install with DNF

Needs Negativo17 repos enabled (not only the multimedia one)
sudo dnf install -y snapd gnome-tweaks dconf-editor mpv gnome-mpv vlc dnfdragora gimp gimpfx-foundry gimp-luminosity-masks gimp-fourier-plugin gimp-focusblur-plugin gmic gmic-gimp inkscape flameshot vokoscreen kodi jpegoptim optipng micro steam qemu-system-x86 youtube-dl mplayer qbittorrent spotify steam pycharm-community pycharm-community-plugins code

Apps to install with Flatpak

First, enable flathub repo for Flatpak
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Then install the apps
sudo flatpak install flathub io.github.wereturtle.ghostwrhiter com.github.marktext.marktext io.github.Pithos

Blacklist radeon driver

For some reason, the system completely freezes randomly if I don’t blacklist the radeon driver. Maybe it interferes with the amdgpu driver that is needed by my GPUs or maybe it’s something related to Prime, but this are just guesses.

echo 'blacklist radeon' | sudo tee --append /etc/modules.d/blacklist.conf

(Optional) Install minimal Plasma Desktop Environment

sudo dnf install @critical-path-kde plasma-workspace plasma-workspace-wayland kde-settings kde-settings-plasma kde-settings-pulseaudio plasma-nm plasma-nm-openvpn plasma-nm-ssh plasma-applet-redshift-control plasma-browser-integration kde-l10n-pt kde-gtk-config dolphin konsole gwenview plasma-workspace kate-plugins kate konsole5 kde-gtk-config ksysguard -y

Thanks, /u/jflory7, for the tips to improve this “guide”.