Skip to content

tele1/gdi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages