Change language-specific font in Ubuntu 18.04 not working

I recently upgraded my OS from Ubuntu 16.04 to 18.04. I’m trying to change language-specific fonts in Ubuntu 18.04. Placed a config file in /etc/fonts/conf.d/69-language-selector-fa.conf with following content and reloaded my settings. <?xml version=”1.0″?> <!DOCTYPE fontconfig SYSTEM “fonts.dtd”> <fontconfig> <match target=”pattern”> <test name=”lang” compare=”contains”> <string>fa</string> </test> <test qual=”any” name=”family”> <string>sans-serif</string> </test> <edit name=”family” mode=”prepend” binding=”strong”>…

Details

After modifying /etc/fstab, drives are still auto-mounting at boot time only

I added entries to block the partitions on an external drive (via USB) from auto-mounting at boot time. I tried using the UUIDs, and the block names (/dev/sdc1). (I need to be using the UUIDs.) UUID=xxxxxxxxxxxxxxxx /media/me/OS ntfs ro,noauto,nofail 0 0 and separately: /dev/sdc4 /media/me/OS ntfs ro,noauto,nofail 0 0 If I manually umount the partitions,…

Details

How to Block Automounting of a Specific Drive (USB connection) With ** Three Mounted Partitions **

I need to block the auto mounting of a specific external drive (USB connection, by UID) that has three different mount points (partitions)? The contents of this drive were created with ddrescue – to copy the data from a failed drive. The drive is being auto-mounted to three locations (sdc1,sdc3, sdc4), and it is being…

Details

Vim search and replace positional arguments

I am trying to replace positional arguments with variables in my bash script using Vim’s substitute :scommand. Example: I would like to replace the following text in a bash script: python3 mymodule.py –dataversion $1 with: python3 mymodule.py –dataversion “${DATAVERSION}” I have tried :s/\$1/”${DATAVERSION}” resulting in E486: Pattern not found: $1. When I search the pattern…

Details