Jump to content

pclos8


gauchoperezoso

Recommended Posts

gauchoperezoso

[root@chello084010044003 guest]# cat /etc/rc.d/rc.localMutex destroy failure: Device or resource busyICE default IO error handler doing an exit(), pid = 5839, errno = 2ICE default IO error handler doing an exit(), pid = 5845, errno = 0#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.[ -f /etc/sysconfig/system ] && source /etc/sysconfig/system[ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec[ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3[ -f /etc/sysconfig/init ] && source /etc/sysconfig/initif [ $SECURE_LEVEL -lt 4 ]; then [ -z "$REWRITEISSUE" ] && REWRITEISSUE=rewrite if [ $SECURE_LEVEL -lt 3 ]; then [ -z "$REWRITEISSUENET" ] && REWRITEISSUENET=rewrite fifiSYSTEM=${SYSTEM=PCLinuxOS}# Source functions. /etc/init.d/functionsif [ "$REWRITEISSUE" = "rewrite" -a -f /etc/mandrake-release ]; then R=$(cat /etc/mandrake-release) arch=$(uname -m) a="a" case "_$arch" in _a*) a="an";; _i*) a="an";; esac NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat` if [ "$NUMPROC" -gt "1" ]; then SMP="$NUMPROC-processor " [ "$NUMPROC" = "2" ] && \ SMP="Dual-processor " if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then a="an" else a="a" fi fi # This will overwrite /etc/issue at every boot. So, make any changes you # want to make to /etc/issue here or you will lose them when you reboot. if [ -x /usr/bin/linux_logo ]; then /usr/bin/linux_logo -n -f | sed -e 's|\\|\\\\|g' > /etc/issue echo "" >> /etc/issue else > /etc/issue fi echo "$R" >> /etc/issue echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue if [ "$REWRITEISSUENET" = "rewrite" ]; then echo "Welcome to ${HOST}" > /etc/issue.net echo "$R" >> /etc/issue.net echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net else NAME="$SYSTEM" gprintf "Welcome to %s\n" "$NAME" > /etc/issue.net echo "-------------------------" >> /etc/issue.net fielse if [ -f /etc/security/msec/issue.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.$SECURE_LEVEL > /etc/issue elif [ -f /etc/security/msec/issue ]; then cat /etc/security/msec/issue > /etc/issue else rm -f /etc/issue fi if [ -f /etc/security/msec/issue.net.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.net.$SECURE_LEVEL > /etc/issue.net elif [ -f /etc/security/msec/issue.net ]; then cat /etc/security/msec/issue.net > /etc/issue.net else rm -f /etc/issue.net fifitouch /var/lock/subsys/localln -s /dev/hdc /dev/dvd[root@chello084010044003 guest]# cat /etc/rc.d/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.[ -f /etc/sysconfig/system ] && source /etc/sysconfig/system[ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec[ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3[ -f /etc/sysconfig/init ] && source /etc/sysconfig/initif [ $SECURE_LEVEL -lt 4 ]; then [ -z "$REWRITEISSUE" ] && REWRITEISSUE=rewrite if [ $SECURE_LEVEL -lt 3 ]; then [ -z "$REWRITEISSUENET" ] && REWRITEISSUENET=rewrite fifiSYSTEM=${SYSTEM=PCLinuxOS}# Source functions. /etc/init.d/functionsif [ "$REWRITEISSUE" = "rewrite" -a -f /etc/mandrake-release ]; then R=$(cat /etc/mandrake-release) arch=$(uname -m) a="a" case "_$arch" in _a*) a="an";; _i*) a="an";; esac NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat` if [ "$NUMPROC" -gt "1" ]; then SMP="$NUMPROC-processor " [ "$NUMPROC" = "2" ] && \ SMP="Dual-processor " if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then a="an" else a="a" fi fi # This will overwrite /etc/issue at every boot. So, make any changes you # want to make to /etc/issue here or you will lose them when you reboot. if [ -x /usr/bin/linux_logo ]; then /usr/bin/linux_logo -n -f | sed -e 's|\\|\\\\|g' > /etc/issue echo "" >> /etc/issue else > /etc/issue fi echo "$R" >> /etc/issue echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue if [ "$REWRITEISSUENET" = "rewrite" ]; then echo "Welcome to ${HOST}" > /etc/issue.net echo "$R" >> /etc/issue.net echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net else NAME="$SYSTEM" gprintf "Welcome to %s\n" "$NAME" > /etc/issue.net echo "-------------------------" >> /etc/issue.net fielse if [ -f /etc/security/msec/issue.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.$SECURE_LEVEL > /etc/issue elif [ -f /etc/security/msec/issue ]; then cat /etc/security/msec/issue > /etc/issue else rm -f /etc/issue fi if [ -f /etc/security/msec/issue.net.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.net.$SECURE_LEVEL > /etc/issue.net elif [ -f /etc/security/msec/issue.net ]; then cat /etc/security/msec/issue.net > /etc/issue.net else rm -f /etc/issue.net fifitouch /var/lock/subsys/localln -s /dev/hdc /dev/dvd[root@chello084010044003 guest]# cat /etc/rc.d/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.[ -f /etc/sysconfig/system ] && source /etc/sysconfig/system[ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec[ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3[ -f /etc/sysconfig/init ] && source /etc/sysconfig/initif [ $SECURE_LEVEL -lt 4 ]; then [ -z "$REWRITEISSUE" ] && REWRITEISSUE=rewrite if [ $SECURE_LEVEL -lt 3 ]; then [ -z "$REWRITEISSUENET" ] && REWRITEISSUENET=rewrite fifiSYSTEM=${SYSTEM=PCLinuxOS}# Source functions. /etc/init.d/functionsif [ "$REWRITEISSUE" = "rewrite" -a -f /etc/mandrake-release ]; then R=$(cat /etc/mandrake-release) arch=$(uname -m) a="a" case "_$arch" in _a*) a="an";; _i*) a="an";; esac NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat` if [ "$NUMPROC" -gt "1" ]; then SMP="$NUMPROC-processor " [ "$NUMPROC" = "2" ] && \ SMP="Dual-processor " if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then a="an" else a="a" fi fi # This will overwrite /etc/issue at every boot. So, make any changes you # want to make to /etc/issue here or you will lose them when you reboot. if [ -x /usr/bin/linux_logo ]; then /usr/bin/linux_logo -n -f | sed -e 's|\\|\\\\|g' > /etc/issue echo "" >> /etc/issue else > /etc/issue fi echo "$R" >> /etc/issue echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue if [ "$REWRITEISSUENET" = "rewrite" ]; then echo "Welcome to ${HOST}" > /etc/issue.net echo "$R" >> /etc/issue.net echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net else NAME="$SYSTEM" gprintf "Welcome to %s\n" "$NAME" > /etc/issue.net echo "-------------------------" >> /etc/issue.net fielse if [ -f /etc/security/msec/issue.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.$SECURE_LEVEL > /etc/issue elif [ -f /etc/security/msec/issue ]; then cat /etc/security/msec/issue > /etc/issue else rm -f /etc/issue fi if [ -f /etc/security/msec/issue.net.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.net.$SECURE_LEVEL > /etc/issue.net elif [ -f /etc/security/msec/issue.net ]; then cat /etc/security/msec/issue.net > /etc/issue.net else rm -f /etc/issue.net fifitouch /var/lock/subsys/localln -s /dev/hdc /dev/dvd[root@chello084010044003 guest]# cat /etc/rc.d/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.[ -f /etc/sysconfig/system ] && source /etc/sysconfig/system[ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec[ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3[ -f /etc/sysconfig/init ] && source /etc/sysconfig/initif [ $SECURE_LEVEL -lt 4 ]; then [ -z "$REWRITEISSUE" ] && REWRITEISSUE=rewrite if [ $SECURE_LEVEL -lt 3 ]; then [ -z "$REWRITEISSUENET" ] && REWRITEISSUENET=rewrite fifiSYSTEM=${SYSTEM=PCLinuxOS}# Source functions. /etc/init.d/functionsif [ "$REWRITEISSUE" = "rewrite" -a -f /etc/mandrake-release ]; then R=$(cat /etc/mandrake-release) arch=$(uname -m) a="a" case "_$arch" in _a*) a="an";; _i*) a="an";; esac NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat` if [ "$NUMPROC" -gt "1" ]; then SMP="$NUMPROC-processor " [ "$NUMPROC" = "2" ] && \ SMP="Dual-processor " if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then a="an" else a="a" fi fi # This will overwrite /etc/issue at every boot. So, make any changes you # want to make to /etc/issue here or you will lose them when you reboot. if [ -x /usr/bin/linux_logo ]; then /usr/bin/linux_logo -n -f | sed -e 's|\\|\\\\|g' > /etc/issue echo "" >> /etc/issue else > /etc/issue fi echo "$R" >> /etc/issue echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue if [ "$REWRITEISSUENET" = "rewrite" ]; then echo "Welcome to ${HOST}" > /etc/issue.net echo "$R" >> /etc/issue.net echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net else NAME="$SYSTEM" gprintf "Welcome to %s\n" "$NAME" > /etc/issue.net echo "-------------------------" >> /etc/issue.net fielse if [ -f /etc/security/msec/issue.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.$SECURE_LEVEL > /etc/issue elif [ -f /etc/security/msec/issue ]; then cat /etc/security/msec/issue > /etc/issue else rm -f /etc/issue fi if [ -f /etc/security/msec/issue.net.$SECURE_LEVEL ]; then cat /etc/security/msec/issue.net.$SECURE_LEVEL > /etc/issue.net elif [ -f /etc/security/msec/issue.net ]; then cat /etc/security/msec/issue.net > /etc/issue.net else rm -f /etc/issue.net fifitouch /var/lock/subsys/localln -s /dev/hdc /dev/dvd[root@chello084010044003 guest]# quite an output ;).but is it ok....youll be the judge Bruno

