Linux/Ubuntu2016. 1. 2. 18:03

xterm은 설정이 되고

리부팅 이후에는 lxterm도 적용은 되나.. 클릭이나 드래그로는 안되서

우클릭을 해야 이전 페이지로 갈수 있다는건... 설정을 잘못한걸려나?


$ cat .Xresources

XTerm*scrollBar:        true

$ xrdb -merge ~/.Xresources


[링크 : https://www.debian-administration.org/article/66/Customizing_your_xterm] 


[링크 : http://www.aboutlinux.info/2005/10/configuring-xterm-in-linux.html]

[링크 : https://wiki.archlinux.org/index.php/Xterm]


흐음.. 이게 그나마 가장 자세한데.. 영안되네 ㅠㅠ

[링크 : http://beforewisdom.com/blog/tech/xterm-with-a-scrollbar/]



---

걍 lxterminal을 쓰자 ㅋㅋㅋ


ctrl-shift-t로 단축키


[링크 : http://askubuntu.com/questions/95435/term-xterm-or-uxterm]

'Linux > Ubuntu' 카테고리의 다른 글

리눅스 콘솔 한글 출력?  (0) 2016.01.04
debian openbox 단축키  (0) 2016.01.04
으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
pkg-config  (0) 2015.10.08
Posted by 구차니

흐음.. lubuntu 15.10에 하려니 영 안되네...

그냥 구버전의 opengalax를 설치 하고 기존의 설정값을 쓰는걸로 해결..


/etc/apt$ sudo vi sources.list
deb http://ppa.launchpad.net/poliva/opengalax/ubuntu precise main 
deb-src http://ppa.launchpad.net/poliva/opengalax/ubuntu precise main 

/etc/apt$ sudo apt-get update

$ sudo apt-cache search opengalax
opengalax - touchscreen daemon for EETI controllers

$ sudo apt-get install opengalax



$ sudo ./setup.sh


(*) Driver installer for touch controller

(*) Script Version = 1.04.5701


(I) Check user permission: root, you are the supervisor.

(I) Platform application binary interface = i686

(W) X server detected.


Declaration and Disclaimer

The programs, including but not limited to software and/or firmware (hereinafter referred to "Programs" or "PROGRAMS", are owned by eGalax_eMPIA Technology Inc. (hereinafter referred to EETI) and are compiled from EETI Source code. EETI hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use and create derivative works of Programs for the sole purpose in conjunction with an EETI Product, including but not limited to integrated circuit and/or controller. Any reproduction, copies, modification, translation, compilation, application, or representation of Programs except as specified above is prohibited without the express written permission by EETI.


Disclaimer: EETI MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO PROGRAMS, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. EETI reserves the right to make changes without further notice to the Programs described herein. Licensee agrees that EETI does not assume any liability, damages or costs, including but not limited to attorney fees, arising out from Programs themselves or those arising out from the application or combination Programs into other products or circuit. The use or the inclusion of EETI's Programs implies that the Licensee assumes all risk of such use and in doing so indemnifies EETI against all charges, including but not limited to any claims to infringement of any third party's intellectual property right.


Do you agree with above patent declaration?

 [Y] Yes, I agree.  [N] No, I don't agree.

Y


(Q) Which interface controller do you use?

(I) [1] RS232 [2] USB [3] PS2 : 3

(I) Please confirm the touch controller is linked with your device. Press [Enter] key to continue..........


(I) /etc/rcS.d path found.

ln: failed to create symbolic link `/etc/rcS.d/S99eGTouch': 파일이 있습니다

(I) Module serio_raw.ko is detected under lsmod

(I) Configure PS/2 aux driver.

(I) Found /serio_raw/ located under /sys/bus/serio/devices/serio4/

(I) Found uinput at path /dev/uinput

(I) Place eGTouch driver archive to /usr/local/eGTouch32withX.

(I) Create eGTouch daemon shortcut in /usr/bin.

(I) Create eGTouchU tool shortcut in /usr/bin.

(I) Create eCalib tool shortcut in /usr/bin.


(Q) How many controllers do you want to plug-in to system? [1-10]

(I) Default [1]:1

1

(I) Device Nums is set to 1

(W) Found udev rule: 52-egalax-virtual.conf.

(I) Create eGTouchU shortcut in application list.


(I) Driver installation completed. Setup version 1.04.5701.

(I) Please reboot the system.


$ lsmod | grep -i serio
serio_raw              16384  1

$ ls -al /dev/input/
합계 0
drwxr-xr-x  3 root root     280  1월  2 15:48 .
drwxr-xr-x 18 root root    4420  1월  2 15:48 ..
drwxr-xr-x  2 root root      60  1월  2 15:48 by-path
crw-rw-rw-  1 root input 13, 64  1월  2 15:47 event0
crw-rw-rw-  1 root input 13, 65  1월  2 15:47 event1
crw-rw-rw-  1 root input 13, 66  1월  2 15:47 event2
crw-rw-rw-  1 root input 13, 67  1월  2 15:47 event3
crw-rw-rw-  1 root input 13, 68  1월  2 15:47 event4
crw-rw-rw-  1 root input 13, 69  1월  2 15:47 event5
crw-rw-rw-  1 root input 13, 70  1월  2 15:47 event6
crw-rw-rw-  1 root input 13, 73  1월  2 15:48 event9
crw-rw-r--  1 root input 13,  0  1월  2 15:48 js0
crw-rw----  1 root input 13, 63  1월  2 15:47 mice
crw-rw----  1 root input 13, 33  1월  2 15:48 mouse1

$ ps -ef | grep -i eg
root        19     2  0 15:52 ?        00:00:00 [kintegrityd]
root       444     1  0 15:53 ttyS1    00:00:00 /usr/bin/eGTouchD
nobody     997   614  0 15:54 ?        00:00:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/NetworkManager/dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
minimonk  1277  1189  0 15:54 pts/0    00:00:00 grep --color=auto -i eg

$ cat /etc/rcS.d/S99eGTouch
#!/bin/sh

### Beginning: Launch eGTouchD daemon while setup boot-up ###
/usr/bin/eGTouchD
### End: Launch eGTouchD daemon while setup boot-up ###
exit 0

$ /usr/bin/eGTouch
eGTouchD  eGTouchU

$ DISPLAY=:0.0 /usr/bin/eGTouchU


우씨.. 왜 안잡혀 ㅠㅠ



[링크 : http://pof.eslack.org/2012/06/18/ubuntu-12-04-on-onkyo-bx407a4/]

[링크 : http://home.eeti.com.tw/drivers_Linux.html]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

와.. 벌써 두달이 지났네.. TC1100 재시도..  (0) 2016.01.20
umid mbook m1 + lubuntu 15.10  (0) 2016.01.04
2016년 시작  (0) 2016.01.01
마음에 들진 않지만...  (0) 2015.12.28
irocks kr-6220 winLock  (0) 2015.12.21
Posted by 구차니

크아아아앙!!!

한것도 없는데 또 하루가 지나버렸... OTL


mbook 이나 리눅스깔고 장난치고..

tc1100 이나 win7이나 언넝 깔아야지 ㅠㅠ

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

umid mbook m1 + lubuntu 15.10  (0) 2016.01.04
UMID mbook m1 + lubuntu 15.10 egalax driver  (0) 2016.01.02
마음에 들진 않지만...  (0) 2015.12.28
irocks kr-6220 winLock  (0) 2015.12.21
tc1100 윈7 설치  (0) 2015.11.08
Posted by 구차니

올해는 출산.. 이것 하나로 다 설명이 되려나?


2016년 병신년... -_-

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

소득공제 제공동의  (0) 2016.02.02
롯데마트 할인 신용카드 흐음...  (0) 2016.01.07
무료..  (0) 2015.12.26
... 멀 해야 하지?  (0) 2015.12.07
쉬는 주간...  (0) 2015.12.05
Posted by 구차니
Linux/Ubuntu2015. 12. 30. 20:54

gnome으로 찾으니 안나오지 ㅠㅠ

네트워크 아이피 설정하려고 쑈하는데

어떤 프로그램인지 몰라서 한참 헤메다가 이제야 생각났네..


$ nm-connection-editor




'Linux > Ubuntu' 카테고리의 다른 글

debian openbox 단축키  (0) 2016.01.04
lubuntu xtem scrollbar  (0) 2016.01.02
우분투 hibernate(최대절전) / suspend(절전)  (0) 2015.12.29
pkg-config  (0) 2015.10.08
htop 색상의미  (0) 2015.10.08
Posted by 구차니
embeded/ARM2015. 12. 30. 14:25

집에 있는 DS213j가 armv7 계열인데

문득 보다 보니 feature에 neon이 없는걸 발견


> cat /proc/cpuinfo

Processor       : Marvell PJ4Bv7 Processor rev 1 (v7l)

BogoMIPS        : 1196.85

Features        : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16 tls

CPU implementer : 0x56

CPU architecture: 7

CPU variant     : 0x1

CPU part        : 0x581

CPU revision    : 1


Hardware        : Marvell Armada-370

Revision        : 0000

Serial          : 0000000000000000


검색을 해보니... 

스펙 시트에도 vfp 언급은 있어도 neon은 없어서 다시 검색..

[링크  : http://www.marvell.com/embedded-processors/armada-370/]


엥? 375는 neon 첨가! 370은 없어영~ 라고?!?!

The Armada 375 resembles the Armada 370, which has one of Marvell’s ARMv7-compatible PJ4 cores running at 1.2GHz. Although this home-grown CPU is clocked 20% faster than the 375’s Cortex-A9 cores, it lacks Neon extensions and has a less capable version of the VFP unit.


[링크 : http://www.linleygroup.com/newsletters/newsletter_detail.php?num=5010]

'embeded > ARM' 카테고리의 다른 글

j-link segger j-flash  (0) 2016.09.02
ulink flashmagic  (0) 2016.09.02
jtag/swd pullup & pulldown  (0) 2015.12.17
jtag과 swd  (0) 2015.12.14
비글본 github 저장소  (0) 2015.10.30
Posted by 구차니
Linux/Ubuntu2015. 12. 29. 15:11

음.. 우분투 x86 머신을

synology 처럼 네트워크 접속시 자동으로 깨어나도록 하고 싶어서

찾아 봤더니 키워드를 잘못 찾아서 헤메고 있었던 기분...


아무튼.. 범용제품으로는 ARM cpu를 채용한 녀석만큼

딱 입맛에 맞춰서 재웠다 깨웠다는 조금 힘들려나..

매번 WOL로 살리는것도 귀찮은데..


[링크 : http://blog.dustinkirkland.com/2009/02/ubuntu-server-suspendhibernateresume.html]

[링크 : http://askubuntu.com/questions/1792/how-can-i-suspend-hibernate-from-command-line]

[링크 : https://wiki.ubuntu.com/UnderstandingSuspend]

'Linux > Ubuntu' 카테고리의 다른 글

lubuntu xtem scrollbar  (0) 2016.01.02
으악 lubuntu 였지 ㅋㅋㅋ  (0) 2015.12.30
pkg-config  (0) 2015.10.08
htop 색상의미  (0) 2015.10.08
ubuntu 스크린샷(캡쳐) 프로그램  (0) 2015.09.22
Posted by 구차니
개소리 왈왈/컴퓨터2015. 12. 28. 23:35

리눅스 서버 구축해서..

ISP 제공 공유기 설정해서 써야 할 듯..



머라도 하지 않으면 퇴보한다는 강박관념인걸까...

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

UMID mbook m1 + lubuntu 15.10 egalax driver  (0) 2016.01.02
2016년 시작  (0) 2016.01.01
irocks kr-6220 winLock  (0) 2015.12.21
tc1100 윈7 설치  (0) 2015.11.08
tc1100 분해 및 win10 시도  (0) 2015.11.07
Posted by 구차니
하드웨어/Storage2015. 12. 27. 12:58

실수로 delete키를 똭! ㅠㅠ


[링크 : http://extundelete.sourceforge.net/]

[링크 : http://blog.bisect.de/2011/08/how-to-undelete-files-from-ext3ext4.html]

[링크 : http://forum.synology.com/enu/viewtopic.php?f=160&t=53092]

    [링크 : http://www.xen.dds.nl/f/scripts/extundelete]


ARM용으로 컴파일 된 녀석 다운로드

sarang> wget http://www.xen.dds.nl/f/scripts/extundelete

--2015-12-27 12:34:28--  http://www.xen.dds.nl/f/scripts/extundelete

Resolving www.xen.dds.nl... 85.17.251.154

Connecting to www.xen.dds.nl|85.17.251.154|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 633541 (619K) [text/plain]

Saving to: 'extundelete'


100%[======================================>] 633,541      198KB/s   in 3.1s


2015-12-27 12:34:32 (198 KB/s) - 'extundelete' saved [633541/633541]


sarang> ./extundelete

No action specified; implying --superblock.

./extundelete: Missing device name.

Usage: ./extundelete [options] [--] device-file

Options:

  --version, -[vV]       Print version and exit successfully.

  --help,                Print this help and exit successfully.

  --superblock           Print contents of superblock in addition to the rest.

                         If no action is specified then this option is implied.

  --journal              Show content of journal.

  --after dtime          Only process entries deleted on or after 'dtime'.

  --before dtime         Only process entries deleted before 'dtime'.

Actions:

  --inode ino            Show info on inode 'ino'.

  --block blk            Show info on block 'blk'.

  --restore-inode ino[,ino,...]

                         Restore the file(s) with known inode number 'ino'.

                         The restored files are created in ./RECOVERED_FILES

                         with their inode number as extension (ie, file.12345).

  --restore-file 'path'  Will restore file 'path'. 'path' is relative to root

                         of the partition and does not start with a '/'

                         The restored file is created in the current

                         directory as 'RECOVERED_FILES/path'.

  --restore-files 'path' Will restore files which are listed in the file 'path'.

                         Each filename should be in the same format as an option

                         to --restore-file, and there should be one per line.

  --restore-directory 'path'

                         Will restore directory 'path'. 'path' is relative to the

                         root directory of the file system.  The restored

                         directory is created in the output directory as 'path'.

  --restore-all          Attempts to restore everything.

  -j journal             Reads an external journal from the named file.

  -b blocknumber         Uses the backup superblock at blocknumber when opening

                         the file system.

  -B blocksize           Uses blocksize as the block size when opening the file

                         system.  The number should be the number of bytes.

  --log 0                Make the program silent.

  --log filename         Logs all messages to filename.

--log D1=0,D2=filename   Custom control of log messages with comma-separated

   Examples below:       list of options.  Dn must be one of info, warn, or

   --log info,error      error.  Omission of the '=name' results in messages

   --log warn=0          with the specified level to be logged to the console.

   --log error=filename  If the parameter is '=0', logging for the specified

                         level will be turned off.  If the parameter is

                         '=filename', messages with that level will be written

                         to filename.

   -o directory          Save the recovered files to the named directory.

                         The restored files are created in a directory

                         named 'RECOVERED_FILES/' by default.

./extundelete: Error parsing command-line options. 


sarang> mount

/dev/root on / type ext4 (defaults)

/sys on /sys type sysfs (0)

none on /dev/pts type devpts (gid=4,mode=620)

/tmp on /tmp type tmpfs (0)

/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

/dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)

/proc/bus/usb on /proc/bus/usb type usbfs (0)

/dev/vg1001/lv on /volume2 type ext4 (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl)

/dev/vg1000/lv on /volume1 type ext4 (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl)

securityfs on /sys/kernel/security type securityfs (0)

/dev/sdq1 on /volumeUSB1/usbshare type fuseblk (rw,allow_other,blksize=4096,default_permissions) 


옵션은 많은데 고민하다가 걍.. 과감하게! restore-all로 ㅠㅠ

sarang> ./extundelete /dev/vg1001/lv --restore-all

NOTICE: Extended attributes are not restored.

WARNING: EXT3_FEATURE_INCOMPAT_RECOVER is set.

The partition should be unmounted to undelete any files without further data loss.

If the partition is not currently mounted, this message indicates

it was improperly unmounted, and you should run fsck before continuing.

If you decide to continue, extundelete may overwrite some of the deleted

files and make recovering those files impossible.  You should unmount the

file system and check it with fsck before using extundelete.

Would you like to continue? (y/n)

y

Loading filesystem metadata ... 14868 groups loaded.

Loading journal descriptors ... 30303 descriptors loaded.

Searching for recoverable inodes in directory / ...

1119 recoverable inodes found.

Looking through the directory structure for deleted files ...

Unable to restore inode 30802326 (@tmp/pkglist.tmp/synoserver.krn.W5eobS): Space has been reallocated.

Unable to restore inode 62128599 (delete.zip): Space has been reallocated.

Unable to restore inode 62128600 (lost+found/synoserver.enu): Space has been reallocated.

3 recoverable inodes still lost. 


RECOVERED_FILES 아래에 저장된다.

sarang> ls -al

drwx--x--x    4 admin    users         4096 Dec 27 12:42 .

drwx--x--x    7 root     root          4096 Oct 12 10:20 ..

drwx--x--x    5 root     root          4096 Dec 27 12:50 RECOVERED_FILES

-rwx--x--x    1 admin    users       633541 Mar  3  2015 extundelete 



'하드웨어 > Storage' 카테고리의 다른 글

raid01 raid10  (0) 2016.01.31
synology DS file - file station  (0) 2016.01.05
synology port  (0) 2015.12.22
synology DS213j SVN server 설치  (0) 2015.10.19
microSD 슬롯 락 관련  (2) 2015.08.06
Posted by 구차니

내년에는 멀할까...

환경이 문제인가..

의지가 문제인가...

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

롯데마트 할인 신용카드 흐음...  (0) 2016.01.07
2015년 끝  (0) 2015.12.31
... 멀 해야 하지?  (0) 2015.12.07
쉬는 주간...  (0) 2015.12.05
멘붕  (0) 2015.12.04
Posted by 구차니