Rotasi Layar di Linux Mint (& Ubuntu)

xrandr -q

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366×768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366×768 60.1*+
1360×768 59.8 60.0
1024×768 60.0
800×600 60.3 56.2
640×480 59.9
VGA2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Cari port yang connected (LVDS1 bisa disesuaikan sesuai monitor Anda)

lalu, silahkan ketik di terminal mode yang diinginkan:

xrandr –output LVDS1 –rotate right
xrandr –output LVDS1 –rotate left
xrandr –output LVDS1 –rotate inverted
xrandr –output LVDS1 –rotate normal

Supaya script tsb dieksekusi tiap kali startup (autorun), maka:

Buka menu – preferences – startup applications :

klik new, ketik di kolom command, misal xrandr –output VGA-0 –rotate inverted

Source:

Rotating screen in Ubuntu and Linux Mint

Advertisements

Create Virtual Hosts in LAMPP

virtualhost

Berikut langkahnya:

1. Ketikkan di terminal :

sudo gedit /opt/lampp/etc/extra/httpd-vhosts.conf

duplikat contoh script virtual host yang ada dan sesuaikan :

< VirtualHost *:80 >
ServerAdmin webmaster@cmsuin.edu
DocumentRoot "/opt/lampp/htdocs/cmsuin"
ServerName cmsuin.edu
ServerAlias www.cmsuin.edu
ErrorLog "logs/cmsuin.edu-error_log"
CustomLog "logs/cmsuin.edu-access_log" common
< / VirtualHost >

Continue reading

Setting Rapoo A3060 and Detect It As Device Bluetooth Audio in Ubuntu

  1. Search device bluetooth Anda dan bila ada permintaan masukkan pin pairing, ketik:
    Sandi default adalah 0000 atau 1234. (sumber: http://www.rapoo.com/FaultHelp.aspx)
  2. Kemudian lihat di control audio jika belum detek sound bluetooth Anda, caranya:
    pulseaudio -k   ketik di terminal command
    (sumber: http://askubuntu.com/questions/372071/bluetooth-device-paired-and-connected-no-sound)
  3. Silahkan cek kembali device audio pilihan Anda, mudah kan?

RAPOO_bluetooth_speaker

sumber gambar:

http://www.itconnectlive.com/wp-content/uploads/2013/05/RAPOO_bluetooth_speaker.jpg