Switch to RHEL 7.2

Lenovo ThinkCentre M91p is my dual monitor workstation in the office. It came with Windows 7 Pro when I got it years ago. Due to some sicking of dealing with stupid tools reason, I decided switch to RHEL 7.2 which more support than Ubuntu/Debian by our community.

My ThinkPad T420 still has Ubuntu 14.04 installed and works well.

This is not too much different when mainly using terminal from those linux distributions to connect to testing environment.

ReText icons with Xfce 4

ReText is a simple Markdown editor in Ubuntu. You can simply install it by issuing this:

apt-get install retext

It will install ReText 4.1.2 for you. My remote workstation is a virtual machine and using Xfce instead of Unity. And I also want to use ReText 5.3.0 from PyPI.

In both versions of ReText, if you using Xfce then you will not able to see some icons. Its default icon theme is “gnome”. Here is the commands to install and fix the icon theme issue:

<h1>install packages</h1>

sudo apt-get install python3 python3-pip python3-pyqt5 python3-pyqt5.qtwebkit python3-markups python3-markdown python3-docutils python3-enchant

<h1>install ReText via pip3</h1>

sudo pip3 install ReText

<h1>To fix the icon theme problem with Xfce</h1>

echo &quot;[General]&quot; &gt; &quot;$HOME/.config/ReText project/ReText.conf&quot;
echo &quot;iconTheme=<code>xfconf-query -c xsettings -p /Net/IconThemeName</code>&quot; &gt;&gt; &quot;$HOME/.config/ReText project/ReText.conf&quot;