-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
98 lines (76 loc) · 2.56 KB
/
README
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
GDI - PCLinuxOS desktop environment installation manager.
- Designed for PCLinuxOS.
# Name: GDI - Graphical Desktop Installer
# Version: 8 Beta
# License: GNU GPL v3
# https://gnu.org/licenses/gpl.html
# Date: 3.01.2016
========= IMPORTANT DEPENDENCIES =========
/etc/X11/dm/Sessions/*
gdm
gtkdialog
bash
sh
awk
sed
grep
ls
cut
apt
comm
arch
sort
tee
png (library)
svg (library)
========= HOW TO RUN GDI: =========
gksu ./gdi
or just as root in current directory
./gdi
========= LOGS: =========
- Logs are created in
/var/log/gdi
- Only about last 5 logs are saved, other are removed.
You can change it in "functions" file.
( line 85: # Maximum number of files to keep )
========= WARNINGS: =========
- Working of software depends on current repository state what
means, that GDI may not work correctly if repository has temporary issues like synchronising, offline state, etc.
- fvwm2 in 64 bit PCLinuxOS does not create session file,
however other desktop enviroments' session files are created well.
========= Tips: ===========
#-----------------------------------------------{
# - How create ".list" file ?
# ".list" file works similar to "task" package. It means that task installs suggested packages for desktop environment,
# but ".list" file have also added some dependencies, because apt doesn't remove some of them,
# Removing all dependencies can broke system, so ".list" file keeps only part - not important dependencies.
# ".list" files should be sorted, in list folder exists script which can help.
# Comand shows which packages are needed for task-kde4 metapackage
apt-cache depends task-kde4
apt-cache depends task-kde4 | cut -d" " -f4
# Command shows which packages use AfterStep metapackage
apt-cache whatdepends AfterStep
#-----------------------------------------------}
# How to list all installed Desktop Enviroments:
ls /etc/X11/dm/Sessions/
grep -h "Name=" /etc/X11/dm/Sessions/* | cut -c 6-
# Other:
$ echo $XDG_CURRENT_DESKTOP
MATE
$ echo $DESKTOP_SESSION
05MATE
$ ps -e | grep 'mate-session'
6876 ? 00:00:00 mate-session
$ cat /etc/sysconfig/desktop
DISPLAYMANAGER=GNOME
$ cat $HOME/.dmrc
[Desktop]
Session=05MATE
# Languages:
Check: /gdi/data/languages/create.pot.and.po.files
# - script "create.pot.and.po.files" help create ".po" files
# - script "sort.sh" help sort files, because should be sorted.
========= History: ===========
28.09.2015 - Alpha
19.12.2015 - Beta
# 14.05.2020 - Warning: This project is a bit outdated, you use at your own risk.