Jump to content

script to run mplayer


Guest joeskat
 Share

Recommended Posts

Guest joeskat

:help: i would like to write a script yo run gmplayer [ mplayer gui ] how do i do it. :thanks:

 

 

 

Moved from Software to Terminal Shell Commands, Kernel and Programming - Artificial Intelligence

Link to comment
Share on other sites

Guest kencaz
:help: i would like to write a script yo run gmplayer [ mplayer gui ] how do i do it.  :thanks:

 

Hmmm don't know what window mgr ur using but if it's KDE then you don't need a script. Just right click on the DT and create link to:

 

/usr/bin/gmplayer

 

KC

Link to comment
Share on other sites

Guest kencaz
i am using gnome

 

Try this: should work in gnome.

 

[root@localhost kencaz]# cat > player << end

> #!/bin/bash

> gmplayer

> end

[root@localhost kencaz]# chmod +x player

[root@localhost kencaz]# exit

exit

[kencaz@localhost kencaz]$ ls -l player

-rwxr-xr-x 1 root root 21 Apr 7 21:02 player*

[kencaz@localhost kencaz]$ ./player

 

KC

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...