Category: Office

  • 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;
    
  • Got a 13-inch MBPr

    Last week, I got a brand new MBPr as my primary workstation provided by company. Here is its spec.:

    13-inch MBPrSpec
    13-inch MBPrSpec
  • Tray icons missing after upgrade from 12.04 to 14.04

    Our Ubuntu workstation is required some applications installed for complying security policy. Those applications will show some icons on Systray. After upgrade from 12.04 to 14.04, those icons are missing.

    The reason is “Unity Notification Area (Systray) Whitelist Is Obsolete [Ubuntu 13.04 Raring Ringtail Changes]“. After a little bit searching, here is the solution:

    sudo apt-get install indicator-systemtray-unity

    Then log out and log in again.

    Reference: How to re-enable the systray (indicator panel) after latest updates

  • Update to new version of Skype

    4.2.0.13 on can not connect anymore, need to update to 4.3.0.37

  • Use nc(netcat) to check the DataPower service ports

    To check the SSH service (default port 22):

    nc -z $IP 22

    To check the XML Management Interface (default port 5550):

    nc -z $IP 5550

    To check the SNMP (UDP port 161):

    nc -zu $IP 161

    If connection is successful, it will report a message like:

    Connection to $IP 22 port [tcp/ssh] succeeded!

    and exit with 0.

    Reference: nc(1) – Linux man page