Friday, May 4, 2018
Thursday, December 14, 2017
After install Lubuntu
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
PrcScr
======
sudo apt-get install pinta
vi ~/.config/openbox/lubuntu-rc.xml
<keybind key="Print">
<action name="Execute">
<command>scrot -e 'mv $f ~/Desktop/Screenshot.png'</command>
</action>
</keybind>
<keybind key="A-Print">
<action name="Execute">
<command>scrot -s -e 'mv $f ~/Desktop/Screenshot.png'</command>
</action>
</keybind>
-s := interactively select a window or rectangle with the mouse.
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
#Remote desktop client
sudo apt install remmina
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
MF4750
=======
https://www.canon.co.uk/support/consumer_products/products/fax__multifunctionals/laser/laserbase_mf_series/i-sensys_mf4750.aspx?type=drivers&language=&os=Linux%20(64-bit)
Epson LQ-300+II
===============
sudo apt-get install printer-driver-escpr
Auto Login
==========
/etc/lightdm/lightdm.conf
set autostart application
==========================
lxsession-default-apps
Hibernate
=======
sudo apt install hibernate uswsusp pm-utils
sudo pm-hibernate
sudo systemctl hibernate
https://askubuntu.com/questions/912219/ubuntu-17-04-hibernate-works-but-pm-hibernate-does-not
https://askubuntu.com/questions/292878/how-to-set-swap-in-etc-initramfs-tools-conf-d-resume-if-i-have-two-swap-partito
sudo blkid
sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=xxxxxxxxxxxxxxxx"
sudo update-grub
sudo vi /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
sudo journalctl -u systemd-hibernate.service
http://tipsonubuntu.com/2017/05/03/re-enable-hibernate-ubuntu-17-04/
https://www.freedesktop.org/software/polkit/docs/0.105/pklocalauthority.8.html
Restart LXDE desktop
===============
killall pcmanfm
pcmanfm --desktop --profile lubuntu
Disable shutdown/reboot menu icons
=======================
sudo vi /etc/polkit-1/localauthority/50-local.d/restrict-login-powermgmt.pkla
[Disable lightdm PowerMgmt]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=no
ResultInactive=no
ResultActive=no
Ref:
https://askubuntu.com/questions/453479/how-to-disable-shutdown-reboot-from-lightdm-in-14-04
Tuesday, May 24, 2011
installing lubuntu 11.04 natty narwhal
=========
The graphical installation system (Ubiquity) requires more RAM than Lubuntu needs to run.
you will also find this alternate installation method faster if you have less than 256MB RAM than using the standard install method.
Please be aware that your system may seem to 'hang' (stop) at about 90% (dpkg),
it has not; it just takes a little time (up to 90 minutes).
Ref: https://help.ubuntu.com/community/Lubuntu/Documentation/AlternateInstall
Partition
===========
http://siripong-computer-tips.blogspot.com/2011/05/partitions-type-and-sizes.html
after installing
================
sudo apt-get autoremove
sudo apt-get update && sudo apt-get upgrade
sudo apt-get -y install zenity
# For im-switch (Input Method Switcher)
Note: LXDE (Lightweight X11 Desktop Environment) is based on GTK+
Language Support
================
1. Go to Preferences --> Language Support.
You will be asked to completely install language support, do so.
2. Click on the 'Install / Remove Languages' button to pull up the list of available languages
3. .....
Ref: https://help.ubuntu.com/community/Lubuntu/Documentation/LanguageSupport
Keyboard layout switcher
========================
add this line
@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,th
to /etc/xdg/lxsession/Lubuntu/autostart
Thanks: http://kobinter.blogspot.com/2011/05/lubuntu-1104.html
Autostart applications
======================
There are two types:
1) autostarted applications go to menu -> preferences -> desktop session settings
2) Lubuntu and LXDE has some essential applications that will run everytime you start your system.
These kind of programs manage your powersettings for your laptop or netbook or draw icons on the desktop.
If you don't need these applications as you are using a desktop computer
or simply don't need desktop icons
you can disable those applications by editing the autostart script of the lubuntu session.
This file needs root rights to be modified and is located under /etc/xdg/lxsession/Lubuntu/autostart.
Ref: http://lubuntu.net/blog/lubuntu-screencast-extreme-memory-tuning
More
====
http://wiki.lxde.org/en/LXDE:Questions << FAQ (such as How do I change the hotkeys?)
http://lubuntu.net/
https://help.ubuntu.com/community/Lubuntu/Documentation
Notes
=====
The directory tree is not yet added to PCManFM itself. >> http://blog.lxde.org/?p=828
Lubuntu Control Center
======================
http://lubuntu.net/blog/lubuntu-screencast-lubuntu-control-center

