LinuxQuestions.org
Register a domain and help support LQ
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 02-08-2004, 08:44 AM   #1
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
autorun application program on hotplug


Hello,

I'm playing around with a USB mass-storage camera - hotplugging works OK.

However, what I'd really like to have happen when the camera is plugged in is for an application
program, eg Digikam or similar, to launch automatically...

I've been playing with the scripts, and can get the camera to 'mount' fine, but, given that the scripts run at, i think, 'root' level, i've had no luck getting x apps to work (because, i think, root cannot connect to the x server..).

so what i need to know is - is there a way of getting a script running at 'root' level to masquerade as a 'user' ? i don't know whether i'm making much sense here - i'm so lacking in knowledge on this that i don't know how to phrase the question!

any help or comments would be much appreciated.

thanks.
 
  


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
help with usb application program nickster Programming 2 01-27-2005 03:42 AM
HOWTO autorun a program on start up? kodaku Linux - Software 6 08-12-2004 10:40 PM
how to a start another application from my c++ program? gajaykrishnan Programming 4 07-25-2004 08:55 AM
AutoRun Program in XWindows zael Linux - Newbie 3 02-09-2004 07:49 AM
autorun a program in tty3 LynX Linux - Newbie 2 11-09-2002 05:07 AM


All times are GMT -5. The time now is 04:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration