Tiny Core Linux
General TC => Programming & Scripting - Unofficial => Topic started by: floppy on April 16, 2011, 07:39:25 AM
-
Hello,
in order to start skype, i made a scripte (it loads the extensions, which dont need to be at boot for a normal use of the pc without a skype use in a normal day):
=======================
tce-load -i /mnt/hdd3/tce/optional/firmware.tcz
tce-load -i /mnt/hdd3/tce/optional/alsa.tcz
tce-load -i /mnt/hdd3/tce/optional/libv4l.tcz
tce-load -i /mnt/hdd3/tce/optional/glib2.tcz
tce-load -i /mnt/hdd3/tce/optional/Xlibs.tcz
tce-load -i /mnt/hdd3/tce/optional/libasound.tcz
tce-load -i /mnt/hdd3/tce/optional/libiconv.tcz
tce-load -i /mnt/hdd3/tce/optional/graphics-2.6.33.3-tinycore.tcz
tce-load -i /mnt/hdd3/tce/optional/Xorg-7.4.tcz
tce-load -i /mnt/hdd3/tce/optional/wxcam.tcz
tce-load -i /mnt/hdd3/tce/optional/skype.tcz
startx
setxkbmap -layout "de" -variant "nodeadkeys"
wxcam
sudo /usr/local/etc/init.d/alsasound start
amixer set Mic 50% unmute
amixer set Capture 50%
skype
=======================
startx seems not to run. Why? (reason: setxkbmap dont find xkd on "de", and the skype window is not opening).
How to make Xorg7.4 running in a scripte? (it runs if its loaded at boot: but this take too much time and I would like to place its start via a scripte).
Regards,
Pascal
-
The wiki instructions for adding X to microcore is here:
http://wiki.tinycorelinux.net/doku.php?id=adding_a_desktop_to_microcore
You forgot Xprogs.tcz.
I would start thescript by loading X and starting it.
While it is starting up, I would load more modules.
tce-load -i Xlibs
tce-load -i Xprogs
tce-load -i Xorg-7.4
startx
Once that part isworking, add the rest of your script.
-
Oh, Xprogs is required? I am already in TinyCore. Just changing from Xvesa to Xorg.
-
TC already has Xlibs which you are loading.
You might be better off starting with MC instead of TC.
Don't forget a window manager also, such as flwm_topside.
-
You might be better off starting with MC instead of TC.
Don't forget a window manager also, such as flwm_topside.
Thanks. Im doing this way.
Status: skype starting, I can see the counterpart video. Cannot send video (else scratch with alsa error messages). Cannot send/receive sound. Seems to be an alsa issue now (mic in webcam and mic/speaker from soundcard). still working on it. hopefully will be finish for christmas for sending my best wishes to family members in usa+ireland+uk+france+australia...;-)
-
I need to unmute the microphone using alsamixer before things work with skype, but the sound is OK..