블로그 이미지

키보드 미디어 컨트롤 불가 해결

2017. 10. 28. 15:46

언제부턴가 키보드 미디어 컨트롤 기능이 작동하지 않았다.

Chrome 확장 프로그램으로 설치된 Google Play Music이 media key 우선 순위를 가지고 있어서 그런 것이다.

다음 과정을 통해 해결이 가능하다.


1. 주소창에 chrome://extensions/ 입력한다.

2. 다음 그림처럼 설정을 변경한다.


블로그 이미지

'WinError 10013' Problem

2016. 10. 27. 22:48

<urlopen error [WinError 10013] 액세스 권한에 의해 숨겨진 소켓에 액세스를 시도했습니다>


방화벽에 의해 차단된 경우 발생하는 문제.

차단만 해제하면 해결.


(Ref: http://stackoverflow.com/questions/2778840/socket-error-errno-10013-an-attempt-was-made-to-access-a-socket-in-a-way-forb)

블로그 이미지

Dummy Display Driver on Linux

2016. 2. 9. 16:32

# This xorg configuration file is meant to be used

# to start a dummy X11 server.

# For details, please see:

# https://www.xpra.org/xorg.conf

# Here we setup a Virtual Display of 1920x1200 pixels


Section "Device"

    Identifier "Configured Video Device"

    Driver "dummy"

    #VideoRam 4096000

    #VideoRam 256000

    VideoRam 192000

EndSection


Section "Monitor"

    Identifier "Configured Monitor"

    HorizSync 5.0 - 1000.0

    VertRefresh 5.0 - 200.0

    Modeline "1920x1200" 193.25 1920 2056 2256 2592 1200 1203 1209 1245

    Modeline "1440x900" 106.50 1440 1528 1672 1904 900 903 909 934

EndSection


Section "Screen"

    Identifier "Default Screen"

    Monitor "Configured Monitor"

    Device "Configured Video Device"

    DefaultDepth 24

    SubSection "Display"

        Viewport 0 0

        Depth 24

        Virtual 1920 1200

    EndSubSection

EndSection


Get modeline parameters by "cvt 1920 1200" on terminal.


Ref: http://cosmolinux.no-ip.org/raconetlinux2/dummy_radeon_nvidia.html

블로그 이미지

How to Upgrade or Downgrade Linux Kernel Image on Ubuntu

2015. 8. 3. 14:19

[Ref: http://askubuntu.com/questions/331538/what-is-the-right-way-to-downgrade-kernel]


apt-cache policy linux-image-*

Also, the Tab Completion feature is very handy and you should learn to use it. Open a terminal and write

 sudo apt-get install linux-image- 

Then hit Tab key twice and read the list, can you see 3.2 kernel ?

do I need to install linux-header package too, are there more package I should install?

Every linux-image has its own linux-headers version, so it is preferable to install them too.

sudo apt-get install linux-headers- 

and use the same Tab Completion feature (as in linux-image- above) to locate the appropriate ones.

If older version is not applicable, try below command.

sudo apt-get remove linux-OLD_VERSION 


블로그 이미지

Android Build

2014. 11. 6. 12:05

Installing required packages (Ubuntu 12.04)


You will need a 64-bit version of Ubuntu. Ubuntu 12.04 is recommended. Building using an older version of Ubuntu is not supported on master or recent releases.


$ sudo apt-get install git gnupg flex bison gperf build-essential \

  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \

  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \

  libgl1-mesa-dev g++-multilib mingw32 tofrodos \

  python-markdown libxml2-utils xsltproc zlib1g-dev:i386

$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so


https://source.android.com/source/downloading.html 에서 Downloading the Android Source Tree 까지 따라한다.


https://developers.google.com/android/nexus/drivers#hammerhead 에서 3개의 .tgz 파일 다운 받고,

android source 최상위 디렉토리에 압축을 푼다. 그리고 나서 각각의 스크립트 실행.

"I ACCEPT" 로 라이센스에 동의.



$ . build/envsetup.sh


$ lunch aosp_hammerhead-eng (https://source.android.com/source/building-running.html 참고.)



$ make -j4


약 6시간 동안 빌드 진행.


boot.img 및 system.img 를 NRT 같은 툴을 이용해서 포팅하면 끝!



------

일부만 수정하고 빌드하려는 경우엔


$ . build/envsetup.sh

$ lunch aosp_hammerhead-eng


하고 나서,


해당 파트의 Android.mk가 있는 위치에서 'mm' command 활용.

또는 mmm '파트 위치'


make snod 통해 이미지를 다시 생성한다.

블로그 이미지

Perceus VNFS Commands & Pasword-less Access

2014. 11. 5. 16:12

Perceus VNFS Commands

  • Disk image mount
    • # perceus vnfs mount centos-5.7-1.stateless.x86_64

  • Installing package to disk image
    • # yum install --installroot=/mnt/centos-5.7-1.stateless.x86_64 install [packages]

  • Disk image unmount
    • # perceus vnfs umount centos-5.7-1.stateless.x86_64


  1. Update group, passwd, and shadow for VNFS image
    • mount VNFS image
    • # cd /etc
    • # cp group passwd shadow /mnt/centos-5.7-1.stateless.x86_64/etc
    • unmount VNFS image and reboot nodes


블로그 이미지

트위터 한글 깨짐 현상 해결 방법

2014. 6. 5. 10:46

Chrome의 custom.css에 아래 문장 추가하면 깔끔하게 해결된다.

* { text-rendering: auto !important; }


정정: Version Up 되면서 custom.css가 사라졌다.