Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-08-2004, 07:44 AM   #1
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
autorun application program on hotplug


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.



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

All times are GMT -5. The time now is 03:19 AM.

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