Difference between revisions of "Linux-command"

From belajarwiki
Jump to navigation Jump to search
(Created page with "Perintah update : sudo apt update Perintah copy : cp /"path awal" /"path tujuan"")
 
Line 1: Line 1:
 +
===Perintah Dasar===
 +
 
Perintah update :
 
Perintah update :
sudo apt update
+
  sudo apt update
 +
 
 +
Perintah upgrade
 +
  sudo apt upgrade
  
 
Perintah copy :
 
Perintah copy :
cp /"path awal" /"path tujuan"
+
  cp /"path awal" /"path tujuan"
 +
 
 +
 
 +
===Disable touchpad===
 +
 
 +
Cek list input
 +
  xinput list
 +
 
 +
Contoh hasilnya akan seperti ini
 +
  ⎡ Virtual core pointer                    id=2 [master pointer  (3)]
 +
⎜  ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
 +
⎜  ↳ Logitech M280/320/275                  id=9 [slave  pointer  (2)]
 +
⎜  ↳ DELL0A23:00 06CB:CDD5 Mouse            id=11 [slave  pointer  (2)]
 +
⎜  ↳ DELL0A23:00 06CB:CDD5 Touchpad          id=12 [slave  pointer  (2)]
 +
⎜  ↳ PS/2 Generic Mouse                      id=17 [slave  pointer  (2)]
 +
⎣ Virtual core keyboard                  id=3 [master keyboard (2)]
 +
    ↳ Virtual core XTEST keyboard            id=5 [slave  keyboard (3)]
 +
    ↳ Video Bus                              id=6 [slave  keyboard (3)]
 +
    ↳ Video Bus                              id=7 [slave  keyboard (3)]
 +
    ↳ Power Button                            id=8 [slave  keyboard (3)]
 +
    ↳ Integrated_Webcam_HD: Integrate        id=10 [slave  keyboard (3)]
 +
    ↳ Intel HID events                        id=13 [slave  keyboard (3)]
 +
    ↳ Intel HID 5 button array                id=14 [slave  keyboard (3)]
 +
    ↳ Dell WMI hotkeys                        id=15 [slave  keyboard (3)]
 +
    ↳ AT Translated Set 2 keyboard            id=16 [slave  keyboard (3)]
 +
    ↳ Logitech M280/320/275                  id=18 [slave  keyboard (3)]
 +
 
 +
 
 +
Cara mematikan atau menyalakan touchpad
 +
  xinput --disable 12
 +
  xinput --enable 12
 +
 
 +
 
 +
Referensi
 +
* https://askubuntu.com/questions/65951/how-to-disable-the-touchpad

Revision as of 14:26, 19 March 2021

Perintah Dasar

Perintah update :

  sudo apt update

Perintah upgrade

  sudo apt upgrade

Perintah copy :

  cp /"path awal" /"path tujuan"


Disable touchpad

Cek list input

  xinput list

Contoh hasilnya akan seperti ini

  ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]

⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech M280/320/275 id=9 [slave pointer (2)] ⎜ ↳ DELL0A23:00 06CB:CDD5 Mouse id=11 [slave pointer (2)] ⎜ ↳ DELL0A23:00 06CB:CDD5 Touchpad id=12 [slave pointer (2)] ⎜ ↳ PS/2 Generic Mouse id=17 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)]

   ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
   ↳ Video Bus                               	id=6	[slave  keyboard (3)]
   ↳ Video Bus                               	id=7	[slave  keyboard (3)]
   ↳ Power Button                            	id=8	[slave  keyboard (3)]
   ↳ Integrated_Webcam_HD: Integrate         	id=10	[slave  keyboard (3)]
   ↳ Intel HID events                        	id=13	[slave  keyboard (3)]
   ↳ Intel HID 5 button array                	id=14	[slave  keyboard (3)]
   ↳ Dell WMI hotkeys                        	id=15	[slave  keyboard (3)]
   ↳ AT Translated Set 2 keyboard            	id=16	[slave  keyboard (3)]
   ↳ Logitech M280/320/275                   	id=18	[slave  keyboard (3)]


Cara mematikan atau menyalakan touchpad

  xinput --disable 12
  xinput --enable 12


Referensi