Install Qt5.7 binary on Ubuntu 16.04
Run
sudo add-apt-repository -y ppa:beineri/opt-qt57-xenial sudo apt update sudo apt install qt-latest
Run
sudo add-apt-repository -y ppa:beineri/opt-qt57-xenial sudo apt update sudo apt install qt-latest
Since the current desktop manager of Ubuntu does not work with xRDP, an alternative desktop manager needs to be installed. In this post, we will use XFCE.
sudo apt-get install xrdp xfce4 xfce4-terminal gnome-icon-theme-full tango-icon-theme
First, create an .xsession
file in the home directory.
echo xfce4-session >~/.xsession
Then edit the startup file for xRDP /etc/xrdp/startwm.sh
.
In this post, I will explain how to automatically mount your cloud folder with WebDAV. I will use GMX storage as an example (https://storage-file-eu.gmx.com/).
Besides the suggested base dependencies, also install libpcsclite-dev
sudo apt install libpcsclite-dev cmake -DWITH_PCSC=ON -DWITH_SSE2=ON .
Then follow the Build section in the compilation instruction.
Install Apache2
Download and unzip the brat v1.3
Move the folder to /var/www/brat
In /var/www/brat
run ‘./install’. Follow the instruction to set username, password and email.
After upgrading to Xubuntu 16.04, I found that the dropbox icon stopped working. The icon is black with a red slashed zero. I cannot click on it to bring up the dropbox menu.
The reason is that Dropbox starts to use “indicator area” for their tray icon instead of “notification area”. The problem can be fixed by running
$ dropbox stop && DBUS_SESSION_BUS_ADDRESS="" dropbox start
or
$ dropbox stop && dbus-launch dropbox start
I am working on my paper which needs a piece of XML to syntax highlighted. I’ve found Sublime with “Copy as RTF” plugins is useful, but as a programmer I prefer something that being done via commend line, and more importantly being easily customizable.
So I did a some searches and came across highlight. To install it on Ubuntu is quite simple
sudo apt-get install highlight
Then I can use highlight to convert the XML file to RTF and copy it to the paper I am working on.
git-meld is a git command that allows you to compare and edit treeishs between revisions using meld or any other diff tool that supports directory comparison. git meld is a frontend to git diff and accepts the same options and arguments.
It is essentially an extended git-difftool for tools that support comparing directories rather than having git call the external tool for every file that has changed.
[SmartGit] is a graphical Git and Mercurial client. It runs on Linux, Mac OS X (10.5 or newer) and Windows (XP or newer).
sudo add-apt-repository ppa:eugenesan/ppa sudo apt-get update sudo apt-get install smartgithg
If you often type the wrong command (or repeat the simmilar commends) under bash shell (like me), you may need to read this post:
cp file1.txt /path/to/dst cp file1.a1 /path/to/dst cp file1.a2 /path/to/dst
How do I replace .txt
with a1
and a2
and repeat the last command? The syntax is as follows for quick substitution and repeat the last command, replacing WORD1
with WORD2
: