Nvidia Driver on Fedora 25

Fedora 25 has Wayland enabled by default. However, if your computer has a (good) Nvidia graphic card and want to make use of it, you’ll need to switch to Xorg and install the Nvidia proprietary driver. Note that only the Nvidia driver with the version newer than 375.20 works on Fedora 25. Ref: How do I install the Nvidia driver on Fedora 25?

December 17, 2016 · 1 min · 63 words · kenno

Install ZFS on Fedora 25 with kernel 4.8.13-300

After I had my Fedora 24 upgraded to 25 on my desktop, ZFS no longer worked. I tried to remove zfs package and reinstalled; it didn’t work. Here’s how I got it working after trying many things. There could be a different way to fix it, though. Let’s check the version of the kernel: [root@sangkae ~]# uname -r 4.8.13-300.fc25.x86_64 Check if spl, zfs are already installed: [root@sangkae ~]# dnf info spl Last metadata expiration check: 1:01:18 ago on Thu Dec 15 22:42:25 2016. Installed Packages Name : spl Arch : x86_64 Epoch : 0 Version : 0.6.5.8 Release : 1.fc25 Size : 48 k Repo : @System From repo : zfs Summary : Commands to control the kernel modules URL : http://zfsonlinux.org/ License : GPLv2+ Description : This package contains the commands to verify the SPL : kernel modules are functioning properly. [root@sangkae ~]# dnf info zfs Last metadata expiration check: 1:01:26 ago on Thu Dec 15 22:42:25 2016. Installed Packages Name : zfs Arch : x86_64 Epoch : 0 Version : 0.6.5.8 Release : 1.fc25 Size : 808 k Repo : @System From repo : zfs Summary : Commands to control the kernel modules and libraries URL : http://zfsonlinux.org/ License : CDDL Description : This package contains the ZFS command line utilities. Manually install spl, dkms: ...

December 15, 2016 · 2 min · 237 words · kenno

លុបចោលសម្លេងពីឯកសារ MKV

ឥឡូវនេះខែវិច្ឆិកាហើយ ប៉ុន្តែខ្ញុំមិនទាន់បាន​សរសេរ​អត្ថបទ​មួយឡើយ។ អញ្ចឹង គួរតែ​ចាប់ផ្តើម​មួយទៅមែន​ទេ? ថ្ងៃនេះខ្ញុំចង់ចែករំលេករបៀបលុប audio track ចេញពីឯកសារ MKV ។ MKV ជា​ប្រភេទ​មួយ​នៃ​ហ្វមម៉ាត​របស់​ឯកសារ (file format) ដែល​យើង​អាច​ខ្ចប់​វីដេអូ សម្លេង និងសាប់ថាយថើល (subtitle)។ល។ ខ្ញុំមានឯកសារ MKV ដែលមានសំលេងពីរ ហ៊ីនឌី (Hindi) និងអង់គ្លេស ហើយ ខ្ញុំចង់លុបហ៊ីនឌីចេញ ដោយប្រើកុំព្យូទ័រជាមួយហ្វឺដរ៉ា (Fedora 24)។ ជាដំបូង យើងត្រូវបញ្ចូលប្រូក្រាមមួយជាមុនសិន។ # dnf install mkvtoolnix ក្រោយពីបញ្ចូលប្រូក្រាមខាងលើ យើងអាចមើលថាតើមានអ្វីខ្លះនៅក្នុងឯកសារ MKV នោះ។ $ mkvmerge -i Sample.mkv File 'Sample.mkv': container: Matroska Track ID 0: video (MPEG-4p10/AVC/h.264) Track ID 1: audio (MP3) Track ID 2: audio (AAC) Track ID 3: subtitles (SubRip/SRT) Attachment ID 1: type 'image/jpeg', size 298984 bytes, file name 'Cover.jpg' តាមលទ្ធផលខាងលើ យើងឃើញថា ឯកសារនោះមានសម្លេងពីរ Track ID 1 និង Track ID 2។ អ្វីដែលយើងមិនអាចដឹងគឺ តើធ្រាក់មួយណាជាសម្លេងភាសាហ៊ីនឌី? យើងអាចប្រើប្រូក្រាម mplayer: ...

November 15, 2016 · 2 min · 275 words · kenno

How extract 7zip file on Linux

This evening I need to extract a file with .7z extension. Guess what? I don’t know how to do that. I probably don’t even have 7zip program installed on my Fedora machine. Here’s something to remind myself how to get it working. First let’s find out what package we need to install: [root@watamem ~]# dnf search 7zip Last metadata expiration check: 3:14:50 ago on Thu Oct 20 20:39:30 2016. ================ N/S Matched: 7zip ================== p7zip-plugins.x86_64 : Additional plugins for p7zip p7zip.x86_64 : Very high compression ratio file archiver p7zip-gui.x86_64 : 7zG - 7-Zip GUI version So, it seems we need to install p7zip. ...

October 20, 2016 · 2 min · 218 words · kenno

Labeling an XFS Partition

Let’s say I have a partition as /dev/sdc1 formatted using XFS file system, and I want to give a label to it as externo. Here is one way to do it: # xfs_admin -L externo /dev/sdc1 writing all SBs new label = "externo" To read the label: # xfs_admin -l /dev/sdc1 label = "externo" Reference: HowTo Rename a XFS-Filesystem (label it)

September 29, 2016 · 1 min · 61 words · kenno