Link to comment
Share on other sites

  • Replies 416
  • Created
  • Last Reply

Top Posters In This Topic

  • gauchoperezoso

    183

  • Bruno

    140

  • ross549

    63

  • ikerekes

    20

Looks perfect to me Gaucho !!Now question 2: the other players . . . you should be able to do the same with mplayer and maybe also kaffeine:

$ mplayer -ao arts

$ kaffeine -a arts

But I can not find the cool "borderless" option for those . . . :DNow will you please reboot and see if Xine plays without making the "ln -s /dev/hdc /dev/dvd" link first ?? . . . So check if my little work-around does indeed work ?B) Bruno

Link to comment
Share on other sites

gauchoperezoso

ok i will reboot in a sec.but before i do this,i checked yesterday kaffeine -a arts and it didnt work :( with mplayer it shows:Basic options: (complete list in the man page) -vo <drv[:dev]> select video output driver & device ('-vo help' for a list) -ao <drv[:dev]> select audio output driver & device ('-ao help' for a list) vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount) dvd://<titleno> play DVD title from device instead of plain file -alang/-slang select DVD audio/subtitle language (by 2-char country code) -ss <timepos> seek to given (seconds or hh:mm:ss) position -nosound do not play sound -fs fullscreen playback (or -vm, -zoom, details in the man page) -x <x> -y <y> set display resolution (for use with -vm or -zoom) -sub <file> specify subtitle file to use (also see -subfps, -subdelay) -playlist <file> specify playlist file -vid x -aid y select video (x) and audio (y) stream to play -fps x -srate y change video (x fps) and audio (y Hz) rate -pp <quality> enable postprocessing filter (details in the man page) -framedrop enable frame dropping (for slow machines)Basic keys: (complete list in the man page, also check input.conf) <- or -> seek backward/forward 10 seconds up or down seek backward/forward 1 minute pgup or pgdown seek backward/forward 10 minutes < or > step backward/forward in playlist p or SPACE pause movie (press any key to continue) q or ESC stop playing and quit program + or - adjust audio delay by +/- 0.1 second o cycle OSD mode: none / seekbar / seekbar + timer * or / increase or decrease PCM volume z or x adjust subtitle delay by +/- 0.1 second r or t adjust subtitle position up/down, also see -vf expand * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *[gaucho@chello084010044003 guest]$ but then it still doesnt work,it says error opening/initializing selected video_out(-vo) device.with mplayer to be honest i dont know if i open the correct file.can you tell me where i should look for cdrom or dvd?i realize it is a stupid question but i dont know if what i do i right, i select all files instead of video files and only then can i find hdc or dvd.is it the right way?i will reboot now but ill be back in 15min or so.gotta eat something B)

