WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Scripte for starting Skype. How to start Xorg7.4 in the scripte?  (Read 5046 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
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
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Scripte for starting Skype. How to start Xorg7.4 in the scripte?
« Reply #1 on: April 16, 2011, 11:06:59 AM »
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.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Scripte for starting Skype. How to start Xorg7.4 in the scripte?
« Reply #2 on: April 16, 2011, 02:01:50 PM »
Oh, Xprogs is required? I am already in TinyCore. Just changing from Xvesa to Xorg.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Scripte for starting Skype. How to start Xorg7.4 in the scripte?
« Reply #3 on: April 16, 2011, 03:01:01 PM »
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.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Scripte for starting Skype. How to start Xorg7.4 in the scripte?
« Reply #4 on: May 06, 2011, 06:46:34 AM »
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...;-)
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Scripte for starting Skype. How to start Xorg7.4 in the scripte?
« Reply #5 on: May 06, 2011, 07:46:17 AM »
I need to unmute the microphone using alsamixer before things work with skype, but the sound is OK..