Giter VIP home page Giter VIP logo

gdi's Introduction

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.

gdi's People

Contributors

tele1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.