петък, 9 юни 2023 г.

How to create liveusb from terminal

1.  Download the iso (https://linuxmint.com/download.php)

2. Optional, check the sha256 sums. 

3. Plug in your usb. In my case, I had to delete the partitions, but I didn't create a new partition. Confirm the path to your usb with $df  - mine was at /dev/sda

4.  sudo dd bs=4M if=/home/user/linuxmint-21.1-cinnamon-64bit.iso of=/dev/sda status=progress oflag=sync

5. Voila

четвъртък, 9 февруари 2023 г.

How to install nvidia-dkms on Manjaro

I just installed manjaro-xandmod to test if my laptop will continue to freeze. It just got way too annoying having these freezes every 2 days since I like to keep my laptop working non-stop for months. And since I couldn't figure what freezes exactly, I decided to return to xanmod with which I had good memories. So anyway, I installed xanmod from aur (from Pamac where I have aur added) and then tried to install nvidia-dkms. It complained that it's in conflict with nvidia610 and wouldn't remove it. This is the line that solved the problem:

sudo pacman -S --needed nvidia-dkms nvidia-utils lib32-nvidia-utils


 

сряда, 18 януари 2023 г.

How to make Chrome open magnet links qith qBittorrent

Chrome was opening my magnet files with Stremio which didn't work at all. So I wanted to convince it to open them with my torrent client qBittorent. What I did is that I edited:

/home/denijane/.config/mimeapps.list

adding the line:

x-scheme-handler/magnet=org.qbittorrent.qBittorrent.desktop

I saved it and restarted Chrome and voila! 

Useful konsole commands:

xdg-mime query default x-scheme-handler/magnet

and

gio mime x-scheme-handler/magnet

and also the .desktop files seem to reside in  /usr/share/applications/

Also you can try to update the database with "update-desktop-database" but in my case it didn't seem to work, but closing and opening Chrome did.