summaryrefslogtreecommitdiff
path: root/docview/install/linux.readme.txt
blob: 7842b8c2d45a225a60f07214ea525e8668c7267a (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

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.  $ cp install/docview.desktop ~/.local/share/applications/

5.  $ cp docview-mime.xml ~/.local/share/mime/packages

6.  $ update-mime-database ~/.local/share/mime/

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.


7.  $ mkdir ~/.icons/gnome/48x48/mimetypes

8.  $ ln -s ~/.icons/inf-help.png ~/.icons/gnome/48x48/mimetypes/gnome-mime-application-inf.png

Now you are all done!