Link to comment
Share on other sites

Looks like you better use Xine for DVDs then ( is the best DVD player anyway ) . . and use Mplaywer for Win-Media files, the browser has a plugin for it so it will be started automatically.See you later.B) BrunoPS: I still have 2 of your questions listed:1). The net_applet2). FireFox

Link to comment
Share on other sites

gauchoperezoso

xine works ok now even without opening command line B) :( .but there is something wrong with it sometimes the screen gets all distorted or better said there are some multicolored patchess....or squares that appear and disappear.especially when i move the window or change something in the settings...not always but sometimes.also the DVD sound is much weaker than the system notification sounds for exaample.i..i am making more and more questions :D :D .and mplayer doesnt start automatically when i pop in dvd,kaffeine does. :)

Link to comment
Share on other sites

Well we scored on point 1 B) . . . but about the distortion: that looks to me like not enough MB memory of your laptop.Then: You should not use Mplayer for DVDs . . . only for win-media files :DWhen you are ready we can do the net_applet trick :DB) Bruno

Link to comment
Share on other sites

Now we will add a menu item . . but to do so you first have to "select" ( make blue ) the category where you want to place it: "applications¨ --> "monitoring" . . so select monitoring and then press the "add application" button . . . you will get a new window where you can fill in a title and a commandTell me when you are there.B) Bruno

Link to comment
Share on other sites

Now the "Title" for it is "Net Applet" . . . the "command" for it is "/usr/bin/net_applet" . . . Then save the new menu ( save button ) . . .and when saving is done close menudrake.Tell me again when you are done.B) BrunoPS: Title is NOT optional . . because you will have to find it back in the menu :(

Edited by Bruno
Link to comment
Share on other sites

Yep, but I made a typo . . :D . . I forgot the trailing / slash in the command . . . . ( sorry )The command is /usr/bin/net_applet . . . . . Open menudrake again and quickly change it . . and save the new menu again B) :DTell me when it is done :( Bruno

Link to comment
Share on other sites

Now go to your menu ( the normal way via the taskbar ) and look if you can find "Net Applet" and start the prog. . . you will see that it puts a little icon next to the clock . . . . if you rightclick on that icon you will see why we went through all this trouble . . . . if you leave the applet there it will come up again after the next reboot so you can rightclick and choose "connect" B) :( :DIsn't it clever ?? ;):D Bruno

Link to comment
Share on other sites

Seach the full menu and look if you did not put it elsewhere by accident . . . :( ( those things happen if you did not "select" the right category . . . B) ):D Bruno

Link to comment
Share on other sites

Or open menudrake again and press the first button "Menustyle" and tick "all applications menu" and save the menu again.B) Bruno

Link to comment
Share on other sites

Okay now the Firefox problem . . . you see that is a little problem because Firefox is a Gnome program and you should set the default in the "Gnome Control Center" . . but Gnome is not installed and thus there is not Gnome Control Center . . . :)So here is what we do: Start a new thread for this, with a clear title that reflects the problem, and I will send a PM to our resident Firefox specialist with a link to the new thread . . . . he will surely come up with a solution !:nuke: Bruno

Link to comment
Share on other sites

gauchoperezoso

That was also another of my questions.GNOME how do i switch between KDE and GNOME but now that you told me there is no GNOME is there any way to install it? ill start a new thread now. :nuke:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...