0

Notepadqq on Ubuntu with Qt 5.6

Notepadqq is a Notepad++ like editor for Ubuntu.

How to install:

sudo add-apt-repository ppa:notepadqq-team/notepadqq
sudo apt-get update
sudo apt-get install notepadqq

Notepadqq shows a pop-up window saying that “you have Qt 5.2.1 but the software requires equal to or greater than 5.3” even though you have installed Qt 5.6 on your system. The problem happens because Notepadqq exe file supports up to Qt 5.5.
How to fix Qt version related issue:
0. Open /usr/bin/notepadqq
1. define two variables for Qt 5.6.
2. add the defined variables to system library path.

# add the following line
OPT_QT56=/opt/Qt/5.6/$GCC_DIR/lib
OPT_QT55=/opt/Qt/5.5/$GCC_DIR/lib
OPT_QT54=/opt/Qt/5.4/$GCC_DIR/lib
OPT_QT53=/opt/Qt/5.3/$GCC_DIR/lib
# also add the following line
PERSONAL_QT56=~/Qt/5.6/$GCC_DIR/lib
PERSONAL_QT55=~/Qt/5.5/$GCC_DIR/lib
PERSONAL_QT54=~/Qt/5.4/$GCC_DIR/lib
PERSONAL_QT53=~/Qt/5.3/$GCC_DIR/lib
# the line before update
export LD_LIBRARY_PATH="$OPT_QT55:$PERSONAL_QT55:$OPT_QT54:$PERSONAL_QT54:$OPT_QT53:$PERSONAL_QT53:${LD_LIBRARY_PATH}"
# the line after update
export LD_LIBRARY_PATH="$OPT_QT56:$PERSONAL_QT56:$OPT_QT55:$PERSONAL_QT55:$OPT_QT54:$PERSONAL_QT54:$OPT_QT53:$PERSONAL_QT53:${LD_LIBRARY_PATH}"
0

Import bookmark from SeaMonkey to FireFox

I changed my web browser from lovely SeaMonkey to FireFox. The versions are:

  • SeaMonkey: Ver. 2.31
  • FireFox: Ver. 34.0

Specifically, I used bookmarkbackup since SeaMonkey and FireFox use same format for bookmark backup.

  1. Copy latest bookmark backup from /.mozilla/seamonkey/***/bookmarkbackups/ to /.mozilla/firefox/***/bookmarkbackups/ (the file name is bookmarks-2014-12-27_689_g4xD2D4573V64kdjAYCkGQ==.jsonlz4 in my case)
  2. reboot FireFox
  3. Bookmarks -> Show All Bookmarks -> Import and Backup -> Restore and then select the latest bookmark backup