Thursday, December 14, 2017

After install Lubuntu

sudo apt-get install chromium-browser
sudo apt-get install libreoffice-writer libreoffice-calc libreoffice-impress
sudo apt-get remove gnumeric abiword pidgin
sudo apt-get install cifs-utils
sudo apt install ttf-mscorefonts-installer

sudo apt-get install pinta
vi ~/.config/openbox/lubuntu-rc.xml

    <keybind key="Print">
      <action name="Execute">
        <!-- command>lxsession-default screenshot</command -->
        <command>scrot -s '%Y-%m-%d.png' -e 'mv $f ~/Desktop/shots/ && pinta ~/Desktop/shots/$f'</command>

remote desktop
/usr/bin/x11vnc -display :0 -auth guess -no6 -forever -loop -noxdamage -repeat -rfbport 5900 -shared -nopw

mount nas
sudo apt install cifs-utils

sudo mount -t cifs -o username=name,password=pass,file_mode=0777,dir_mode=0777,iocharset=utf8 //server/sharename /mnt/directory/

sudo vi /etc/fstab
//server/sharename /mnt/directory/ cifs username=user,password=pass,file_mode=0777,dir_mode=0777,iocharset=utf8,vers=1.0 0 0

sudo mount -v -a


Epson LQ-300+II
sudo apt-get install printer-driver-escpr

Auto Login

set autostart application

Sunday, April 9, 2017

Flash Xiaomi Redmi 4X with EU Rom

- Unlock your first bootloader --

- Install ADB

- Extract the platform tool to a directory ( e.g. c:/adb)

- Download the right twrp recovery file
or Lastest Release from e.g.

- Extract the twrp.img to the platform directory (c:/adb)

- Boot your phone into fastboot mode by pressing and holding volume down

+ power key and subsequently releasing power key after some seconds.

- Connect your Xiaomi phone to your PC with the USB cable.
- Type "cd c:/adb"
- Type "fastboot devices"
and press Enter just to be sure your device is correctly recognized.

- type "fastboot boot twrp.img"
and press Enter to use the recovery without flashing it.

- change language in twrp from chinese to english

- Wipe /data partition

- Download EU Rom from
-> MIUI Weekly ROM Release

- Using Windows Explorer to Copy the ROM zip file to the MicroSD Card

- Go to Twrp and Install the rom.


Ref2: Install TWRP via Fastboot mode