Linux에서 애플리케이션을 실행하기 전에 애플리케이션 이름을 사용자 정의할 수 있습니까?
제목 표시줄에 애플리케이션 이름이 "Mozilla Firefox"로 표시되어 있다고 가정해 보겠습니다. 이름을 "Browser"로 바꿀 수 있습니까?
답변1
바탕화면 바로가기(예: /usr/share/applications/firefox-esr.desktop
)를 폴더에 복사 $HOME/.local/share/applications/
하고 편집할 수 있습니다.
다른 방법으로 사용자 정의할 수도 있습니다. 예를 들어 [Desktop Action FOO]
실행 프로그램 아이콘을 마우스 오른쪽 버튼으로 클릭하면 표시되는 섹션 과 같은 추가 섹션을 추가할 수 있습니다 .
[Desktop Entry]
Name=Firefox ESR
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=/usr/lib/firefox-esr/firefox-esr %u
Type=Application
Icon=firefox-esr
Categories=Network;WebBrowser;
...
Actions=new-private-window;FOO;BAR
[Desktop Action new-private-window]
Name=Open a New Private Window
Exec=/usr/lib/firefox-esr/firefox-esr --private-window
StartupWMClass=Firefox-esr
StartupNotify=true
[Desktop Action FOO]
Name=Open profile FOO
Exec=/usr/lib/firefox-esr/firefox-esr -P FOO
[Desktop Action BAR]
Name=Open profile BAR
Exec=/usr/lib/firefox-esr/firefox-esr -P BAR