| 1 |
gCDEmu |
| 2 |
3.3.0 |
| 3 |
~~~~~ |
| 4 |
|
| 5 |
Table of Contents: |
| 6 |
~~~~~~~~~~~~~~~~~~ |
| 7 |
|
| 8 |
1. Introduction |
| 9 |
2. Requirements |
| 10 |
3. Installation |
| 11 |
4. Configuration |
| 12 |
5. GtkApplication and AppIndicator mode |
| 13 |
6. Troubleshooting |
| 14 |
7. Contact information |
| 15 |
|
| 16 |
|
| 17 |
1. Introduction |
| 18 |
~~~~~~~~~~~~~~~ |
| 19 |
|
| 20 |
This is gCDEmu, a Gtk3-based GUI for controlling CDEmu daemon. It is part of the |
| 21 |
cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. |
| 22 |
|
| 23 |
It provides a graphic interface that allows performing the key tasks related to |
| 24 |
controlling the CDEmu daemon, such as loading and unloading devices, displaying |
| 25 |
devices' status and retrieving/setting devices' debug masks. |
| 26 |
|
| 27 |
In addition, it listens to signals emitted by CDEmu daemon and provides |
| 28 |
notifications via libnotify (provided that python bindings are installed). |
| 29 |
|
| 30 |
|
| 31 |
2. Requirements: |
| 32 |
~~~~~~~~~~~~~~~~ |
| 33 |
|
| 34 |
- CMake >= 3.16 |
| 35 |
- IntlTool >= 0.21 |
| 36 |
- GetText >= 0.15 |
| 37 |
|
| 38 |
- Python >= 3.8 |
| 39 |
- PyGObject >= 3.0.0 |
| 40 |
|
| 41 |
- GLib, GObject, GIO >= 2.28 GIR |
| 42 |
- Gtk3 GIR |
| 43 |
- GdkPixbuf GIR |
| 44 |
|
| 45 |
- libnotify GIR (optional; for notifications) |
| 46 |
- AppIndicator3 GIR (optional; for AppIndicator mode) |
| 47 |
|
| 48 |
|
| 49 |
3. Installation: |
| 50 |
~~~~~~~~~~~~~~~~ |
| 51 |
|
| 52 |
Please read the INSTALL file. |
| 53 |
|
| 54 |
|
| 55 |
4. Configuration: |
| 56 |
~~~~~~~~~~~~~~~~~ |
| 57 |
The application can be configured via several GSettings keys that can be found under |
| 58 |
/apps/gcdemu. While some of the settings can be altered directly from gCDEmu, |
| 59 |
for altering the more advanced settings, an editor such as dconf-editor is required. |
| 60 |
|
| 61 |
The configuration keys are: |
| 62 |
|
| 63 |
* show-notifications: a boolean value indicating whether gCDEmu should display |
| 64 |
notifications for events such as daemon start/stop and changes made |
| 65 |
to devices. This options can be altered from the application's context |
| 66 |
menu. Default value: true |
| 67 |
|
| 68 |
* use-system-bus: a boolean value indicating whether gCDEmu should use the |
| 69 |
system bus instead of session bus to connect to the daemon. Default value: false |
| 70 |
|
| 71 |
* icon-connected: a string containing the name of the icon to show in the |
| 72 |
system tray when gCDEmu is connected to the CDEmu daemon. The string can |
| 73 |
be either a stock icon name or a pixmap name. Default value: gcdemu-connected |
| 74 |
|
| 75 |
* icon-disconnected: a string containing the name of the icon to show in the |
| 76 |
system tray when gCDEmu is disconnected from the CDEmu daemon. The string can |
| 77 |
be either a stock icon name or a pixmap name. Default value: gcdemu-disconnected |
| 78 |
|
| 79 |
The corresponding pixmap should be installed in the standard pixmap path |
| 80 |
(such as /usr/share/pixmaps; the list of used search paths can be obtained |
| 81 |
by gtk.IconTheme().get_search_path()). Note: the name should be provided |
| 82 |
without the suffix. If invalid name is specified, the theme-specific icon |
| 83 |
for missing image will be shown. |
| 84 |
|
| 85 |
* icon-disconnected: a string containing the name of the icon to show in the |
| 86 |
system tray when gCDEmu is connected to the CDEmu daemon. The string can |
| 87 |
be either a stock icon name or a pixmap name. |
| 88 |
The corresponding pixmap should be installed in the standard pixmap path |
| 89 |
(such as /usr/share/pixmaps; the list of used search paths can be obtained |
| 90 |
by gtk.IconTheme().get_search_path()). Note: the name should be provided |
| 91 |
without the suffix. If invalid name is specified, the theme-specific icon |
| 92 |
for missing image will be shown. Default value: gcdemu-connected |
| 93 |
|
| 94 |
* daemon-autostart: a boolean value indicating whether gCDEmu should, after |
| 95 |
connecting to the bus, attempt to start the CDEmu daemon (if it is not |
| 96 |
already running). This is done using D-BUS service facility and requires |
| 97 |
the daemon's .service files to be installed for the appropriate bus. |
| 98 |
Default value: true |
| 99 |
|
| 100 |
* icon-policy: a string value indicating the gCDEmu's icon display policy. Valid |
| 101 |
values are 'always', 'never' and 'when_connected'. With, 'always', icon |
| 102 |
is always shown; with 'never', it is never shown (and essentially renders |
| 103 |
the application useless). With 'when_connected', the icon is shown only |
| 104 |
when gCDEmu is connected to the CDEmu daemon. |
| 105 |
|
| 106 |
|
| 107 |
5. Gtk Application and AppIndicator mode: |
| 108 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 109 |
gCDEmu can run in either GtkApplication mode or as AppIndicator. The |
| 110 |
latter is available only if corresponding GIR files are installed. |
| 111 |
|
| 112 |
GtkApplication mode: |
| 113 |
* GtkStatusIcon is used to display gCDEmu icon |
| 114 |
+ right-click device load/unload shortcut is supported |
| 115 |
- does not implement the new systray specification, so it might not work |
| 116 |
in enviroments that require it, such as the new notification area on |
| 117 |
Cairo dock |
| 118 |
|
| 119 |
AppIndicator mode: |
| 120 |
* AppIndicator is used to display gCDEmu icon |
| 121 |
- does not support right-click device load/unload shortcut |
| 122 |
+ supports new systray specification, so it works with, for example, the |
| 123 |
new notification area on Cairo dock |
| 124 |
|
| 125 |
Due to lack of support for the new systray specification in Gtk, the |
| 126 |
AppIndicator mode is preferred, if available; gCDEmu attempts to load |
| 127 |
AppIndicator libraries, and if it succeeds, it starts in AppIndicator |
| 128 |
mode. Otherwise, GtkApplication mode is used. |
| 129 |
|
| 130 |
This can be overriden using '--tray-mode=' command-line switch. |
| 131 |
|
| 132 |
|
| 133 |
6. Troubleshooting |
| 134 |
~~~~~~~~~~~~~~~~~~ |
| 135 |
|
| 136 |
Q: gCDEmu's tray icon is greyed and the applet does nothing! |
| 137 |
A: Greyed-out icon means that the applet failed to connect to the CDEmu daemon. |
| 138 |
Please make sure the daemon is running and that you're connecting via |
| 139 |
appropriate bus. |
| 140 |
|
| 141 |
|
| 142 |
7. Contact information: |
| 143 |
~~~~~~~~~~~~~~~~~~~~~~~ |
| 144 |
|
| 145 |
CDEmu project's web page: http://cdemu.sourceforge.net |
| 146 |
CDEmu project's mailing list: [email protected] |
| 147 |
|
| 148 |
Author can be directly contacted via e-mail address listed in AUTHORS file. |