LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-05-2005, 05:15 AM   #1
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Rep: Reputation: 15
irxevent refuses to start when double clicked


The file contains the lines below:
Code:
#! /bin/sh
/usr/bin/irxevent &
I want it to start when I doubleclick it so I know it will start if I put it in /etc/init.d/boot.local. I've had problems with lines not being executed in that script (/etc/init.d/boot.local). I'm running a Konqueror-window as root. The name of the file is boot2.local. Which shell starts the boot-up scripts?
 
Old 12-05-2005, 05:43 AM   #2
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Original Poster
Rep: Reputation: 15
/etc/init.d/boot.local does not run at boot

I've also noticed that /etc/init.d/boot.local does not run at boot. After boot the processes are not running. I noticed that there was an error message on the splash screen:"ERROR loading lirc_dev. No such device". My boot.local looks like this:
Code:
#! /bin/sh
#
# Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany.  All rights reserved.
#
# Author: Werner Fink <werner@suse.de>, 1996
#         Burchard Steinbild, 1996
#
# /etc/init.d/boot.local
#
# script with local commands to be executed from init on system startup
#
# Here you should add things, that should happen directly after booting
# before we're going to the first run level.
#
modprobe lirc_i2c 
sleep 1
let "No_Lines = `ps aux | grep 'lircd$' | wc -l`"
if test $No_Lines -lt 1
  then
    /usr/sbin/lircd &
fi
sleep 1
let "No_Lines = `ps aux | grep 'irxevent\ \/home\/lagu2653\/.lircrc' | wc -l`"
if test $No_Lines -lt 1
  then
    /usr/bin/irxevent /home/lagu2653/.lircrc &
fi
sleep 1
let "No_Lines = `ps aux | grep 'irexec -d$' | wc -l`"
if test $No_Lines -lt 1
  then
    /usr/bin/irexec -d &
fi
sleep 1
 
Old 12-05-2005, 08:01 AM   #3
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Original Poster
Rep: Reputation: 15
Even if I run the script manually it still doesn't work. I have to manually killproc irexec end then start it again. Then it works. My remote control i.e. Is there no way to start it automatically on boot?

Last edited by lagu2653; 12-05-2005 at 08:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cups refuses to start Yalla-One Slackware 2 11-13-2005 04:22 AM
I followed everything correctly but startx refuses to start x, among other problems.. Mr. Hill Debian 10 04-01-2005 11:53 AM
X refuses to work ... [start GUI?] ketchup Linux - Software 3 10-17-2004 11:53 PM
making a jar open a command window when double-clicked Neuromancer47 Programming 5 07-15-2004 12:27 PM
x refuses to start for root k4zau Linux - Software 8 10-17-2003 12:31 AM


All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration