Developer Shift 1.0 Alpha 1 Preview


Recommended Posts

We promised this a while back, and, without further ado, here is a really, really rough, non-X Shift Linux. I'll repeat that. No X. X does NOT work. Everything, however, is installed.

With that in mind, can some developers help us out, getting X to run? Run startx, X -configure, or anything. Extract the squashfs and have fun.

I'd like to repeat it again: this is NOT a working release (well, it'll take you to bash..) It's based on kernel 2.6.28. I was too tired to edit the boot menu and init scripts. I'll have that done for the next alpha. Also, it's not installable. If you have a fix or want to contact me in a faster way, email me at crimsonredmk at shiftlinux dot net.

http://shift.itsredegg.com/releases/1.0/sh...inux-1.0-a1.iso

Edited by CrimsonRedMk
Link to comment
https://www.neowin.net/forum/topic/730354-developer-shift-10-alpha-1-preview/
Share on other sites

Getting Xorg to work here (VirtualBox) was as simple as running the following commands:

useradd avahi
groupadd network
useradd hal
useradd policykit
useradd dbus
/etc/rc.d/hal start

No need for an xorg.conf. The latest Xorg's hotplugging requires hal, hal requires dbus and so on. Test it out and let me know how it goes.

Edited by rson451
this would be great if we could get it it tuned for netbook usages

can we get a torrent of the iso at one of these linux trackers http://linuxtracker.org/, http://www.tuxdistro.com/ or http://www.linux23.com/

back int the day i ran the linux tracker, then it got took over by the official team and moved to neowin servers.

Ohh guys... look at what we-ve got here >p

#!/bin/bash

# Copyright Jean-Philippe Guillemin <[email protected]>. 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 of the License,
# or (at your option) any later version. Please take a look at http://www.gnu.org/copyleft/gpl.htm

# This script :
# - probes for videocard, monitor and keyboard
# - ask for runlevel
# - writes a configured Xorg config file.



# Version 1.0 - 30/08/2005
#  * Added Xdialog support
# Version 1.1 - 27/09/2005
#  * Fixed bug in call to discover causing glibc error message
# Version 1.2 - 16/10/2005
#  * Fixed bug when 2 video cards are detected by discover
# Version 1.3 - 22/10/2005
#  * Improved/secured tempdir management
# Version 2.0 - 29/12/2005
#  * Monitor probing with edid/X-configure
# Version 2.1 - 17/06/2006
#  * Removed discover support
# Version 2.2 - 17/06/2006
#  * Improved modules detection
# Version 3.2 - 29/09/2006
#  * Ported to Xorg 7.x
# Version 3.3 - 08/04/2007
#  * Compositor aware
# Version 3.4 - 18/04/2007
#  * Silent mode
# Version 4.0 - 02/10/2007
#  * Synaptics and modeline improvements

. /usr/lib/liblinuxlive

# Take a look at "Xdialog" and use it instead of "dialog" in case X is running
if [[ "$DISPLAY" && "$(which Xdialog 2>&1 | grep -v "which: no")" ]]; then
	dialog="Xdialog --wrap --left"
else
	dialog="dialog"
fi

# Set the locale in en_US, to avoid problems with Xlib
LANG=en_US

# Path needs to be extended in case you're only half a root :)
export PATH="${PATH}:/usr/sbin:/sbin"

# create the buffer directory
export tmpdir="/tmp/videoconfig"
mkdir -p $tmpdir

xdepth=$(cmdline_value xdepth)
if [ "$xdepth" = "" ]; then
	xdepth=24
fi

