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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
|
package MDV::Control_Center;
# Copyright (C) 1999-2008 Mandriva
# Daouda Lo
# Damien Krotkine
# Thierry Vignaud <tvignaud@mandriva.com>
# Yves Duret
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
use strict;
use lib qw(/usr/lib/libDrakX);
use common;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(
$mcc_dir $themes_dir
%programs
$version
);
our ($version) = cat_("/etc/mandrakelinux-release") =~ /\b(\d+\.\d+)/;
#-------------------------------------------------------------
# paths
our $mcc_dir = "/usr/share/mcc";
our $themes_dir = "$mcc_dir/themes/";
# { key => { log_exp, binary, embedded?, description ] }
# embedded meaning: -1 => not embedded, 0 => external x11 app, 1 => proper embedding
our %programs =
(
"3D" =>
{
binary => "drak3d",
embedded => 1,
description => N("Configure 3D Desktop effects"),
long_description => N("Configure 3D Desktop effects"),
icon => 'drak3d',
},
"Authentication" =>
{
binary => "drakauth",
embedded => 1,
description =>
#-PO: this message is already translated in drakx domain from which MCC will searchs it:
N("Authentication"),
long_description => N("Select the authentication method (local, NIS, LDAP, Windows Domain, ...)"),
icon => 'drakauth-mdk',
},
"Auto login Config" =>
{
binary => "drakautologin",
embedded => 1,
description => N("Set up autologin to automatically log in"),
long_description => N("Enable autologin and select the user to automatically log in"),
icon => 'autologin-mdk',
},
"Snapshots" =>
{
binary => "draksnapshot-config",
embedded => 1,
description => N("Snapshots"),
long_description => '',
icon => 'snapshots',
},
"Boot Config" =>
{
binary => "drakboot --boot",
embedded => 1,
description => N("Set up boot system"),
long_description => N("Set up how the system boots"),
icon => 'drakboot-mdk',
},
"Connection Sharing" =>
{
binary => "drakgw",
embedded => 1,
description => N("Share the Internet connection with other local machines"),
long_description => N("Share the Internet connection with other local machines"),
icon => 'drakgw-mdk',
},
"Add Connection" =>
{
binary => "drakconnect --wizard",
embedded => 1,
description => N("Set up a new network interface (LAN, ISDN, ADSL, ...)"),
long_description => N("Set up a new network interface (LAN, ISDN, ADSL, ...)"),
icon => 'new-connection-mdk',
},
"Configure Internet" =>
{
binary => "drakconnect --internet",
embedded => 1,
description => N("Internet access"),
long_description => N("Alter miscellaneous internet settings"),
icon => 'internet-access-mdk',
},
"Console" =>
{
binary => "drakconsole",
embedded => 1,
description => N("Open a console as administrator"),
long_description => N("Open a console as administrator"),
icon => 'console-mdk',
#The Console will help you to solve issues
},
"Date & Time" =>
{
binary => "drakclock",
embedded => 1,
description => N("Manage date and time"),
long_description => N("Manage date and time"),
icon => 'time-mdk',
},
"Display Manager chooser" =>
{
binary => "drakedm",
embedded => 1,
description => N("Set up display manager"),
long_description => N("Choose the display manager that enables to select which user to log in"),
icon => 'drakedm-mdk',
},
"Fax" =>
{
binary => "drakfax_server",
embedded => 1,
description => N("Configure a fax server"),
long_description => N("Configure a fax server"),
icon => 'drakfax-mdk',
},
"Firewall" =>
{
binary => "drakfirewall",
embedded => 1,
description => N("Set up your personal firewall"),
long_description => N("Set up a personal firewall in order to protect the computer and the network"),
icon => 'firewall-mdk',
},
"Fonts" =>
{
binary => "drakfont",
embedded => 1,
description => N("Manage, add and remove fonts. Import Windows(TM) fonts"),
long_description => N("Manage, add and remove fonts. Import Windows(TM) fonts"),
icon => 'drakfont-mdk',
},
"Graphical server configuration" =>
{
binary => "drakx11",
embedded => 1,
description => N("Set up the graphical server"),
long_description => N("Set up the graphical server"),
icon => 'XFdrake-mdk'
},
"Hard Drives" =>
{
binary => "diskdrake --hd",
embedded => 1,
description => N("Manage disk partitions"),
long_description => N("Create, delete and resize hard disk partitions"),
icon => 'diskdrake_hd',
},
"Hardware List" =>
{
binary => "drakhardware",
embedded => 1,
description => N("Browse and configure hardware"),
long_description => N("Browse and configure hardware"),
icon => 'harddrake-mdk',
application_driven_menu => 1,
},
"Sound" =>
{
binary => "draksound",
embedded => 1,
description => N("Sound Configuration"),
long_description => N("Sound Configuration"),
icon => 'sound',
},
"Hosts" =>
{
binary => "drakhosts",
embedded => 1,
description => N("Hosts definitions"),
long_description => N("Manage hosts definitions"),
icon => 'drakhosts',
},
"Install Software" =>
{
binary => "drakrpm",
embedded => 1,
description => N("Install & Remove Software"),
long_description => N("Install, uninstall software"),
icon => 'installremoverpm',
application_driven_menu => 1,
},
"Invictus Firewall" =>
{
binary => "drakinvictus",
embedded => 1,
description => N("Advanced setup for network interfaces and firewall"),
long_description => N("Set up network interfaces failover and firewall replication"),
icon => 'invictus',
},
"Keyboard" =>
{
binary => "drakkeyboard",
embedded => 1,
description => N("Set up the keyboard layout"),
long_description => N("Set up the keyboard layout"),
icon => 'keyboard-mdk',
},
"Kolab" =>
{
binary => "kolab",
embedded => 1,
description => N("Kolab"),
long_description => N("Set up a groupware server"),
},
"Localization" =>
{
binary => "draklocale",
embedded => 1,
icon => 'localedrake',
description => N("Manage localization for your system"),
long_description => N("Select the language and the country or region of the system"),
},
"Logs" =>
{
binary => "draklog",
embedded => 1,
description => N("View and search system logs"),
long_description => N("View and search system logs"),
icon => 'logdrake-mdk',
},
"Manage Connection" =>
{
binary => "drakconnect --skip-wizard",
embedded => 1,
description => N("Manage connections"),
long_description => N("Reconfigure a network interface"),
icon => 'manage-connections-mdk',
},
"Manage park" =>
{
binary => "park-rpmdrake",
embedded => 1,
description => N("Manage computer group"),
long_description => N("Manage installed software packages on a group of computers"),
icon => 'drakpark-mdk',
},
"Mageia Tools Authentication" =>
{
binary => "draksec",
embedded => 1,
description => N("Configure authentication for Mageia tools"),
long_description => N("Define authentication required to access individual Mageia configuration tools "),
icon => 'drakperm-mdk',
},
"Mageia Update" =>
{
binary => "MageiaUpdate",
embedded => 1,
description => N("Update your system"),
long_description => N("Look at available updates and apply any fixes or upgrades to installed packages"),
icon => 'MageiaUpdate',
application_driven_menu => 1,
},
"Migration" =>
{
binary => "transfugdrake",
embedded => 1,
description => N("Import Windows(TM) documents and settings"),
long_description => N("Import Windows(TM) documents and settings"),
icon => 'migrationtools',
},
"Monitor Connection" =>
{
binary => "net_monitor",
embedded => 1,
description => N("Monitor connections"),
long_description => N("Monitor the network connections"),
icon => 'net_monitor-mdk',
},
"Mouse" =>
{
binary => "drakmouse",
embedded => 1,
description => N("Set up the pointer device (mouse, touchpad)"),
long_description => N("Set up the pointer device (mouse, touchpad)"),
icon => 'mousedrake-mdk',
},
"Parental Controls" => {
binary => "drakguard",
embedded => 1,
description => N("Parental Controls"),
long_description => N("Parental Controls"),
icon => 'drakguard',
},
"Network Center" =>
{
binary => "draknetcenter",
embedded => 1,
description => N("Network Center"),
long_description => N("Manage your network devices"),
icon => 'netcenter',
},
"Network Profiles" =>
{
binary => "draknetprofile",
embedded => 1,
description => N("Manage different network profiles"),
long_description => N("Activate and manage network profiles"),
icon => 'draknetprofile',
},
"NFS mount points" =>
{
binary => "diskdrake --nfs",
embedded => 1,
description => N("Access NFS shared drives and directories"),
long_description => N("Set NFS mount points"),
icon => 'diskdrake_nfs',
},
"NFS exports" =>
{
binary => "draknfs",
embedded => 1,
description => N("Share drives and directories using NFS"),
long_description => N("Manage NFS shares"),
icon => 'draknfs',
application_driven_menu => 1,
},
"Package stats" =>
{
binary => "drakstats",
embedded => 1,
description => N("Package Stats"),
long_description => N("Show statistics about usage of installed software packages"),
icon => 'source-manager',
},
"Partition Sharing" =>
{
binary => "diskdrake --fileshare",
embedded => 1,
description => N("Share your hard disk partitions"),
long_description => N("Set up sharing of your hard disk partitions"),
icon => 'diskdrake_fileshare',
},
"Printer" =>
{
binary => "system-config-printer",
embedded => 1,
description => N("Set up the printer(s), the print job queues, ..."),
icon => 'printer-mcc-mdk',
long_description => N("Set up the printer(s), the print job queues, ..."),
services_to_start_after_install => [ 'cups' ],
application_driven_menu => 1,
},
"Programs scheduling" =>
{
binary => "drakcronat",
embedded => 1,
description => N("Scheduled tasks"),
long_description => N("Schedule programs to run periodically or at given times"),
#DrakCronAt enables to schedule Programs execution through crond and atd daemons
icon => 'drakcronat-mdk',
},
"Proxy Configuration" =>
{
binary => "drakproxy",
embedded => 1,
description => N("Proxy"),
long_description => N("Set up a proxy server for files and web browsing"),
icon => 'drakproxy-mdk',
},
"Remote Control" =>
{
binary => "rfbdrake",
embedded => 1,
description => N("Remote Control (Linux/Unix, Windows)"),
long_description => N("Remote Control of another machine (Linux/Unix, Windows)"),
icon => 'internet-access-mdk',
},
"Remove Interface" =>
{
binary => "drakconnect --del",
embedded => 1,
description => N("Remove a connection"),
long_description => N("Delete a network interface"),
icon => 'remove-connection-mdk',
},
#- currently unused
"Roaming" =>
{
binary => "drakroam",
embedded => 1,
description => N("Wireless connection"),
long_description => N("Wireless connection"),
icon => 'drakroam-mdk',
},
"Access Windows shares" =>
{
binary => "diskdrake --smb",
embedded => 1,
description => N("Access Windows (SMB) shared drives and directories"),
long_description => N("Configuration of Windows (Samba) shared drives and directories"),
icon => 'diskdrake_samba',
},
"Samba configuration" =>
{
binary => "draksambashare",
embedded => 1,
description => N("Share drives and directories with Windows (SMB) systems"),
long_description => N("Manage configuration of Samba"),
icon => 'draksambashare',
application_driven_menu => 1,
},
"Scanner" =>
{
binary => "drakscanner",
embedded => 1,
description => N("Set up scanner"),
long_description => N("Set up scanner"),
icon => 'scanner-mdk',
},
"Security Level" =>
{
binary => "msecgui",
embedded => 1,
description => N("Configure system security, permissions and audit"),
long_description => N("Set the system security level, periodic security audit and permissions"),
icon => 'draksec-mdk',
application_driven_menu => 1,
},
"Services" =>
{
binary => "drakxservices",
embedded => 1,
description => N("Manage system services by enabling or disabling them"),
long_description => N("Manage system services by enabling or disabling them"),
icon => 'service-mdk',
},
"Software Media Manager" =>
{
binary => "drakrpm-edit-media",
embedded => 1,
description => N("Configure media sources for install and update"),
long_description => N("Select from where software packages are downloaded "),
icon => 'source-manager',
application_driven_menu => 1,
},
"Updates Configuration" =>
{
binary => "mgaapplet-config",
embedded => 1,
description => N("Configure updates frequency"),
icon => 'update-freq',
},
"UPS" =>
{
binary => "drakups --wizard",
embedded => 1,
description =>
#-PO: UPS==Uninterruptible power supply
N("Set up a UPS for power monitoring"),
long_description =>
#-PO: here power means electrical power
N("Set up a UPS for power monitoring"),
icon => 'drakups-mdk',
},
"Users" =>
{
# too big
binary => "userdrake",
embedded => 1,
description => N("Manage users on system"),
long_description => N("Add, remove or change users of the system"),
icon => 'user-mdk',
application_driven_menu => 1,
},
"VPN" =>
{
binary => "drakvpn",
embedded => 1,
description => N("Configure VPN connection to secure network access"),
long_description => N("Configure VPN connection to secure network access"),
icon => 'drakvpn',
},
"WebDAV mount points" =>
{
binary => "diskdrake --dav",
embedded => 1,
description => N("Access WebDAV shared drives and directories"),
long_description => N("Set WebDAV mount points"),
icon => 'webdav-mdk',
},
);
1;
|