Skip to content

Commit

Permalink
Fix duplicated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
orontee committed Oct 1, 2023
1 parent b8072d8 commit 0b48737
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 47 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Consult the [NEWS file](NEWS.md) for notable changes between versions.

Optionally, a custom icon can be associated to the application;
Instructions are given in [Desktop
integration](./icons/README.md#desktop-integration).
integration](./docs/desktop_integration.md).

## Configuration

Expand Down
46 changes: 0 additions & 46 deletions icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,49 +24,3 @@ rid of the alpha channel).
The icon file name must be a valid C variable name since `pbres` is
used to convert the icon to a char array named after the file. See
`icons_c` target in the parent [meson.build](../meson.build).

## Desktop integration

To customize the application icon and group:

1. One must copy two icons in BMP format on the e-reader (eg under
`/mnt/ext1/application/icons/`). One is used to represent the
application in the "desktop" view, the other is displayed
temporarily when the application is launched.

Samples icons are provided: [taranis.bmp](./taranis.bmp) and
[taranis_f.bmp](./taranis_f.bmp).

2. Then the `/mnt/ext1/system/config/desktop/view.json` file must be
edited on the e-reader (the file path may vary depending on the
use of profiles):

```diff
--- "/mnt/ext1/system/profiles/matthias/config/desktop/view.orig.json" 2023-09-30 20:20:34.454795306 +0200
+++ "/mnt/ext1/system/profiles/matthias/config/desktop/view.json" 2023-09-30 20:21:06.283101211 +0200
@@ -27,7 +27,13 @@
" \"focused_icon\": { \"path\": \"applications/icons/my_calc_icon_f.bmp\" }\n",
" }\n",
"end."
- ]
+ ],
+ "U_Taranis": {
+ "path": "/mnt/ext1/applications/taranis.app",
+ "title": "Taranis",
+ "icon": "/mnt/ext1/applications/icons/taranis.bmp",
+ "focused_icon": "/mnt/ext1/applications/icons/taranis_f.bmp"
+ }
},
"view": {
"_comment": [
@@ -57,7 +63,8 @@
"PB_Onleihe",
"PB_Player",
"PB_RSSNews",
- "PB_Settings"
+ "PB_Settings",
+ "U_Taranis"
]
},
{
```

0 comments on commit 0b48737

Please sign in to comment.