# Create the xorg.conf file
writexorg() {

cp -f /etc/X11/xorg.conf /etc/X11/xorg.old 2>/dev/null

# Header
cat << EOF >  /etc/X11/xorg.conf

# **********************************************************************
# This file was generated by videoconfig (Zenwalk Xorg configuration tool)
# If you changed your video card or monitor, please run videoconfig again
# from runlevel 3. Don't modify this file yourself until you know what you do;)
# **********************************************************************

EOF

# Files section
cat << EOF >>  /etc/X11/xorg.conf

# **********************************************************************
# Files section -- This allows default font and rgb paths to be set
# **********************************************************************

EOF

cat $tmpdir/xorg.files >> /etc/X11/xorg.conf

# Remaining sections
cat << EOF >>  /etc/X11/xorg.conf

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

EOF

cat $tmpdir/xorg.modules >> /etc/X11/xorg.conf

if [ ! "$(grep 'Load.*\"synaptics\"' /etc/X11/xorg.conf)" ]; then
	 sed -i '/Section \"Module\"/  a\	Load  "synaptics"' /etc/X11/xorg.conf
fi

# Remaining sections
cat << EOF >>  /etc/X11/xorg.conf

# **********************************************************************
# Server flags section
# **********************************************************************

Section "ServerFlags"
#	Option	 "NoTrapSignals"
#	Option	 "DontVTSwitch"
#	Option	 "DontZap"
#	Option	 "DontZoom"
#	Option	 "DisableVidModeExtension"
#	Option	 "AllowNonLocalXvidtune"
#	Option	 "DisableModInDev"
#	Option	 "AllowNonLocalModInDev"
#	Option	  "blank time"	"10"	# 10 minutes
#	Option	  "standby time"  "20"
#	Option	  "suspend time"  "30"
#	Option	  "off time"	  "60"

# Option   "EstimateSizesAggresively" "0"

EndSection


# **********************************************************************
# DRI section
# **********************************************************************

Section "dri"
# Access to OpenGL ICD is allowed for all users:
	Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#	Group 100	# users
EndSection


# **********************************************************************
# Extensions section
# **********************************************************************

Section "Extensions"
		Option "Composite" "Disable"
		Option "RENDER" "Enable"
		Option "DAMAGE" "Enable"
		Option "XVideo" "Enable" 
EndSection


# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"
	Identifier	"Keyboard1"
	Driver	"kbd"
#	Option	 "Protocol"	  "Xqueue"
#	Option	 "AutoRepeat"	"500 5"
#	Option	 "Xleds" "1 2 3"
#	Option	 "XkbDisable"

	Option	 "XkbRules"	  "xorg"
	Option	 "XkbModel"	  "pc105"
	Option	 "XkbLayout"	 "$xkblayout"
#	Option	 "XkbVariant"	"us"
	Option	 "XkbOptions"	"$xkboptions"
EndSection


# **********************************************************************
# Pointers section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
	Identifier "Mouse1"
	Driver		 "mouse"
	Option		 "Protocol" "Auto"
	Option		 "Device" "/dev/input/mice"
#	Option	 "Protocol" "Xqueue"
#	Option	 "BaudRate" "9600"
#	Option	 "SampleRate"	"150"
#	Option	 "Emulate3Buttons"
#	Option	 "Emulate3Timeout" "50"
#	Option	 "ChordMiddle"
	Option	 "ZAxisMapping" "4 5"
EndSection

Section "InputDevice" 
	Identifier	"Pad1" 
	Driver		"synaptics" 
	Option		   "Protocol" "auto-dev" 
	Option		   "Device" "$paddevice" 
	Option		"LeftEdge"	  "1700" 
	Option		"RightEdge"	 "5300" 
	Option		"TopEdge"	   "1700" 
	Option		"BottomEdge"	"4200" 
	Option		"FingerLow"	 "25" 
	Option		"FingerHigh"	"30" 
	Option		"MaxTapTime"	"180" 
	Option		"MaxTapMove"	"220" 
	Option		"VertScrollDelta" "100" 
	Option		"MinSpeed"	  "0.09" 
	Option		"MaxSpeed"	  "0.18" 
	Option		"AccelFactor"   "0.0015" 
	Option		"SHMConfig"	 "on" 
EndSection 


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
	Identifier	 "Monitor1"
$monitorvendorname
$monitormodelname

	$modeline	

$horizsync
$vertrefresh
	$useedidfreqs
$dpms
	Option "ReducedBlanking"

EndSection


# **********************************************************************
# Graphic devices section
# **********************************************************************

# Any number of graphic devices sections may be present

Section "Device"
	Identifier	 "Videocard1"
$cardvendorname
	BoardName   "$videocard"
	Driver	 "$driver"
$busid
	Option "RenderAccel" "true"
	Option		  "DRI"	 "true"
   	Option		  "XAANoOffscreenPixmaps" "true"
   	Option "VideoOverlay" "on"
	Option "TexturedVideo" "on"
	Option "Textured2D" "on"
	Option "TexturedXrender" "on"
	Option "UseFastTLS" "1"
	Option "BackingStore" "on"
EndSection

# **********************************************************************
# Screen section
# **********************************************************************

Section "Screen"
	Identifier  "Videoconfig"
	Device	  "Videocard1"
	Monitor	 "Monitor1"

   DefaultDepth $xdepth

	Subsection "Display"
		Depth	   8
		Modes $mode "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
		Depth	   16
		Modes $mode "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
		Depth	   24
		Modes $mode "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
	Subsection "Display"
		Depth	   32
		Modes $mode "1280x1024" "1024x768" "800x600" "640x480"
	EndSubsection
EndSection

# **********************************************************************
# ServerLayout section
# **********************************************************************

Section "ServerLayout"
	Identifier		"Simple Layout"
	Screen			"Videoconfig"
	InputDevice		"Mouse1" "CorePointer"
	InputDevice		"Pad1" "SendCoreEvents"
	InputDevice		"Keyboard1" "CoreKeyboard"
	Option		 "AIGLX" "Disable"
EndSection

EOF

}


# Probe monitor model, frequencies and videocard driver #################################
function xprob(){

  useedidfreqs=''

  # Probing videocard
  currenthome=$HOME
  HOME=$tmpdir
  /usr/bin/X -configure 2>/dev/null
  HOME=$currenthome

  # Probing monitor
  /usr/sbin/get-edid 2>/dev/null | /usr/sbin/parse-edid 2>/dev/null > $tmpdir/edid-data.txt

  # VendorName
  buffer=""
  buffer="$( sed -n '/^ *Section *\"Monitor\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new \
  | grep "VendorName" \
  | grep -v "Monitor Vendor" \
  | sed -e 's/.*VendorName[ \t]*\"\(.*\)\"$/\1/' \
  | sed -e 's/\"/,/g' )"

  if [ ! "$buffer" ]; then
	buffer="$(grep "VendorName" $tmpdir/edid-data.txt \
	| sed -e 's/.*VendorName[ \t]*\"\(.*\)\"$/\1/' \
	| sed -e 's/\"/,/g' )"
  fi
  [ ! "$buffer" ] && buffer='Artefact'
  monitorvendorname="	 VendorName \"$buffer\""

  # ModelName
  buffer=""
  buffer="$( sed -n '/^ *Section *\"Monitor\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new \
  | grep "ModelName" \
  | grep -v "Monitor Model" \
  | sed -e 's/.*ModelName[ \t]*\"\(.*\)\"$/\1/' \
  | sed -e 's/\"/,/g' )"

  if [ ! "$buffer" ]; then
	buffer="$(grep "ModelName" $tmpdir/edid-data.txt \
	| sed -e 's/.*ModelName[ \t]*\"\(.*\)\"$/\1/' \
	| sed -e 's/\"/,/g' )"
  fi
  [ ! "$buffer" ] && buffer='My monitor'
  monitormodelname="	 ModelName \"$buffer\""

  # Tunning
  horizsync="$( sed -n '/^ *Section *\"Monitor\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new | grep "HorizSync")"
  if [ ! "$horizsync" ]; then
	horizsync="$(cat $tmpdir/edid-data.txt | grep "HorizSync")"
	if [ ! "$horizsync" ]; then
	  horizsync='	 HorizSync 31.5 - 50.0'
	  useedidfreqs='	 Option "UseEdidFreqs" "1"'
	fi
  fi

  vertrefresh="$( sed -n '/^ *Section *\"Monitor\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new | grep "VertRefresh")"
  if [ ! "$vertrefresh" ]; then
	vertrefresh="$(grep "VertRefresh" $tmpdir/edid-data.txt)"
	if [ ! "$vertrefresh" ]; then
	  vertrefresh='	 VertRefresh 40-90'
	  useedidfreqs='	 Option "UseEdidFreqs" "1"'
	fi
  fi

  resolution="$(sed -n 's/[ \t]*Mode[ \t]*"\(.*\)".*$/\1/p' $tmpdir/edid-data.txt | head -n1)"
  X="$(echo $resolution | sed -e 's/^\([0-9]*\)x.*/\1/')"

  if [[ $X -ge 800 && $X -le 2800 ]]; then
	dotclock="$(sed -n 's/[ \t]*DotClock[ \t]*\([0-9\.]*\).*$/\1/p' $tmpdir/edid-data.txt | head -n1)"
	htimings="$(sed -n 's/[ \t]*HTimings[ \t]*\([0-9 ]*\).*$/\1/p' $tmpdir/edid-data.txt | head -n1)"
	vtimings="$(sed -n 's/[ \t]*VTimings[ \t]*\([0-9 ]*\).*$/\1/p' $tmpdir/edid-data.txt | head -n1)"
	flags="$(sed -n 's/[ \t]*Flags[ \t]*"\(.*\)".*$/\1/p' $tmpdir/edid-data.txt | tr -d '"' | head -n1)"
	vfreq="$(sed -n 's/.*vfreq[ \t]*\([0-9\.]*\)Hz.*$/\1/p' $tmpdir/edid-data.txt | head -n1)"
	mode="\"${resolution}_${vfreq}\""
	modeline="Modeline $mode $dotclock $htimings $vtimings $flags"
  fi

  dpms="$( sed -n '/^ *Section *\"Monitor\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new | grep "DPMS")"

  cardvendorname="$( sed -n '/^ *Section *\"Device\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new | grep "VendorName" )"

  driver="$( sed -n '/^ *Section *\"Device\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new \
  | grep -v "##" \
  | grep "Driver" \
  | sed -e 's/^[ \t]*Driver[ \t]*\"\(.*\)\".*$/\1/')"
  [ ! "$driver" ] && driver='vesa'


  videocard="$( sed -n '/^ *Section *\"Device\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new \
  | grep "BoardName" \
  | grep -v "Unknown" \
  | sed -e 's/^[ \t]*BoardName[ \t]*\"\(.*\)\".*$/\1/' )"
  [ ! "$videocard" ] && videocard="Video device"


  busid="$( sed -n '/^ *Section *\"Device\" *$/,/^ *EndSection *$/p' $tmpdir/xorg.conf.new | grep "BusID" )"

  # The module section of xorg.conf
  sed -n '/Section \"Module\"/,/EndSection/p' $tmpdir/xorg.conf.new > $tmpdir/xorg.modules

  # The files section of xorg.conf
  sed -n '/Section \"Files\"/,/EndSection/p' $tmpdir/xorg.conf.new > $tmpdir/xorg.files

  # The touchpad device
  for paddevice in /dev/input/tp0 /dev/input/ts0 /dev/ts0 /dev/tp0 /dev/input/tp1 /dev/input/ts1 /dev/ts1 /dev/tp1; do
	[ -e $paddevice ] && break
  done

}



##################################################################
# Converts keyboard map from kmap (/usr/share/kbd/keymaps) to xkb (/etc/X11/xkb)
function xkbconvert(){

# Probing the keymap

  key="$(grep "^[[:space:]]*\/usr\/bin\/loadkeys" /etc/rc.d/keymap \
	| sed -e 's/^.*loadkeys *\([^\.]*\)\(\.map\)*$/\1/')"



	# We convert keymap into XkbLayout  -- The fields are  keymap | XkbLayout | XkbOptions

	cat << "EOF" | grep "^$key|.*|.*" \
	  | sed -e "s/^.*|\(.*\)|\(.*\)/\1|\2/" > $tmpdir/xkb
ANSI-dvorak|dvorak|
al|al|
am|am|
ar|ar|
azerty|fr|
az|az|
be-latin1|be|
bg-cp1251|bg|
bg-cp855|bg|
bg_bds-cp1251|bg|
bg_bds-utf8|bg|
bg_pho-cp1251|bg|
bg_pho-utf8|bg|
br-abnt2|br|
br-abnt|br|
br-latin1-abnt2|br|
br-latin1-us|br|
brdk|brdk|
by|by|
by|by|
cf|ca_enhanced|
croat|hr|
cz-cp1250|cz|
cz-lat2-prog|cz|
cz-lat2|cz|
cz-us-qwertz|cz_qwerty|
cz|cz|
de-latin1-nodeadkeys|de|
de-latin1|de|
de_CH-latin1|de_CH|
de|de|
dk-latin1|dk|
dk|dk|
dvorak-l|dvorak|
dvorak-r|dvorak|
dvorak|dvorak|
es-cp850|es|
es|es|
fi-latin1|fi|
fi-latin9|fi|
fi|fi|
fr-latin1|fr|
fr-latin9|fr|
fr-pc|fr|
fr_CH-latin1|fr_CH|
fr_CH|fr_CH|
fr|fr|
gr-pc|us,el|grp:alt_shift_toggle
gr|us,el|grp:alt_shift_toggle
hu|hu|
il-heb|il|
il-phonetic|il|
il|il|
is-latin1-us|is|
is-latin1|is|
it-ibm|it|
it2|it|
it|it|
jp106|jp|
lt.baltic|lt_std|
lt.l4|lt_std|
lt|lt_std|
lt|lt|
lv|lv|
lv-latin7|lv|
mk-cp1251|mk|
mk-utf|mk|
mk0|mk|
mk|mk|
nl2|nl|
nl|nl|
nl|nl|
no-latin1|no|
no|no|
pl2|pl2|
pl|pl|
pt-latin1|pt|
pt-latin9|pt|
ro_win|ro_microsoft|
ru-cp1251|ru|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru-ms|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru-yawerty|ru|
ru1|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru2|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru3|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru4|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru_win|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
ru|us,ru(winkeys)|grp:switch,grp:alt_shift_toggle,grp_led:scroll
se-fi-ir209|se_FI|
se-fi-lat6|se_FI|
se-ir209|se_SE|
se-lat6|se_SE|
sg-latin1-lk450|sg|
sg-latin1|de_CH|
sg|de_CH|
sk-prog-qwerty|sk_qwerty|
sk-prog-qwertz|sk_qwerty|
sk-prog-qwertz|sk|
sk-qwerty|sk_qwerty|
sk-qwertz|sk_qwerty|
slovene|si|
sr-cy|sry|
sv-latin1|se|
syr|syr|
tel|tel|
th_pat|th_pat|
th_tis|th_tis|
th|th|
tj|tj|
tml|tml|
tr_f-latin5|tr_f|
tr_q-latin5|tr|
tralt|tr|
tralt|tr|
trq|tr|
ua-utf-ws|ua|
ua-utf|ua|
ua-ws|ua|
ua|ua|
ua|ua|
uk|gb|
us-acentos|us|
us|us|
uz|uz|
vn|vn|
wangbe2|fr|
wangbe|fr|
EOF

	xkblayout="$(sed -e "s/^\(.*\)|.*/\1/" $tmpdir/xkb)"
	xkboptions="$(sed -e "s/^.*|\(.*\)/\1/" $tmpdir/xkb)"

	rm -f $tmpdir/xkb
	# Fall back to keymap if no xkb maping available
	if [ ! "$xkblayout" ]; then
	  xkblayout="$key"
	  xkboptions=""
	fi

}

