[go: up one dir, main page]

File: creating-linux-icons

package info (click to toggle)
altos 1.9.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 78,396 kB
  • sloc: ansic: 110,166; java: 42,103; makefile: 7,904; sh: 4,375; xml: 2,155; pascal: 2,008
file content (29 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# To create linux icons and file associations

1) Create mime type and install

	http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor/

	# xdg-mime install --mode system org-altusmetrum-mimetypes.xml
	# update-mime-database /usr/local/share/mime

	On debian, 

2) Create icons and install

	For mime type	application/vnd.altusmetrum.telemetry
	icon name	application-vnd.altusmetrum.telemetry.svg

	All mime icons go in

	/usr/share/icons/hicolor/scalable/mimetypes

	Update the icon database

	# update-icon-caches /usr/share/icons/hicolor

3) Create .desktop file and install

	# xdg-desktop-menu install --mode system altusmetrum-altosui.desktop

	# update-desktop-database