[컴][리눅스] How to make a icon on Unity of Ubuntu

우분투에서 icon 만들기 /

Linux Version : Ubuntu 12.04 LTS


GUI application


  1. Run an application which you want to make a shortcut
  2. Right-click on the icon of Launcher
  3. Select the Lock to launcher
  4. Get a icon in /usr/share/applications


Command line

.sh

  1. Just make a .sh file in Desktop folder


desktop configuration file


  1. Copy a .desktop file from /usr/share/applications
  2. Open with gedit
  3. Edit with the below texts

[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Exec=/home/doug/bin/arip7-1
Name=Mplayer Extract
Icon=

double commander icon 만들기

root 권한으로 실행되는 double commander.desktop 을 만들 것이다. 이를 위해서 gksudo 가 필요하니 먼저 설치를 하자.

$> sudo apt install gksu


[Desktop Entry]
Version=1.0
Type=Application
Exec=gksudo -k -u root /home/namh/local/doublecmd/doublecmd
Name=Double Commander
GenericName=Double Commander
Icon=/home/namh/local/doublecmd/doublecmd.png
Categories=GNOME;GTK;Utility;
Name[ko]=Double Commander




Reference

  1. http://ubuntuforums.org/showthread.php?t=1728839

댓글 없음:

댓글 쓰기