Software :: Controlling Media From The Command Line

Feb 11, 2011

I want a media player that I can control from the command line. Ideally I would like it to have a GUI option, but I need to be able to run a command to "pause it", "play the next track in the playlist" etc. The player will be playing some media, then from another terminal I want to control the current instance. What are my options? I'd prefer it not to be an mpd client if possible.

View 11 Replies


ADVERTISEMENT

Fedora :: Mount Removable Media From Command Line

Jul 6, 2010

I'm using Fedora 12, and I want to mount/unmount my USB memory stick from the command line. I know I could edit /etc/fstab and so on, but I want to emulate what happens when you mount using the GUI (I use KDE and the device notifier), that is, I want to be able to do this as an unprivileged user and not have to know the mount point exists in advance.

I'm sure in older versions of Fedora there was a command something like `gnome-user-mount' which let me do this knowing only the filesystem label... What is the current equivalent?

View 5 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Programming :: Effect Of Using Eval To Execute A Command As Opposed To Writing It On The Command-line?

Jun 18, 2010

Code: cmd='date | wc'

$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?

View 4 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Ubuntu Multimedia :: C-Media CM8738 Sound Card - Can't Record From Line-in

Jun 2, 2011

I run Kubuntu 11.04 and I have a C-Media CM8738 sound card. My problem is, my card won't record from the line-in jack, even when I set it to capture in alsamixer. Furthermore, the mic jack only records when both the line-in and the mic are set to capture in alsamixer. I'm using the same settings I used in 10.04, and the line-in captured fine then.

View 6 Replies View Related

Programming :: Convert This Awk Command From Command Line Into An Awk Script ?

Oct 15, 2010

I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:

This is what i have after my BEGIN

Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'

View 1 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Software :: Command Line Cd Command Not Working Right

May 4, 2010

Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample

Code:

yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.

View 6 Replies View Related

Ubuntu :: Undo A Custom Command For Media Insersion

Sep 7, 2010

I made a custom command to run when a cd gets mounted but now I need to change it.....how do I do that? I tried going to file management but the option wasn't there. I'm using 10.10..

View 9 Replies View Related

Ubuntu :: Terminal Command - Cd - Media - My Passport Is Not Working

Jun 14, 2011

The drive is mounted, and I'm saving files to it, but I can't navigate to it in terminal with the cd command. I can access other USB drives. Is it the space in the drive name? how to access the directory?

View 3 Replies View Related

Ubuntu :: Media Player Install - Sudo Aptitude Command Not Found

Dec 24, 2010

I recently switched back to ubuntu after a year of gaming on w7, however I think that this time I'm going to stick to ubuntu, if she doesnt screw me like she has the previous times. Anyways, I was just wondering what media players you guys favor, and why? (maybe there doesn't have to be a reason xD), and I tried to install beep media player with:
sudo aptitude install beep-media-player
And the return is: sudo: aptitude: command not found

View 1 Replies View Related

CentOS 5 Networking :: Which Command Can Check If Network Card Is Connected With Media

Nov 26, 2009

Suppose that it is not convenient to go behind a machine to have a look.So I want to use a command to show whether the cable is plugged into network card. (Media connected or not)Can ifconfig do this? Or another one?

View 2 Replies View Related

Red Hat :: Add An Lvm From The Command Line?

Oct 29, 2010

I have made lvms with gentoo but my technique seems not to be working. I have a disk /dev/sdb1 which I made after the system install on disk /dev/sda1. I am trying this:vgscan
vgchnage -a ypvcreate /dev/sdb1lvm bitches out with:[yo@with]# pvcreate /dev/sdb1 Device /dev/sdb1 not found (or ignored by filtering).X is not installed and system-config-lvm is not working with the command line.

View 5 Replies View Related

Ubuntu Multimedia :: Terminal Command To Shuffle Or Randomly Play A Song On Banshee Media Player?

Jun 2, 2011

What is the terminal command to shuffle, or randomly play a song on banshee media player? I have already checked 'banshee.

View 2 Replies View Related

Ubuntu :: How To Do Everything From Command Line

May 8, 2010

How can we do everything, or as much as we can do, from the command line? In particular, I am trying to get rid of the top panel in Ubuntu. Because,

1) It takes unnecessary valuable space.
2) Even if I use a huge monitor, it introduces distraction to me while working.

I created a shortcut so that with a single keyboard key I can open a terminal. For example, if I want to restart the computer, I use: "sudo shutdown -r now". Or I can even create a shorter alias. So I do not need the logout menu. But my problem is, some programs put an icon on the top panel when they are working. So, what is the best way of using command line, and getting rid of the top menu.

View 5 Replies View Related

Ubuntu :: 7-zip Still Command Line Only?

Sep 5, 2010

I was wondring if 7zip still only runs in the command line. I searched and got a bunch of old threads like this: [URL].. but I'm not sure if that has changed since 2007. A GUI would be awesome.

View 2 Replies View Related

Ubuntu :: How To FTP Using Command Line

Sep 17, 2010

I have a virtual private server that I SSH into. While I am using SSH, I need to be able to FTP from command line to another server. I want to do this in the easiest most sure way possible. (I am not using my real IP below for security.) I have tried the following commands.

sftp 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
Couldn't read packet: Connection reset by peer
ssh 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host

View 5 Replies View Related

Ubuntu :: No Command Line / Get That?

Dec 7, 2010

About two months ago I upgraded my dual boot Linux-x86-64 Vista from Heron to 10.04 Lucid. Initially everything worked fine including wireless etc. Once I accidentally changed a few /etc permissions which caused a problem, but fixed it going into recovery mode. For the past weeks, I only used the windows. Over the weekend I tried logging into Ubuntu, the gnome would not come up. So, I went into recovery mode and typed "sudo apt-get update && sudo apt-get upgrade" which also went through. However, after that I lost the recovery options. I had used that command very successfully in the past. Right now, I have no command line that would allow me to type something. I was wondering if there are any keys Alt+Del + something that would give me a prompt I can work with. I'm totally baffled as to how this can happen.

View 1 Replies View Related

Ubuntu :: Run Jar With Command Line?

May 10, 2011

I have installed java runtime and I need to run jar file,Im not using gnome desktop,so I need a command to run it.Im using fluxbox.

View 2 Replies View Related

Red Hat / Fedora :: NFS Over The Command Line?

Feb 5, 2010

I need some info on this title for class

View 1 Replies View Related

General :: Cannot Log In From Command Line

Apr 1, 2010

trying to install the latest NVIDIA drivers:

I need to disable the X server to install it, which brings me to a blank screen prompting for a login before continuing. it reads thusly:

Ubuntu 9.10 chris-linux

chris-linux login: [i would assume i put in chris here...]

Password:[i type the password i use to login from the normal GUI screen, however i see no indication that im typing anything..]

Login incorrect

View 4 Replies View Related

General :: How To Tell Which OS With Command Line

Jan 21, 2010

Just want to know what OS is, Fedora/RH/... Tried the following on a redhat machine:
uname -o : GNU/Linux
less /proc/version:
Linux version 2.6.18-164.el5 (mockbuild@x86-002.build.bos.redhat.com)
(gcc version 4.1.2 20080704) (Red Hat 4.1.2-46)) #1 SMP Tue Aug 18 15:51:54 EDT 2009
What is the right command to do it?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved