Linux2012. 10. 13. 23:06
QT 라이브러리를 이용하므로 KDE 런타임 라이브러리가 필요하고
복합기 스캐너를 이용하기 위해 sane 이 필요하지만... sane 깔아도 인식을 못하니 대충 패스

$ sudo apt-get install kde-runtime sane
이후에

$ cd cdroot
$ sudo ./autorun 


자동 실행되면 아래와 같은 다이얼로그가 뜨는데 


머 항상 그러하듯 체크 - Next


sane 패키지 깔아도 뜨니 그냥 Install Anyway - Next


멀 해야 할지 모르겠으면 Select All을 해주는 센스~


귀찮으면 Next


알아서 잘 깜 ㅋㅋ


깔다보면 CUPS 해야 한다고 징징징


아무튼 설치된 녀석을 알아서 인식하니 Next


장치에 맞게 선택해주고(자동으로 잡히는 듯)


귀찮으면 그냥 Next(Location / Description은 옵션)


그러면 설치가 다 되었으니 Finish를 해도 되지만 
정말 되었나 확인을 해야하니 Test Printer를 눌러줌


그냥 Start


윈도우 비스므리 하게 나오면 OK 눌러주고 출력되면 문제없음!


Close눌러주고


등록은 무슨 등록이야 그냥 체크 끄고 Finish!


'Linux' 카테고리의 다른 글

fstab 필드 항목 내용  (0) 2013.05.24
원하는 cpu에서 프로세스 실행하기 (리눅스)  (0) 2013.03.18
삼성 프린터 리눅스 드라이버 설치하기  (0) 2012.09.25
리눅스 배포판 확인하기  (0) 2012.07.28
ioctl()  (0) 2012.07.27
Posted by 구차니
Linux2012. 9. 25. 17:58
SCX-4623FK 라는 녀석을 다른 리눅스 머신에 설치해서 쓰려니
SANE도 문제가 없는데 프린터만 유독 안되고 프린터 드라이버 설치하려고 하면
"잘못된 프린터 이름을 입력했거나 지정한 프린터가 더 이상 서버에 연결되어 있지 않습니다"
요런 에러를 포함한 다이얼로그를 띄운다 -_-

아무튼 아래와 같이 꼭!해주라고 홈페이지도 되어있는데 마저 테스트 해봐야지 머.. 에효오~
$ sudo ln -s /usr/share/cups/model/samsung/ /usr/share/ppd/custom/samsung


[링크 :  http://www.samsung.com/sec/support/model/SCX-4623FK-downloads?downloadName=#]  

[링크 :  http://ubuntuforums.org/archive/index.php/t-1424054.html]
Posted by 구차니
Linux2012. 7. 28. 13:17
그나저나.. 10.04 에서 12.04로 업데이트 하면... 어떻게 구분을 해야하려나?

$ ll /etc/lsb*
-rw-r--r-- 1 root root 3239 2009-12-04 20:46 /etc/lsb-base-logging.sh
-rw-r--r-- 1 root root  104 2012-01-31 02:30 /etc/lsb-release

/etc/lsb-base:
합계 16
drwxr-xr-x   2 root root  4096 2010-02-23 19:51 ./
drwxr-xr-x 146 root root 12288 2012-07-28 13:06 ../
cynix@cynix-dev:/etc$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.4 LTS
Release:        10.04
Codename:       lucid

cynix@cynix-dev:/etc$ cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS" 

[링크 : http://linux.die.net/man/1/lsb_release]

[링크 : http://kldp.org/node/23867]
[링크 : http://kldp.org/node/86747
Posted by 구차니
Linux2012. 7. 27. 09:09
뜬금없이 리눅스 드라이버에 열내게 된 구차니군..
아무튼 프레임 버퍼 드라이버의 경우에도 ioctl로 이것저것 받아올수 있는데
즉, ioctl을 통해서 드라이버/커널과 통신을 할 수 있다는 의미이고
이 통신방신을 맞춰주면 드라이버 프로그래밍 별거 있나? 라는 생각이 드는데.. 맞겠...지?

[링크 : http://sunnmoon.egloos.com/1824920]
[링크 : http://www.ibm.com/developerworks/kr/library/l-devctrl-migration/
[링크 : http://device-driver.springnote.com/pages/5288613
 
Posted by 구차니
Linux2012. 7. 22. 21:10
RAW파일이라 바로 볼수는 없지만 이렇게 손쉽게 빼낼수 있다니 -_-!!

# cp /dev/fb0 myfile
[링크 : http://www.kernel.org/doc/Documentation/fb/framebuffer.txt]  

[링크 :  http://www.koders.com/c/fidEB7DB67A8EEF0BE4B14F551FEE938B0F15979F4B.aspx] fbset.c
[링크 :  http://forum.falinux.com/zbxe/?document_srl=406132] struct fb_var_screeninfo

[링크 :  http://kldp.org/node/22669] fopen / open
[링크 :  http://linux.die.net/man/2/open]
[링크 :  http://linux.die.net/man/3/open]
[링크 :  http://linux.die.net/man/2/ioctl]
[링크 :  http://linux.die.net/man/3/ioctl]

'Linux' 카테고리의 다른 글

리눅스 배포판 확인하기  (0) 2012.07.28
ioctl()  (0) 2012.07.27
리눅스를 위한 아이튠스 서버 만들기  (0) 2012.07.08
G840 cpuinfo  (0) 2012.04.14
localtime() 과 mktime()을 이용하기  (0) 2012.03.27
Posted by 구차니
Linux/Ubuntu2012. 7. 9. 20:10
screen 명령을 다시 써봤더니
putty에서 ctrl - a,d 문제 없이 되고 터미널도 다시 실행되서 패닉중 -ㅁ-

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 19:56 ?        00:00:01 /sbin/init
root      2196   698  0 19:59 ?        00:00:00 sshd: minimonk [priv]
minimonk  2316  2196  0 19:59 ?        00:00:00 sshd: minimonk@pts/0
minimonk  2317  2316  0 19:59 pts/0    00:00:01 -bash
minimonk  2419     1  0 20:01 ?        00:00:00 SCREEN
minimonk  2420  2419  0 20:01 pts/2    00:00:00 /bin/bash
minimonk  2474  2420  0 20:01 pts/2    00:00:00 rtorrent

root      2942   698  0 20:13 ?        00:00:00 sshd: minimonk [priv]
minimonk  3068  2942  0 20:13 ?        00:00:00 sshd: minimonk@pts/4
minimonk  3069  3068  3 20:13 pts/4    00:00:01 -bash
minimonk  3225  3069  0 20:14 pts/4    00:00:00 screen -R -D 

아무튼, PID 0번은 /sbin/init 이고
SCREEN은 어떻게 한건진 모르겠지만(!) PPID가 1이다.
그나저나 screen으로 실행했는데 왜 SCREEN 이 된거지...?

sshd: [priv]
   sshd : @pts/0
      bash

SCREEN
    bash
        rtorrent

아무튼 이런식으로 구성이 되고,
첫번째 ssh 가상 터미널은 pts/0 에서 실행중이고
screen은 pts/2에서 실행중이다.
두번째 ssh 가상 터미널은 pts/4 에서 실행이 되었고
두번째 ssh 에서 screen으로 끌어와도 rtorrent는 pts/2에 여전히 남아있다.

2012/07/07 - [Linux] - ssh 를 통해 프로그램 실행후 로그아웃 해도 종료되지 않게 하기

Posted by 구차니
Linux2012. 7. 8. 18:29
아이패드 2개 내꺼가 아니고 아빠꺼잖아?
귀찮아서 아마 안할꺼야~

[링크 :  http://ssndwind.tistory.com/52]

'Linux' 카테고리의 다른 글

ioctl()  (0) 2012.07.27
프레임버퍼를 이용하여 캡쳐하기(/dev/fb0)  (0) 2012.07.22
G840 cpuinfo  (0) 2012.04.14
localtime() 과 mktime()을 이용하기  (0) 2012.03.27
partitionless disk  (2) 2012.01.06
Posted by 구차니
Linux/Ubuntu2012. 6. 9. 19:34
/apps/gnome_settings_daemon/plugins 에 media-keys가 존재하지 않으면 생성해주면 된다.
생성시에는 아래와 같이 참/거짓(boolean)형으로 값은 거짓으로 생성해주면 바로 서비스가 중지된다.



근데... 내가 저 설정편집기를 어떻게 해서 설치했더라?

[링크 : http://forums.fedoraforum.org/showthread.php?t=230568]
Posted by 구차니
Linux/Ubuntu2012. 6. 8. 11:35
패치를 하거나, perl을 통해서 한글 변환하는 것도 있지만
unzip 도움말을 보니 -O 라는 옵션이 존재하길래 해보니 문제없이 잘 풀린다.
단, -l을 통해 목록 보는건 여전히 깨지는 문제가 있다.

$ unzip --help
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
  Default action is to extract files in list, except those in xlist, to exdir;
  file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).

  -p  extract files to pipe, no messages     -l  list files (short format)
  -f  freshen existing files, create none    -t  test compressed archive data
  -u  update files, create if necessary      -z  display archive comment only
  -v  list verbosely/show version info       -T  timestamp archive to latest
  -x  exclude files that follow (in xlist)   -d  extract files into exdir
modifiers:
  -n  never overwrite existing files         -q  quiet mode (-qq => quieter)
  -o  overwrite files WITHOUT prompting      -a  auto-convert any text files
  -j  junk paths (do not make directories)   -aa treat ALL files as text
  -U  use escapes for all non-ASCII Unicode  -UU ignore any Unicode fields
  -C  match filenames case-insensitively     -L  make (some) names lowercase
  -X  restore UID/GID info                   -V  retain VMS version numbers
  -K  keep setuid/setgid/tacky permissions   -M  pipe through "more" pager
  -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
  -I CHARSET  specify a character encoding for UNIX and other archives

See "unzip -hh" or unzip.txt for more help.  Examples:
  unzip data1 -x joe   => extract all files except joe from zipfile data1.zip
  unzip -p foo | more  => send contents of foo.zip via pipe into program more
  unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer 

 $  sudo unzip -O cp949 -d directory/ filename.zip  

Posted by 구차니
Linux/Ubuntu2012. 6. 7. 22:19
원인불명(?)으로 외장 하드 연결시 웹서버에서 보이지 않는 문제가 있어 확인해봤더니
rwx------ 로 mount 되는 현상발견..

sudo chmod 777 해도 변경이 안되고 이래저래 테스트 해보진 못했지만,
udev 에서 자동인식해서 automount 하면서 umask 식으로 0077 이 되어있는 식의 내용 발견.
테스트는 조만간 해봐야겠다.

[링크 :  http://askubuntu.com/.../17540/how-do-i-set-executable-permissions-on-a-removable-drive/17550]


---
2012.6.8 추가
일단 ubuntu 12.04 LTS desktop 에서는 적용되지 않음 -_- 
Posted by 구차니