os/Linux 2017. 5. 17. 11:35


do -i
apt-get install lubuntu-core
apt-get dist-upgrade
apt-get autoclean
rm /var/cache/apt/archives/*.deb
reboot


출처: http://cskimair.tistory.com/283 [linux(ubuntu)_windows multi programming]


#우분투_최소_설치   #linux_minimum_installation

do -i
apt-get install lubuntu-core
apt-get dist-upgrade
apt-get autoclean
rm /var/cache/apt/archives/*.deb
reboot


출처: http://cskimair.tistory.com/283 [linux(ubuntu)_windows multi programming]

sudo apt-get update  && sudo apt-get upgrade


sudo apt-get --no-install-recommends lubuntu-core


- automatic login

>/etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-user=<YOUR USER>
autologin-user-timeout=0
# Check https://bugs.launchpad.net/lightdm/+bug/854261 before setting a timeout
user-session=Lubuntu
greeter-session=lightdm-gtk-greeter

*. https://help.ubuntu.com/community/Lubuntu/Boot_Install_Login#For_release_12.04_and_on_.28LightDM.29



- How I can autostart a program when logging into Desktop



- boot delay reducing and no kernel message displaying

/etc/default/grub

sudo update grub


# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
#GRUB_TIMEOUT=2
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX_DEFAULT=quiet
#GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="console=tty12"



- ubuntu static ip address setting

https://www.manualfactory.net/10108

# The primary network interface
auto enp0s3
iface enp0s3 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
dns-nameservers xxx.xxx.xxx.xxx

- network restart

systemctl restart networking.service

- set default application in LX session

$/.config/lxsession/Lubuntu/autostart

> sudo apt-get install lxsession-

default-apps


- how to ignore EDID value 

Firstly, note that EDID refers to "Extended display identification data" (see wikipedia). This is the information that the monitor sends to the PC about itself -- notably including a list of acceptable resolutions.

The error message means: communication between monitor and PC is not working very well, and the EDID information package was not received properly. This will not stop you working; however, sometimes you may find that your computer falls back to a "safe" (and not very sexy) resolution like 800x600, or worse.

The usual cause is: long, low-quality VGA cables used for high-resolution monitors. You may also be seeing some ghosting on your monitor (unsharp image, looks like it's been wiped out a little, usually to the right). Solution: use DVI or DisplayPort instead (or the royalty-paid alternative: HDMI). For the time being, consider switching to a lower resolution.

The error does also happen with laptops, in which case you may want to get the PC <-> Monitor connection (internal to the laptop) looked at by an engineer.

If you are happy with your monitor, and just want the error message to bugger off, try something like this in your /etc/X11/xorg.conf.d:

try something lik in /etc/X11/xorg.conf.d

Option "IgnoreEDID" "1"
Modes "1152X864" "1024X768" "800x600"

https://forums.opensuse.org/showthread.php/488559-Solved-*ERROR*-EDID-checksum-is-invalid-remainder-is-N


- touchscreen in multiple monitors


root@lotto:~/os-setting# cat ../xinput.txt
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ 2.4G Dongle                               id=10   [slave  pointer  (2)]
⎜   ↳ 2.4G Dongle                               id=11   [slave  pointer  (2)]
⎜   ↳ ILITEK Multi-Touch-V5000                  id=12   [slave  pointer  (2)]
⎜   ↳ ILITEK Multi-Touch-V5000                  id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ 3.4G Dongle                               id=9    [slave  keyboard (3)]

xinput map-to-output 12 eDP1
root@lotto:~# xinput_calibrator --geometry 1024x768
Warning: multiple calibratable devices found, calibrating last one (ILITEK Multi   -Touch-V5000)
        use --device to select another one.
Calibrating EVDEV driver for "ILITEK Multi-Touch-V5000" id=13
        current calibration values (from XInput): min_x=1, max_x=16384 and min_y   =1, max_y=9600

Doing dynamic recalibration:
        Setting calibration data: 50, 16615, -50, 9657
        --> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/s   hare/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ILITEK Multi-Touch-V5000"
        Option  "Calibration"   "50 16615 -50 9657"
        Option  "SwapAxes"      "0"
EndSection
root@lotto:~#



-dual monitor setting in ubuntu

root@lotto:~/os-setting# cat   /root/dual-monitor.sh
xrandr  --output eDP1 --primary  --mode 1024x768 --output VGA1 --mode 1024x768  --right-of eDP1

xinput  map-to-output  12 eDP1
root@lotto:~/os-setting#
 




- touchscreen setting in /usr/share/X11/xorg.conf.d/99-calibration.conf

root@lotto:~/os-setting# cat   /usr/share/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ILITEK Multi-Touch-V5000"
        Option  "Calibration"   "57 16442 -9 9724"
        Option  "SwapAxes"      "0"
EndSection
# Touch screen setting
# xinput  map-to-output  12 eDP1
# xinput_calibrator --device  12
root@lotto:~/os-setting#


- autostart file setting

root@lotto:~/os-setting# cat  /root/.config/lxsession/Lubuntu/autostart
#@xset -dpms
#@xset s off
#/root/xset-cmd.sh
#/root/reboot.sh
/root/dual-monitor.sh
/home/kct/Young/lotto/Lotto_TP
 


- grub setting for no kernel messages

root@lotto:~/os-setting# cat  /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
#GRUB_TIMEOUT=2
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
root@lotto:~/os-setting#




- apt-get 설치 목록

 
    1  sudo apt-get update   && sudo apt-get -y upgrade  &&  reboot
    2  sudo apt-get --help
    3  man apt-get
    9  sudo apt-get --no-install-recommends install lubuntu-desktop


- install power manager program

sudo apt-get install  xfce4-power-manager


root@lotto:~/os-setting# history | grep apt-get
  602  sudo apt-get install xscreensaver
  633  sudo apt-get install light-locker-setting
  634  sudo apt-get install light-locker-settings
  667  history  |  grep apt-get
  668  sudo apt-get purge xscreensaver
  669  sudo apt-get   autoremove
  673  sudo apt-get install vbetool
  748  sudo   apt-get install  xinput_calibrator
  753  sudo   apt-get install  xinput_calibrator
  754  sudo   apt-get install  xinput-calibrator
  761  sudo   apt-get install  xinput-calibrator
  768  sudo   apt-get install  xinput-calibrator
  769  sudo apt-get install bum



https://help.ubuntu.com/community/Lubuntu/Documentation/MinimalInstall


 


picto_welcome.png  Welcome   

picto_download.png  Get Lubuntu   

picto_help.png  Documentation   

picto_contact.png  Get Help   


Introduction

Most people can install Lubuntu using the graphical or alternate installationmethod. For very old computers, down to 128MB of RAM, a minimal install (with additions later) is the way to go. Please note that the minimal installation method is more difficult than others; if you can possibly manage it, please use the graphical or alternate installers.

This area also covers times when you may wish to install just the core Lubuntu system and add on your own applications.

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). The lowest specification that we have seen working is a Pentium 2 with 64MB of RAM using the Lubuntu core. However, don't expect to use Lubuntu daily on a very old and low resources systems like Pentium 2 with 64MB - this is more like an experiment rather than production example.

For non-PAE processors we recommend using the Force-PAE or Lubuntu-fake-PAEmethod to install.

If you want Lubuntu setup automatically, or don't have an internet connection, please use the graphical or alternate installation .


Full install, minimal install or core install?

A full install includes all the packages which are shipped by default with the standard Lubuntu installation; such as web browsers, mail clients and office programs. Lubuntu minimal and core contains a more stripped-down graphical environment.

To make a more educated decision to determine which you want to install, you can check the links in the table below.

Release

lubuntu-core

lubuntu-desktop

16.10 Yakkety Yak

Yakkety Core

Yakkety Desktop

16.04 Xenial Xerus

Xenial Core

Xenial Desktop

14.04 Trusty Tahr

Trusty Core

Trusty Desktop


Downloading

Firstly you need to download the minimal Ubuntu ISO; click on the version you want from the table below.

64-bit PC (amd64, x86_64) (Recommended)

32-bit PC (i386, x86)

64-bit PowerPC (ppc64)**

32-bit PowerPC (ppc)**

** Unofficial port, unsupported by Canonical


Method

Install (13.10 and later)

This is the default alternative at the top of the menu, and it works well in 14.04, if you want want Lubuntu or Lubuntu Core. If you have extremely low memory, you should use the command line install. The whole installation is within a text mode wizard type interface, when run from CD/DVD, and there is a brief check in a second text mode screen, when run from a USB drive. [See USB].

The install media

USB

If you are using a USB device to install the system, follow the USB Guide

  • Unlike other iso images available on this site, older versions of the mini.iso do not work from USB drives, but you can make a working USB install drive with the dd cloning method with the mini.iso version 13.04+. See this link and this tutorial.

Optical media

If you are using a CD/DVD, follow the CD Guide

Method (continued)

After succeeding with either, follow these instructions: 

  1. You need a wired Ethernet connection
  2. At the "boot:" prompt, press the Enter key.
  3. Select "Install" or "Command Line Install".
  4. Select your language & country/territory.

  5. Detect your keyboard layout (you will be asked to press some keys.)
  6. Specify hostname for your system (for use on the network.)
  7. Choose your archive mirror for downloading the base system from.
  8. Partitioning - Most will simply want 'Guided - use entire disk'. [See note 2] for other options.

  9. Updates - Select 'No Automatic Updates' [See note 3].

  10. Let it install GRUB onto the disk. [See USB].

Other than that, just answer the questions as you are asked.


Command Line Install: 12.04 and later

Once you have the minimal install running and have signed in you can add the Lubuntu part to it.

These instructions are for Lubuntu 12.04 and later, 32 bit/ 64 bit / PPC . You will be using sudo, please take the time to read About sudo. Be very careful, using sudo turns off the final layer of protection that prevents you from completely destroying your system. If you are in any doubt, please do ask via our Contact Us section.

For the full desktop installation use:

sudo -i
apt-get install lubuntu-desktop
apt-get dist-upgrade
apt-get autoclean
rm /var/cache/apt/archives/*.deb
reboot

For the Lubuntu core installation use:

sudo -i
apt-get install lubuntu-core
apt-get dist-upgrade
apt-get autoclean
rm /var/cache/apt/archives/*.deb
reboot



posted by cskimair
: