gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 [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 Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 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 ? Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 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 Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 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. BrunoPS: I still have 2 of your questions listed:1). The net_applet2). FireFox Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 xine works ok now even without opening command line .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 .and mplayer doesnt start automatically when i pop in dvd,kaffeine does. Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Well we scored on point 1 . . . 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 Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 i am ready!!!!!!let's go Bruno,if you have time that is Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Good !Now: Type "menudrake" in a console and a GUI will pop up Bruno Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 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. Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 the name is optional i am getting but what is thecommand?? Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 (edited) 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. BrunoPS: Title is NOT optional . . because you will have to find it back in the menu Edited January 14, 2005 by Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 hope i have done everything ok so far Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Yep, but I made a typo . . . . 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 :DTell me when it is done Bruno Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 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" :DIsn't it clever ?? Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 in applications>monitoring i dont see net applet,i see only Knet load but it isnt it i dont know what i did wrong Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 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 . . . ) Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 if i open menudrake it is just below monitoring,but not in the menu Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Look between Monitoring and Publishing . . or at the bottom, of that submenu . . it has to be somewhere . . . Bruno Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Or open menudrake again and press the first button "Menustyle" and tick "all applications menu" and save the menu again. Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 ok Bruno...sorry about it.i fixed it now.i just didnt open monitoring in menudrake,only clicked on it once Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Do you see the applet next to the clock now ?? Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 now it works just fine.we can move on to the next thing on the agenda thank you Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 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 ! Bruno Quote
gauchoperezoso Posted January 14, 2005 Author Posted January 14, 2005 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. Quote
Bruno Posted January 14, 2005 Posted January 14, 2005 Okay . . see you in the other thread :DB) Bruno Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.