[우분투]Nautilus 관리자 권한으로 접근하기

터미널에서

gksudo Nautilus 로 실행시켜도 되지만

매번 타이핑 치기 귀찮으면

메뉴에 등록해서 사용해보도록 하자

터미널 창에서

sudo gedit /usr/share/applications/Nautilus-root.desktop

으로 새파일을 열고

[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo “nautilus –browser %U”
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;

아래 글을 추가 시킨 후 저장한다

그럼 시스템도구 메뉴에 File Browser(Root)가 있는 것이 보일 것이다.

실행시키면 패스워드를 물어보고 입력후 실행되면 관리자 권한으로 열린 Nautilus를 볼 수 있다.

출처 : http://cafe.naver.com/linuxcare.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=18411

mplayer -Error opening/initializing the selected video_out (-vo) device

Error opening/initializing the selected video_out (-vo) device

여러 우분투 포럼을 찾아보니 이 경우
터미널에서 아래와 같이 gui.conf 파일을 엽니다.

desktop:~$ sudo gedit .mplayer/gui.conf

그러면 아래와 같은 설정이 나타납니다.

enable_audio_equ = “no”
vo_driver = “xmga”
vo_panscan = “0.000000″
vo_doublebuffering = “yes”
vo_direct_render = “no”
vo_dxr3_device = “/dev/em8300-0″
v_framedrop = “0″
v_flip = “-1″
.
.
.
.

여기에서 두번째 줄
vo_driver = “xmga”

vo_driver = “x11″
로 바꿔 줍니다.

그러면 동영상 파일이 열립니다. 하지만 동영상 파일은 열리지만 전체화면이 활성화되지 않습니다. 이때는

터미널에서
desktop:~$ sudo gedit .mplayer/config
를 열어
zoom = yes
을 추가해 줍니다.

GUI를 사용한 IP 차단기-IPblock

설치
우분투버전에 맞게 터미널에서 아래 명령어로 소프트웨어 소스 추가

  • Ubuntu 9.04 “Jaunty Jackalope”:

sudo wget http://iplist.sf.net/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/iplist.list

  • Ubuntu 8.10 “Intrepid Ibex”:

sudo wget http://iplist.sf.net/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/iplist.list

  • Ubuntu 8.04 “Hardy Heron”:

sudo wget http://iplist.sf.net/sources.list.d/hardy.list -O /etc/apt/sources.list.d/iplist.list

키값 추가
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com C6E3D905C8BCD56BB02E6E0B39456311108B243F

설치
sudo aptitude update
sudo aptitude install iplist

설치후 실행

리스트

아래 리스트에 대한 설명이 있다.별로 신경쓰지 않아도 된다.

  • level1.gz – Anti-P2P organizations and known government addresses
  • ads-trackers-and-bad-pr0n.gz – Advertising and data tracker servers
  • spyware.gz – Malicious spyware and adware servers
  • edu.gz – Educational institutions and universities
  • bogon.gz – Spoofed IP-addresses

www.bluetack.co.uk (list descriptions)-이 사이트를 참조하라

제외 목록을 추가한다.(http,ftp등)

IPblock은 다른 방화벽프로그램 실행후 해야한다

우분투의 ctrl+alt+del은 무엇인가?

우분투에서 시스템이 정지 되어 버리면 난감하기 그지 없다.

ctrl+alt+del을 열심히 눌러보지만 우분투는 xp가 이니다.

썬마이크로 시스템에서 이에 대한 대책을 마련해 두었다.

이야기가 상당히 복잡해 질것 같지만 제목부터 말하자면 이것을 magiccSysRq 라고 한다.

이야기가 들어가기 전에 가징 쉬운 방법은 ctrl+alt+backspace이다.

그러나 이것은 안전한 방법이 아니다.

데이타를 잃지 않고 하드에 손상이 없는 가장 좋은 방법을 사용하려면 magicsysrq 키를 사용해야한다.

1,손상없이 재부팅

Alt+SysRq+R+S+E+I+U+B

먼저 alt와 print screen키는 끝까지 누르고 있어야 한다.

그런 상태에서 r, s, e, i, u, b를 순서적으로 5초간격으로 한번씩 눌렀다 띈다.

안되면 다시한번

안되면 시간간격을 늘려서 다시

2,손상없이 종료

Alt+SysRq+R+S+E+I+U+O

방법은 위와 같다

각키에 대한 설명은 아래와 같다.

0 – 9 – sets the console log level, controlling which kernel messages will be printed to your console so that you don’t get flooded.

B – restarts the system without making steps to ensure that the conditions are good for a safe reboot, using this key alone is like doing a cold reboot.

E – sends SIGTERM to all processes except init. This means that an attempt is done to end the current processes except init, safely, e.g. saving a document.

F – call oom_kill(Out Of Memory Killer), which will kill a process that is consuming all available memory.

H – displays help about the SysRq keys on a terminal though in actuality you can use any key except for the ones specified, to display help.

I – sends SIGKILL to all processes except init. This means that all the processes except for init are killed, any data in processes that are killed will be lost.

K – kills all processes on the current terminal. It is a bad idea to do this on a console where X is running as the GUI will stop and you can’t see what you type, so you will need to switch to a tty after doing the magic SysRq.

L – sends SIGKILL to all processes, including init. This means that every process including init will be killed, using this key will render your system non-functional and no further magicSysRq keys can be used. So in this case you will have to cold reboot it.

M – dumps memory info to your console.

O – shuts down the system via ACPI or in older systems, APM. As in key “B”, using this key alone is like a cold reboot(Or in this case, a cold shutdown).

P – dumps the current registers and flags to your console.

Q – dumps all timers info to your console.

R – takes keyboard and mouse control from the X server. This can be useful if the X-Server crashed, you can change to a console and kill the X-Server or check the error log.
NOTE:- The documentation refers to this key’s task as “Turns off keyboard raw mode and sets it to XLATE”, but I suppose it’s safe enough to assume that it takes back control from X.

S – writes all data from the disc cache to the hard-discs, it is a sync and is necessary to reduce the chances of data corruption.

T – dumps a list of current tasks and info to your console.

U – remounts all mounted filesystems read-only. After using this key, you can reboot the system with Alt+SysRq+B without harming the system.

W – dumps uninterruptable (blocked) state tasks.


Proftp로 ftp서버 구축

Proftp는 오픈소스ftp server 이다.알ftp나 파일질라 같은 ftp클라이언트가 내 컴에 접속하여 파일을 다운할수 있는 프로그램이라고 생각하면 쉽다. Proftp 는 명령어와 GUI를 둘다 지원하며 윈도우도 지원한다.

설치방법

1.터미널 열고

sudo apt-get install proftpd gproftpd

2. 상태를 확인하고 싶거나 수동시작하려면

/etc/init.d/proftpd start 혹은 status

서버설정

1. 프로그램>시스템도구-> GA-ADMIN PROFTP에 설치된다.

2. 여러 탭이 보일것이다 자 이제 설정해 보자!

Server- 이름은 알아서—.내부 ip설정(자신의 ip확인법-터미널에서 ifconfig-{ipconfig 가 아닙니다})

Users- ftp를 사용할 사용자 이름과 암호를 설정합니다,익명으로 설정할수도 있습니다.

Transfers-원격pc와 우리의 컴의 전송파일이 보입니다.

Discs-디스크 용량 확인

Files- 유저들의 다운받은 파일 누적

Security-누가 마지막 접속했는지 로그 기록

공유기세팅

ftp서버를 사용하려면 공유기의 포트를 열어야 한다

1. web browser 에서 아까 ifconfig에서 gateway라고 나와 있는 ip를 주소창에 치면 공유기 ip 이므로 접속 로그인(예: 192.168.0.1)-암호는 설정하지 않앆다면 공유기 메뉴얼에 초기 암호 아이디가 나와 있다.

2. port 21을 포트 포워딩이나 에플리케이션 세팅에서 설정하여 연다.

3.아까 적은 내부 ip와 port21을 설정하면 된다.저장종료

외부에서 ftp server 접속

1. IPchicken.com에서 ftp서버가 설치된 컴에서 접속하면 자신의 ftp를 접속할수 있는 외부 ip를 확인할수 있다

2. 외부 컴에서 ftp 클라이언트 프로그램(파일질라,알ftp,cuteftp등 )으로 서버 외부 ip,아까 설정한 아이디 암호,그리고 port 21을 입력하고 접속한다.

게임사이트-자동설치 지원

새 게임 사이트 를 소개한다.스크린샷

자동설치 지원으로 복잡한 게임들을 쉽게 설치 할수 있다.

자동설치 를 하려면

키파일을 터미널을 통해 생성

wget -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

시스템>관리>소프트웨어 소스에 아래를 추가

deb http://archive.getdeb.net/ubuntu jaunty-getdeb games

그리고 그 다음부터는 마음에 드는 게임의 install을 클릭하면 자동설치가 된다.

http://www.playdeb.net

Hedgewars-포트리스류의 네트웤 게임


각 플레이어들이 몇몇의 Hedgehogs(울타리 돼지)들을 팀으로 조정하여 상태를 격파하는 게임입니다.
포트리스와 아주 흡사하며 같은 종류의 게임을 즐기시는 분이시라면 좋아하실 게임입니다.평가가 getdeb에서 최상위 그룹인 시간 때우기 좋은 게임 같습니다.네트웤에 들어가시면 고수들이 많아 정신이 없이 화면이 돌아가 저는 그냥 나와 버렸습니다.
Rating: 9.9 / 10, 8 vote(s)

Latest versions:

Ubuntu Jaunty 32 bits – 0.9.11


Ubuntu Jaunty 64 bits – 0.9.11


Ubuntu Intrepid 32 bits – 0.9.10


Ubuntu Intrepid 64 bits – 0.9.10


새로나올 Ubuntu 9.10 Karmic을 위한 Ubuntu Tweak 테스트 참여

Ubuntu 9.10 Karmic Koala Alpha 4 가 수일전에 나왔습니다..

우분투 트윅이 9.10을 지원을 위한 테스트를합니다!

만일 9.10사용자라면 아래의 사이트에 테스트를 참여해 보세요

https://launchpad.net/~ubuntu-tweak-testing/+archive/ppa

소프트웨어 소스 추가

deb http://ppa.launchpad.net/ubuntu-tweak-testing/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/ubuntu-tweak-testing/ppa/ubuntu karmic main

ubuntu-tweak-0481-karmic-3

버그 리포트 잊지 마시고

ubuntu-tweak-0481-karmic-1

ubuntu-tweak-0481-karmic-2

SuperTuxKart (3D 레이싱게임)

SuperTuxKart라는 또다른 자동차 게임을 소개 한다.이것은 레이싱3d 그래픽게임으로 4인모드까지 게임할수 있다.미국 블로거들이 강력추천하는 게임중하나다.


홈페이지:
SuperTuxKart

시넵틱패키지 관리자에서 supertuxkart를 검색후 데이타,실행파일 두개를 설치한 후 프로그램>게임 에서 실행하면 된다

ManiaDrive -아케이드 카 게임

Nadeo Studio에서 만든 자동차 게임이다.
ManiaDrive에는 두가지 모드의 게임이 있다.일반모드와 프로모드
하나를 통과 하면 다음 게임이 활성화 되는 식이다
랜과 인터넷모드가 가능하고 30레벨 이상의 게임이 있다.

아래의 두 파일을 다운받고 설치 하면 된다.
데이타 파일.deb file (link provided by GetDeb.net),  실행파일.deb file (link provided by GetDeb.net)

프로그램>게임 에서 실행