LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2007, 05:46 AM   #1
gejr
Member
 
Registered: Apr 2006
Posts: 53

Rep: Reputation: 15
SSH + nautilus..help me help my girlfriend:)


I have a pretty delicate challenge today. I have 2 pcs here. One running the latest Parsix and one Debian server connected to my tv.

I SSH to the Debian machine and type:
# export DISPLAY=:0
# mplayer movie.avi

and it shows up beautifully on my tv. I can even control most settings for mplayer through keyboard shortcuts directly on the ssh client.(ffwd, rew, vol+, vol- etc.)

However..the routine to first ssh into the server and then run the export display and then find the file++ is kinda difficult for my girlfriend to manage(I haven't even bothered teaching her ; )

So, I wonder..any tips on how to automate this? A Nautilus script would be ideal..I've tried fiddling a little with it, but I just seem to lack the skills. My bashscript-knowledge is very, very limited. A way to right click a movie on the servers samba-share and select "play with media player on tv" would be amazing.

Can you help me find the right direction for solving this matter?

Thanks for reading!
-gejr-
 
Old 05-03-2007, 01:30 PM   #2
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
I don't know the exact syntax but, you can run commands from the
ssh login command. Something like

ssh -2C -l username server.com -O YourCommand

look at the man page you could probably create a bash script to do this and create some shortcut
in the command line.
 
  


Reply



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
Migrating my girlfriend to GNU/Linux jonaskoelker Linux - General 9 09-18-2006 01:42 PM
Girlfriend annoyed- no music privelages aquaboot Ubuntu 7 06-12-2006 10:57 AM
My girlfriend just asked me kalleanka LinuxQuestions.org Member Success Stories 3 02-12-2005 02:28 AM
Linux is a psychotic ex-girlfriend Rotwang General 1 05-29-2004 10:34 PM
My girlfriend and my love grows because of linux cexshun LinuxQuestions.org Member Success Stories 9 12-14-2003 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:41 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
Open Source Consulting | Domain Registration