blob: b9af5a93b6800d0a8ffa8357336c2bdf6bd53923 (
plain)
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
30
31
32
33
34
35
36
37
38
39
|
Registering the INF file format and fpGUI Documentation Viewer
with Linux is pretty straight forward. Simply execute the following
commands for a console window.
Steps:
------
1 $ cd <fpgui> <-- replace <fpgui> the the appropriate
directory location on you system.
2. $ cp images/docview-48x48.png ~/.icons/docview.png
3. $ cp images/inf-book-28x48.png ~/.icons/inf-help.png
4. $ cd ~/.icons; ln -s inf-help.png application-inf.png
5. $ cp install/docview.desktop ~/.local/share/applications/
6. $ cp docview-mime.xml ~/.local/share/mime/packages
7. $ update-mime-database ~/.local/share/mime/
You are done!
****** The rest is not needed anymore ********
Gnome now knows the mime type for *.inf files. Now to setup the new default
icon Nautilus will show for *.inf files, you need to do these two steps.
8. $ mkdir ~/.icons/gnome/48x48/mimetypes
9. $ ln -s ~/.icons/inf-help.png ~/.icons/gnome/48x48/mimetypes/gnome-mime-application-inf.png
Now you are all done!
|