summaryrefslogtreecommitdiff
path: root/package/qingy/files
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-06-14 01:42:40 +0200
committerPhil Sutter <phil@nwl.cc>2010-06-20 16:24:27 +0200
commit811342f7eb50ed9fa34ef2684a0a0e8650628fd8 (patch)
treea83456a80429226122071b18284f3977b54b2abd /package/qingy/files
parent1ee28515a05409a80379bf03e8604cef1ab0f473 (diff)
port qingy and it's dependencies DirectFB and libXScrnSaver
Diffstat (limited to 'package/qingy/files')
-rw-r--r--package/qingy/files/post_GUI.sh10
-rw-r--r--package/qingy/files/pre_GUI.sh11
-rw-r--r--package/qingy/files/qingy.conffiles4
-rw-r--r--package/qingy/files/qingy.postinst12
-rw-r--r--package/qingy/files/settings90
-rw-r--r--package/qingy/files/welcomes1
6 files changed, 128 insertions, 0 deletions
diff --git a/package/qingy/files/post_GUI.sh b/package/qingy/files/post_GUI.sh
new file mode 100644
index 000000000..fa46d024a
--- /dev/null
+++ b/package/qingy/files/post_GUI.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+filename="/tmp/qingy_restart_gpm"
+
+if [ -f $filename ]; then
+
+ /etc/init.d/gpm start >/dev/null 2>/dev/null
+ rm $filename
+
+fi
diff --git a/package/qingy/files/pre_GUI.sh b/package/qingy/files/pre_GUI.sh
new file mode 100644
index 000000000..2c0fff1fb
--- /dev/null
+++ b/package/qingy/files/pre_GUI.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+filename="/tmp/qingy_restart_gpm"
+status=`pgrep gpm`
+
+if [ "$status" != "" ]; then
+
+ /etc/init.d/gpm stop >/dev/null 2>/dev/null
+ touch $filename
+
+fi
diff --git a/package/qingy/files/qingy.conffiles b/package/qingy/files/qingy.conffiles
new file mode 100644
index 000000000..332648b28
--- /dev/null
+++ b/package/qingy/files/qingy.conffiles
@@ -0,0 +1,4 @@
+/etc/qingy/settings
+/etc/qingy/welcomes
+/etc/qingy/pre_GUI.sh
+/etc/qingy/post_GUI.sh
diff --git a/package/qingy/files/qingy.postinst b/package/qingy/files/qingy.postinst
new file mode 100644
index 000000000..a68f5fe90
--- /dev/null
+++ b/package/qingy/files/qingy.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+cat <<EOF
+
+To enjoy the qingy experience, edit /etc/inittab like so:
+
+- tty7::respawn:/sbin/getty -i -L tty7 115200 vt100
++ tty7::respawn:/usr/sbin/qingy tty7 -n -r 1024x600 -f /dev/fb0
+
+for an explanation of the used options, run 'qingy -h'.
+
+EOF
diff --git a/package/qingy/files/settings b/package/qingy/files/settings
new file mode 100644
index 000000000..1f56e3342
--- /dev/null
+++ b/package/qingy/files/settings
@@ -0,0 +1,90 @@
+# Directory containing X sessions
+x_sessions = "/etc/X11/Sessions/"
+# Directory containing text mode sessions
+text_sessions = "/etc/qingy/sessions/"
+# Directory where qingy should put its temporary files
+temp_files_dir = "/tmp"
+# Where are the themes?
+themes_dir = "/usr/share/qingy/themes"
+
+# Full path to the X server
+# x_server = "/usr/X11R6/bin/XFree86"
+# Full path to the 'xinit' executable
+xinit = "/usr/bin/xinit"
+
+# Parameter we should pass to the X server
+x_args = "-nolisten tcp -br"
+
+# How verbose should qingy be?
+# Possible values are debug, error
+# Default value is error
+log_level = error
+
+# Where should qingy messages be logged?
+# Values can be one or more of the following:
+# console, file, syslog
+# Default value is console
+# log_facilities = console, file
+log_facilities = console, syslog
+
+# Offset to search for an available X server number.
+# This number affects the DISPLAY env variable.
+# Default is 1, setting it to 0 will make buggy OpenGL implementations
+# (like the ATI one) work with qingy, but it will also make it impossible
+# to start an X server from console using startx without passing it
+# extra parameters.
+#x_server_offset = 1
+
+# Where should we start the X server?
+# Accepted values are:
+# qingy_tty (default) to start it in the same tty qingy is running in
+# unused_tty to start it into an unused tty
+x_server_tty = qingy_tty
+
+# Scripts that should be executed just before/after qingy GUI is fired up/shut down
+pre_gui_script = "/etc/qingy/pre_GUI.sh"
+post_gui_script = "/etc/qingy/post_GUI.sh"
+
+# What theme do you want (you can also specify 'random')
+# theme = random
+theme = "default"
+
+# What happens when we press the 'sleep' button?
+#sleep = "/usr/local/sbin/hibernate"
+
+# whether we should clear background image during dialogs (default is no)...
+# this is the default setting, it gets overridden if the theme you are using
+# sets the same setting differently...
+# clear_background = yes
+
+# whether to allow session locking; if you enable this, when you try to
+# switch to a qingy-controlled tty whose owner is not your current
+# user, you will be asked for the password of that user before being
+# allowed to continue. If you are root, of course, you can switch
+# to any tty you chose to. Default setting is 'no'.
+#lock_sessions = yes
+
+# whether to allow session timeout; if you enable this, after the amount
+# of minutes specified in idle_timeout variable, idle_action will be
+# performed. Allowed actions are:
+# lock will lock user session asking you for your password
+# logout will close your session
+#idle_timeout = 30
+#idle_action = lock
+
+# prevent qingy from logging in user or firing up its GUI if system
+# is restarting / shutting down
+#check_runlevel = yes
+#exclude_runlevels = 0, 6
+
+keybindings
+{
+ prev_tty = "win" # switch to left tty
+ next_tty = "menu" # switch to right tty
+ poweroff = "ALT-p" # shutdown your system
+ reboot = "ALT-r" # restart your system
+ screensaver = "ALT-s" # activate screen saver
+ sleep = "ALT-z" # put machine to sleep
+ kill = "CTRL-c" # kill qingy
+ text_mode = "CTRL-ESC" # Revert to text mode
+}
diff --git a/package/qingy/files/welcomes b/package/qingy/files/welcomes
new file mode 100644
index 000000000..63068dfd4
--- /dev/null
+++ b/package/qingy/files/welcomes
@@ -0,0 +1 @@
+root Greetings, Master...