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

PrcScr
======
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>
      </action>


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

https://help.ubuntu.com/community/VNC/Servers


mount nas
========
sudo apt-get 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,sec=ntlm 0 0



MF4750
=======
https://wiki.debian.org/PrinterDriver/Canon/UFR-II

sudo dpkg -i cndrvcups-common_3.60-1_i386.deb cndrvcups-ufr2-uk_3.20-1_i386.deb
sudo apt-get install -f


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


Auto Login
==========
/etc/lightdm/lightdm.conf


set autostart application
==========================
lxsession-default-apps