2013-10-15 4 views
1

Centos 5.5에서는 File Browser에서 "* .pl"이라는 파일을 두 번 클릭 할 때마다 새 Emacs 편집기 인스턴스가 열립니다.Centos 5.5 기본 열기 명령을 수정하는 방법

Emacs를 단일 인스턴스 방식으로 실행하려면 "emacsclient % f"로 열기 명령을 수정해야하지만 어디서 어떻게 구성을 수정해야하는지 모르겠습니다.

이 작업을 수행하려면

답변

1

가장 쉬운 방법은 :

 
1. Find a .pl file on your desktop or in the File Browser (nautilus) 
2. Right click it, select Properties 
3. Pick "Open With" tab 
4. If you don't see emacsclient, press the add button 
    a. Can check the list in Add Application dialog for emacsclient 
     I) If absent, click Use a custom command and browse or enter the path 
     to the emacsclient executable (mine is at /usr/local/bin/emacsclient). 
    b. Select emacsclient in the list 
    c. Press the Add button 
5. Make sure the radiobutton is selected for emacsclient in the "Open With" 
    dialog 
6. Press the close button. 
관련 문제