-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
INSTALL
82 lines (62 loc) · 3.38 KB
/
INSTALL
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Requirements
============
The following KDE packages must be installed in order to run KAlarm
successfully:
- Various KDE frameworks libraries
- Various KDE PIM libraries
KAlarm can use Akonadi if available, to provide email alarms, access to
birthdays, and KOrganizer alarms and todos. Akonadi functions are accessed
via KAlarm's Akonadi plugin, which is optionally built and installed when
KAlarm is built. The following KDE packages must be installed in order to
use KAlarm's Akonadi plugin:
- Various KDE PIM Akonadi libraries
- kdepim-runtime
The following optional packages enhance KAlarm if they are installed:
- Qt TextToSpeech: if installed and configured (together with compatible
speech synthesiser packages), it allows KAlarm to speak alarm
messages when alarms are displayed.
Setting up KAlarm on non-KDE desktops
=====================================
Although KAlarm is a KDE application and requires the above KDE packages to be
installed on your system, you can still use it while running other desktops or
window managers.
In order to have alarms monitored and displayed automatically from one login
session to the next, KAlarm must be run automatically when you graphically log
in or otherwise start X. If you are running the KDE desktop, the KAlarm
installation process sets this up for you.
- GNOME 2
=======
Run Desktop Preferences -> Advanced -> Sessions. In the Sessions dialog,
select the Startup Programs tab and click Add. Enter
'kalarmautostart kalarm --tray' as the Startup Command. This will run KAlarm
in the system tray every time you start up.
- Other Window Managers
=====================
If you want to use KAlarm with a non-KDE window manager:
1) If your desktop environment/window manager performs session restoration,
ensure that the kalarm is included in the session restoration, and that
after login or restarting X kalarm is running with a '-session' command
line option, e.g.
kalarm -session 117f000002000100176495700000008340018
You can use the 'ps' command to check this.
Using session restoration will ensure that alarm message windows which
were displayed at the time of logout will be redisplayed when you log in
again.
2) To ensure that KAlarm is always started when you log in, even if it was
not running at logout (so that it wouldn't be included in session
restoration), you should configure one of the following commands to be run
whenever you graphically log in or start X:
a) If you cannot use session restoration to start KAlarm, run:
kalarm --tray
b) If you use session restoration, you MUST NOT use the above command, but
instead run:
kalarmautostart kalarm --tray
The reason for using this command instead is that if 'kalarm --tray' is
executed while session restoration is already underway, KAlarm will
fail to start. This is an unavoidable consequence of how a KDE
application interacts with session restoration.
If your desktop environment or window manager has a facility to configure
programs to be run at login, you can use that facility. Otherwise, you need
to add the command to an appropriate script which is run after X is started.
If you can send me details on how to set up KAlarm for any particular window
manager, I will include these in the next version of KAlarm.