##################################################################
function updatefc(){
	# Update the X font indexes
	if [ -x /usr/bin/fc-cache ]; then
		for dir in /usr/share/fonts/*; do touch $dir; done
		/usr/bin/fc-cache 2>&1 1>/dev/null &
	fi
}


##################################################################
function updatemime(){
	# Update the X font indexes
	if [ -x /usr/bin/update-mime-database ]; then
		/usr/bin/update-mime-database /usr/share/mime 2>&1 1>/dev/null &
	fi
}

##################################################################
function updatescrollkeeper(){
	# Generate GNOME documentation
	if [ -x /usr/bin/scrollkeeper-update ]; then
		/usr/bin/scrollkeeper-update 2>&1 1>/dev/null &
	fi
}


	 ########################################
########### HERE COMES THE SUN ####################
	 ########################################



if [ "$DISPLAY" ]; then

	$dialog --msgbox "To probe for the video driver and monitor please run \"$(basename $0)\" from runlevel 3" 8 70

else


	if [ "$1" = "silent" ]; then
		echo "Configuring the X server"
		(
		xprob
		xkbconvert
		writexorg
		updatefc
		updatemime	
		sed -i "s/^id:.*:initdefault:$/id:4:initdefault:/" /etc/inittab
		sed -i 's/^\([ \t]*Option.*Composite.*\)\".*\".*$/\1\"Enable\"/' /etc/X11/xorg.conf
		sed -i 's/^\([ \t]*Option.*AIGLX.*\)\".*\".*$/\1\"Enable\"/' /etc/X11/xorg.conf 
		) 2>&1 1>/dev/null
		exit
	fi



	# probe for videocard/monitor specs if we are called from runlevel 3
	clear
	$dialog --infobox "Probing video configuration ..." 8 45 
	sleep 1
	clear
	xprob
	clear

  $dialog \
  --title "X11 configuration" \
  --icon "videoconfig" \
  --menu \
" Videocard : $videocard \n\
 Driver : \"$driver\" \n\
 Do you want to use this configuration (recommended) ?\n\n" \
14 75 3 \
   "Yes" "Configure X11" \
   "No" "keep existing configuration" 2> $tmpdir/configxorg

	configxorg=$(cat $tmpdir/configxorg)
	rm -f $tmpdir/configxorg

	case $configxorg in
	  Yes)
		$dialog --infobox "Configuring the X server..." 8 45
		sleep 1
		xkbconvert
		writexorg
;;
	  No)
;;
	esac

fi


# Compositor support ?

  $dialog \
  --title "Compositor" \
  --icon "videoconfig" \
  --menu \
"Do you want to enable the compositor (transparency, shadows, ... it can be slow on some videocards) ?\n\n" \
14 75 3 \
   "Yes" "Enable the compositor" \
   "No" "Disable the compositor" 2> $tmpdir/compositor

compositor=$(cat $tmpdir/compositor)
rm -f $tmpdir/compositor

case $compositor in
  Yes)
	sed -i 's/^\([ \t]*Option.*Composite.*\)\".*\".*$/\1\"Enable\"/' /etc/X11/xorg.conf 
  ;;
  No)
	sed -i 's/^\([ \t]*Option.*Composite.*\)\".*\".*$/\1\"Disable\"/' /etc/X11/xorg.conf   
  ;;
esac


updatefc
updatemime

# Runlevel 3 or 4 ?

  $dialog --title "Login mode configuration" --icon "videoconfig" --menu \
"Select the login mode you want to enable on startup:\n\n" \
16 76 3 \
   "Text" "Text mode login - runlevel 3" \
   "Graphical" "Graphical Xwindow login - runlevel 4" \
   "Skip" "No change" 2> $tmpdir/runlevel

runlevel=$(cat $tmpdir/runlevel)
rm -f $tmpdir/runlevel

case $runlevel in
  Text)
	sed -i "s/^id:.*:initdefault:$/id:3:initdefault:/" /etc/inittab
  ;;
  Graphical)
	sed -i "s/^id:.*:initdefault:$/id:4:initdefault:/" /etc/inittab
  ;;
  Skip)
  ;;
esac

Niiiiiiiiiiice... this script works nicely, found it on godane-s Arch live CD... perhaps we can take some ideas from it to get everything working already...

I noticed it actually is so good, it activates compositing and stuff... but for this then we must preinstall every driver out there (even if they aren't free, but who cares? binary-only drivers are the best anyways...)

Edited by LTSmash

Godane's script didn't work on VMWare for me.

Getting Xorg to work here (VirtualBox) was as simple as running the following commands:

useradd avahi
 groupadd network
 useradd hal
 useradd policykit
 useradd dbus
 /etc/rc.d/hal start

No need for an xorg.conf. The latest Xorg's hotplugging requires hal, hal requires dbus and so on. Test it out and let me know how it goes.

Will test this today. Hal seems to be missing from the ISO :/

Edit: Yes, this makes sense, I've seen this on an Ubuntu Live CD before and was a little perplexed. Will try!

Alpha 2 is being uploaded. Look for it in the News forum tomorrow. I'll tease everyone and say that it's smaller. Also, where does that long script go LTSmash?

It need's to be called via a rc.d script which is also initiated at boot time by placing it on rc.conf (but you should already know that since you're using Arch :p)... with desired parameters and other stuff too... perhaps using some kind of runlevel method would do better? I'd like to have some aproach for live booting to use level 5 init that use some wrapper script for everything we need to get executed before X gets launched and after daemons are loaded...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I disagree here sorry. The majority of their customers are corporations who are locked in to their eco system and have no choice. Private individuals don't contribute that much to their income.
    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      486
    2. 2
      +Edouard
      173
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      94
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!