<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Desktop &#8211; Yuanle&#039;s Blog</title>
	<atom:link href="https://blog2.emacsos.com/category/linux-desktop/feed" rel="self" type="application/rss+xml" />
	<link>https://blog2.emacsos.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 May 2025 08:28:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog2.emacsos.com/wp-content/uploads/2025/05/favicon-150x150.png</url>
	<title>Linux Desktop &#8211; Yuanle&#039;s Blog</title>
	<link>https://blog2.emacsos.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Intel AX200 bluetooth and wifi suddenly not working in Linux GNOME</title>
		<link>https://blog2.emacsos.com/fix-intel-ax200-bluetooth.html</link>
		
		<dc:creator><![CDATA[sylecn]]></dc:creator>
		<pubDate>Sun, 04 May 2025 04:36:46 +0000</pubDate>
				<category><![CDATA[Linux Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tip]]></category>
		<guid isPermaLink="false">https://blog2.emacsos.com/?p=14</guid>

					<description><![CDATA[Symptom You can&#8217;t toggle bluetooth on/off in GNOME applets. rfkill list show bluetooth is not blocked. bluetoothctl list show empty [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Symptom</h2>



<p>You can&#8217;t toggle bluetooth on/off in GNOME applets.</p>



<p><code>rfkill list</code> show bluetooth is not blocked.</p>



<p><code>bluetoothctl list</code> show empty bluetooth controller list.</p>



<h2 class="wp-block-heading">Solution</h2>



<pre class="wp-block-code"><code>sudo modprobe -r btusb<br>sudo modprobe btusb</code></pre>



<p>This will unload and reload btusb module, which may be able to fix the issue.</p>



<p>ref: <a href="https://bbs.archlinux.org/viewtopic.php?id=272643">[SOLVED] No bluetooth adaptater on AX200 / Kernel &amp; Hardware / Arch Linux Forums</a></p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>The Units Tool in Linux</title>
		<link>https://blog2.emacsos.com/the-units-tool.html</link>
		
		<dc:creator><![CDATA[sylecn]]></dc:creator>
		<pubDate>Sun, 23 Oct 2016 10:14:00 +0000</pubDate>
				<category><![CDATA[Linux Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tool]]></category>
		<guid isPermaLink="false">https://blog2.emacsos.com/?p=59</guid>

					<description><![CDATA[GNU Units can be used for many things. It is such a useful tool that I always install it on all [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.gnu.org/software/units/">GNU Units</a> can be used for many things. It is such a useful tool that I always install it on all Linux nodes.</p>



<p>Here is how I use it:</p>



<p>Convert network speed. ISPs and network device use <em>bit per second</em>, downloaders usually use <em>byte per second</em>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units 1000Mbps MiB/s
; 119.21 MiB/s
units 100Mbps MiB/s
; 11.92 MiB/s
units 20Mbps MiB/s
; 2.38 MiB/s
units 4Mbps KiB/s
; 488 KiB/s
</pre></div>


<p>Calculate average download speed</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units 800MiB/25min KiB/s
; 546.1 KiB/s
</pre></div>


<p>Convert hard drive space. Operating systems show GiB/TiB, while vendors use GB/TB.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units 1TB GiB
; 931.3 GiB
units 2TB GiB
; 1862.6 GiB
</pre></div>


<p>You can do calculation too. For example, if you have 24 16TB disks. Each data is stored in 3 replicas. At 80% capacity, you may store up to</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
units 16TB*24/3*0.8 TiB
; 93.13 TiB
</pre></div>


<p>Do time calculations</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units &#039;2 hour + 34 min + 1 day&#039;
; 95640 s
units &#039;2 hour + 34 min + 1 day&#039; hour
; 26.6 hour
units 8mo weeks
; 34.8 weeks
</pre></div>


<p>Convert between tps and maximum possible total request per day</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units 132tps req/day
; 11404800 req/day
units 132tps million*req/day
; 11.4 million*req/day
</pre></div>


<p>Convert between (single node) tps and average response time</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units 132tps ms/req
; 7.5 ms/req
</pre></div>


<p>Convert foreign currency to local currency</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
units 39.99hkd usd
; 5.1 usd

units 500hkd/mo usd/year
; 765 usd/year
</pre></div>


<p>You may have notice some units are not built-in. Units allow you to define your own units very easily. Here is my <code>~/.units</code> file:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
word    !
words   1 word

rmb     !
cny     rmb
RMB     rmb
hkd     0.9393 rmb
aud     4.6608 rmb
usd     7.2959 rmb
eur     8.266 rmb
euro    eur
gbp     9.7282 rmb
GBp     0.01gbp
jpy     0.050583 rmb
sgd     5.5781 rmb
s$      sgd
inr     0.081919 rmb
rs      inr
mvr     0.4637 rmb
laari   0.01 mvr

request !
req     request
r       request
tps     req/s

BTC     64219 usd
bitcoin 1 BTC
btc     BTC

ETH     3490 usd
Ether    1 ETH
Ethereum 1 ETH
eth      ETH

# units 0K tempC
# units 0K tempF

core    !

jin     0.5kg

char    !

share   !

w       10000
yi      100000000

tx      !
transaction   tx
trans   tx

kwh     1000*watt*hour

</pre></div>


<p>You can define basic unit by using &#8216;!&#8217;, you can define unit alias, you can define conversion. See&nbsp;<code>man units</code>&nbsp;for more information.</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Software that I use in Linux</title>
		<link>https://blog2.emacsos.com/linux-software.html</link>
		
		<dc:creator><![CDATA[sylecn]]></dc:creator>
		<pubDate>Sat, 23 Jul 2016 13:03:21 +0000</pubDate>
				<category><![CDATA[Linux Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[list]]></category>
		<guid isPermaLink="false">https://blog2.emacsos.com/?p=22</guid>

					<description><![CDATA[Updated On: 2016-10-23, 2025-05-05 Here are software that I use often in Linux. General name area my rate my remarks [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Updated On: 2016-10-23, 2025-05-05</p>



<p>Here are software that I use often in Linux.</p>



<h2 class="wp-block-heading">General</h2>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>name</th><th>area</th><th>my rate</th><th>my remarks</th></tr></thead><tbody><tr><td>Firefox</td><td>browser</td><td>great</td><td>It may not be as fast as Chrome, but I like the option and prefer using it than Chrome. Also, Firefox Sync works inside China. Chrome web store and syncing requires extra effort in China.</td></tr><tr><td>Google Chrome</td><td>browser</td><td>great</td><td>A great browser. The device mode is much more accurate than Firefox&#8217;s Responsive Design View. Overall a nice browser.</td></tr><tr><td><a href="https://mpv.io/" target="_blank" rel="noreferrer noopener">mpv</a></td><td>media player</td><td>great</td><td>Best video player with Dolby Vision support. Support both mouse and keyboard controls.</td></tr><tr><td><a href="https://www.videolan.org/vlc/" target="_blank" rel="noreferrer noopener">VLC</a></td><td>media player</td><td>good</td><td>Cross-platform video player. GUI and settings are boring and not intuitive. Bad support for Dolby Vision.</td></tr><tr><td>Audacious</td><td>music player</td><td>good</td><td>Easy to use.</td></tr><tr><td>transmission</td><td>download</td><td>great</td><td>A reliable BitTorrent client. Intuitive UI. Also supports running on a server. 4.x is a great release that brings many improvements.</td></tr><tr><td>GIMP</td><td>image editing</td><td>good</td><td>Enough features for many use cases. UI is fine too once you get used to it.</td></tr><tr><td>ImageMagick</td><td>image processing</td><td>good</td><td>Convert image formats and resize images.</td></tr><tr><td>7-zip</td><td>archive</td><td>great</td><td>Easy to use.</td></tr><tr><td><a href="https://kodi.tv/" target="_blank" rel="noreferrer noopener">Kodi (XBMC)</a></td><td>media center</td><td>good</td><td>Like Windows Media Center. Good for home theater. Some plugins are nice. Online programs is not fast in China though.</td></tr><tr><td><a href="https://www.gnu.org/software/units/" target="_blank" rel="noreferrer noopener">GNU Units</a></td><td>unit conversion</td><td>great</td><td>A very useful tool. You may check&nbsp;<a href="/the-units-tool.html" target="_blank" rel="noreferrer noopener">the Units Tool in Linux</a>.</td></tr><tr><td>gThumb</td><td>photo viewer</td><td>good</td><td>Boring and works.</td></tr><tr><td>DigiKam</td><td>photo manager</td><td>average</td><td>Have great potential. But in current state, it is not top class.</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Programming</h2>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>name</th><th>area</th><th>my rate</th><th>my remarks</th></tr></thead><tbody><tr><td>Emacs</td><td>editor</td><td>great</td><td>Like any good editor, it&#8217;s great once you get used to it.</td></tr><tr><td>git</td><td>version control system</td><td>great</td><td>Good for all textual files, not just for programming.</td></tr><tr><td>bugzilla</td><td>bug tracking</td><td>good</td><td>Battle tested. Excellent backward compatibility and long term maintenance. Who wants to upgrade a BTS every month?</td></tr><tr><td>Jenkins</td><td>continuous integration</td><td>good</td><td>Gets the job done. Remember to config git hooks to trigger a build automatically.</td></tr><tr><td><a href="https://www.gocd.org/" target="_blank" rel="noreferrer noopener">GoCD</a></td><td>continuous delivery</td><td>great</td><td>Manage your CD pipelines. Pipeline templates are useful. Build agents are flexible.</td></tr><tr><td><a href="https://ipython.org/" target="_blank" rel="noreferrer noopener">ipython</a>&nbsp;with&nbsp;<a href="https://pandas.pydata.org/" target="_blank" rel="noreferrer noopener">pandas</a></td><td>data processing</td><td>great</td><td>Dealing with data and plot is so much easier and pleasant.</td></tr><tr><td>postgres</td><td>database</td><td>great</td><td>When you need data safety.</td></tr><tr><td>redis</td><td>cache</td><td>great</td><td>When you need cache or a fast non-critical database.</td></tr><tr><td>sqlite3</td><td>database</td><td>great</td><td>I still use it sometimes when postgres is not available.</td></tr><tr><td><a href="https://www.visual-paradigm.com/" target="_blank" rel="noreferrer noopener">vpuml</a></td><td>UML diagram</td><td>good</td><td>The best UML diagram tool I have used. This is not free software though.</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">System</h2>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>name</th><th>area</th><th>my rate</th><th>my remarks</th></tr></thead><tbody><tr><td>Debian</td><td>operating system</td><td>great</td><td>Just use Debian stable, end of story.</td></tr><tr><td>gnome-terminal</td><td>terminal</td><td>great</td><td>Boring and works.</td></tr><tr><td>konsole</td><td>terminal</td><td>great</td><td>Boring and works.</td></tr><tr><td><a href="https://www.virtualbox.org/" target="_blank" rel="noreferrer noopener">VirtualBox</a></td><td>virtualization</td><td>great</td><td>Easy to use GUI. Acceptable performance. Well maintained.</td></tr><tr><td>clash</td><td>network</td><td>good</td><td>Not as stable as v2ray core or ss. But the rule engine is much easier to use.</td></tr><tr><td>gpg</td><td>sign and encryption</td><td>good</td><td>Secure. Integrates well in Emacs. Arcane to use in the command line.</td></tr><tr><td>ssh + tmux</td><td>sysadmin</td><td>great</td><td>Remote system administration should always run in screen or tmux.</td></tr><tr><td>rsync</td><td>network</td><td>great</td><td>All around good backup tool. I have a backup system based on rsync.</td></tr><tr><td>Syncthing</td><td>file syncing</td><td>good</td><td>Generally works well. May require manual intervention when synchronization stalls or file conflicts occur.</td></tr><tr><td>ffmpeg</td><td>media converter</td><td>great</td><td>Very capable video converter.</td></tr><tr><td>aria2</td><td>download</td><td>good</td><td>I use it when I want to use more than 1 thread to download from a single source. Otherwise, I use wget.</td></tr><tr><td>mutt</td><td>mail reading</td><td>good</td><td>Used when reading mail on a server. Yes, I agree all mail client s**ks.</td></tr><tr><td>salt</td><td>configuration manager</td><td>great</td><td>So much better than puppet. I use it to manage both workstation and servers.</td></tr><tr><td>parted/gparted</td><td>partition tool</td><td>good</td><td>Easy to use.</td></tr><tr><td>clonezilla</td><td>disk tool</td><td>good</td><td>When I want to do nasty things on partition, this is very useful.</td></tr><tr><td>lftp</td><td>ftp client</td><td>good</td><td>Supports ftp and sftp well. Support mirror a dir recursively, both for upload and download.</td></tr><tr><td>zerotier</td><td>network</td><td>good</td><td>Create a secure virtual LAN that connects all your devices.</td></tr><tr><td>wireshark</td><td>network</td><td>good</td><td>Capture and analyze network packets</td></tr><tr><td>CUPS</td><td>printing</td><td>good</td><td>Support printers.</td></tr><tr><td><a href="http://omdistro.org/" target="_blank" rel="noreferrer noopener">OMD, CheckMK</a></td><td>monitoring</td><td>good</td><td>A monitoring solution based on nagios and check_mk.</td></tr><tr><td>smokeping</td><td>network</td><td>great</td><td>Monitor network quality. It records packet lose and latency and plot graphs on them.</td></tr><tr><td>remmina</td><td>network</td><td>great</td><td>Support Remote Desktop and VNC.</td></tr><tr><td>qrencode</td><td>graphic</td><td>great</td><td>Generate QR code easily.</td></tr><tr><td>nginx</td><td>network</td><td>great</td><td>My go-to web server and reverse proxy server.</td></tr><tr><td>samba</td><td>network</td><td>great</td><td>Sharing files to Windows and android clients. User document is not as nice. But once you get it, it gets the job done.</td></tr><tr><td><a href="https://letsencrypt.org/" target="_blank" rel="noreferrer noopener">letsencrypt</a>&nbsp;w/&nbsp;<a href="https://acme.sh" target="_blank" rel="noreferrer noopener">acme.sh</a></td><td>network</td><td>good</td><td>Free SSL certs for HTTPS websites.</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Office</h2>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>name</th><th>area</th><th>my rate</th><th>my remarks</th></tr></thead><tbody><tr><td>ibus</td><td>input method</td><td>good</td><td>Typing for non-English language. Boring and works.</td></tr><tr><td><a href="https://github.com/iDvel/rime-ice" target="_blank" rel="noreferrer noopener">rime-ice</a></td><td>input method</td><td>great</td><td>雾凇拼音. A well maintained Chinese word table and input method for use with rime input method.</td></tr><tr><td>abiword</td><td>office</td><td>good</td><td>When I want to do simple typesetting (page size, title indentation etc)</td></tr><tr><td>gnumeric</td><td>office</td><td>good</td><td>Gets the job done. Typing and cell/row resizing is not as good as MS Excel.</td></tr><tr><td>LibreOffice</td><td>office</td><td>average</td><td>Used when I need to open MS Office files, but don&#8217;t have access to MS Office. After all these years, LibreOffice usability is still BAD.</td></tr><tr><td>scribus</td><td>publishing</td><td>good</td><td>When layout is important and have to be controlled precisely, I use it.</td></tr><tr><td>GnuCash</td><td>finance</td><td>good</td><td>A good UI and feature set.</td></tr><tr><td>hledger</td><td>finance</td><td>average</td><td>Used this when GnuCash failed to run. I don&#8217;t like the concepts.</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Old</h2>



<p>Software that I have used before, but no longer use it now.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>name</th><th>area</th><th>my rate</th><th>my remarks</th></tr></thead><tbody><tr><td>rxvt-unicode</td><td>terminal</td><td>great</td><td>Boring and works.</td></tr><tr><td>v2ray</td><td>network</td><td>good</td><td>v2ray core is stable and support many protocols. Configuration is verbose though.</td></tr><tr><td>shadowsocks</td><td>network</td><td>great</td><td>Easy to config, easy to use. Connects you to the real internet in China.</td></tr><tr><td>trac</td><td>bug tracking</td><td>good</td><td>The default theme/design is too bad to look at daily.</td></tr><tr><td>Octave</td><td>math and engineering</td><td>good</td><td>Rarely used nowadays because python has a better toolset for calculation and drawing.</td></tr><tr><td>Vuze (was Azureus)</td><td>download</td><td>good</td><td>When I was using it, it&#8217;s good. It became bloated when I stopped using it.</td></tr><tr><td>mplayer</td><td>media player</td><td>good</td><td>Distribution for debian is poor. Compile it from source requires too many dependencies for my needs. Sometimes I got glitches or crash when rewind some video.</td></tr><tr><td>texlive</td><td>publishing</td><td>good</td><td>Used when I want to write something serious or when I&#8217;m bored and want to learn tex. I get less bored nowadays.</td></tr><tr><td>amarok</td><td>music player</td><td>good</td><td>I have used this player when I was using KDE in the early days. It&#8217;s not bad.</td></tr><tr><td>k3b</td><td>CD burner</td><td>good</td><td>Since I don&#8217;t burn CDs anymore. I no longer use it.</td></tr><tr><td>geany</td><td>editor</td><td>good</td><td>a lightweight editor I have used in the early days.</td></tr><tr><td>i3 (i3-wm)</td><td>window manager</td><td>good</td><td>Customization could be improved. Current feature set is good enough.</td></tr><tr><td>openbox</td><td>window manager</td><td>great</td><td>Before I get used to i3wm, this is what I use. Openbox with clearlooks view is nice.</td></tr><tr><td>openvpn</td><td>network</td><td>good</td><td>Good VPN software. Now replaced by wireguard.</td></tr><tr><td><a href="https://filezilla-project.org/" target="_blank" rel="noreferrer noopener">filezilla</a></td><td>download</td><td>good</td><td>FTP client with GUI.</td></tr><tr><td>vagrant</td><td>programming</td><td>good</td><td>local VM orchestration tool. Nowadays I use salt to manage everything, vagrant doesn&#8217;t provide much value. Vagrant official box is not always good.</td></tr><tr><td>scim</td><td>input method</td><td>good</td><td>For some reason, in wheezy, scim-pinyin package is removed. That&#8217;s why I switched to ibus. Both SCIM and ibus is usable. But neither has great documentation.</td></tr></tbody></table></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
