Ubuntu Multimedia :: Take Screenshots And Copy Image Files To Clipboard From The Command Line?

Feb 17, 2011

install imagemagick python, and pygtk.

Code:

sudo apt-get install imagemagick python pygtk

Now save the following script somewhere as imgclip.py. This is a simple python script which takes an image file and puts it in the gnome-clipboard.

Code:

#! /usr/bin/python
import pygtk
pygtk.require('2.0')

[code]...

View 1 Replies


ADVERTISEMENT

Debian Multimedia :: Save Image From Clipboard Into File Using Command Line?

Apr 28, 2011

Can save an image from clipboard into file using command line?
may be image magic?

View 3 Replies View Related

Ubuntu :: Xfce4-screenshooter Copy To Clipboard From Command Line?

Mar 10, 2010

My xfce4-screenshooter GUI has the option Copy to the Clipboard, but I could not find this option in its' cI'm trying to bind printscreen key with this. I know that in order for the option to work I need to have the application always running (in GUI thre is option Close the application after screenshot , again somenthing that I can not find in command line).

View 9 Replies View Related

General :: Copy A Picture To Clipboard From Command Line?

Jun 24, 2011

I can copy image in Gimp and paste it to OpenOffice document.

How to do it (copy or paste image) from command line?

View 1 Replies View Related

Ubuntu Multimedia :: Taking Video Screenshots Using Command Line

Mar 11, 2010

I want to take consecutive screenshots of a video using command line operations but I can't seem to find accurate documentation on different websites.Does anyone know how to do this using vlc, totem or another program?I've used ffmpeg as well, but then reencodes and splits the video file. I just want to take consecutive screenshots.

View 7 Replies View Related

Ubuntu :: Command Line To Copy Files From One Location To Another / Retain Source Files Group / User?

Feb 20, 2011

Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.

Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.

View 5 Replies View Related

Ubuntu :: Clipboard - Where Are My Screenshots?

Apr 2, 2011

Where in God's green earth does ubuntu put screenshots/clipboard related material? I've made like 5 screenshots but am totally unable to locate them. Great Scott! In windows I know where there at!

View 2 Replies View Related

Ubuntu :: Copy Files Via Command Line?

Dec 14, 2010

I'm looking for a way to copy files with a certain file extension over to another folder. For exampleSource Folder: /home/user/downloadsFile Type: *.epubDestination Folder: /home/user/epubs/The downloads folder has several folders that may go as deep as 2 or 3 levels.I tried this but it didn't seem to work (and I'm not really sure what to do to modify it to get it to work).Quote:find . -maxdepth 1 -type f -exec grep -q "pattern" '{}' ';' -exec cp '{}' /path/to/destination

View 4 Replies View Related

General :: Copy To Clipboard Using Bash Command?

Sep 18, 2010

Tried this, but there's no such a command in Arch.And this also doesn't work:Code:find ~ | grep -i pidgin | xclipboard Error: another clipboard is already running

View 5 Replies View Related

Ubuntu Multimedia :: How To Save A Web Image From Command Line

Jun 9, 2010

How do I save it as a jpg somewhere on my puter using a script? I can wget, but it gets saved as a .evif, which is totally useless. I can right-click on the image in a browser and use the context menu to save it as a jpg, but I want this process automated. How can I DL this image and save it as a jpg? GIMP's CL options don't include the capacity to save/convert this image, though it's possible from teh GUI. ImageMagick won't read this dynamic URL. What do I do?

View 3 Replies View Related

Software :: Vim Command To Cut The Current Line And Append To The Clipboard?

Apr 8, 2011

Is there a vim command or sequence of commands that will append the current line into the clipboard? Given the example below:

4
5
3
1
2

Lets say I wanted to cut 3, 4, 5 (in that order) then paste them below 2 so that the numbers are in order?

View 1 Replies View Related

General :: Command Line - Automating A Task - Copy All Subdirectories And Files From One Directory To Another

Jun 10, 2010

I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.

View 2 Replies View Related

Ubuntu Multimedia :: Split Wav Files From The Command Line?

Apr 2, 2011

how to split wav files from the command line?

View 4 Replies View Related

Ubuntu Multimedia :: Command Line For Converting .flac Files To .ogg?

Jan 6, 2010

I am looking for a command line command to convert ~2500 .flac files to .ogg files. All of the .flac files are in one folder and I would like to have the .ogg files put in a folder labled OGG - I would like to retain song information etc if possible.

View 3 Replies View Related

Ubuntu Multimedia :: Playing Set Of Shorten Files From Command Line

Mar 3, 2011

i have a bunch of shorten files i want to play from the command line and ffplay will play them one at a time but i want to play them one after the other (the whole album)does not work i must have forgotten something as it plays one track then stops.

View 1 Replies View Related

Debian Multimedia :: Command Line Utility To Give Info On Video Files

Nov 17, 2010

Is there a command line utility to tell me about what's inside a video file? Say I have a .mpg file. I want to know about the video stream and the various audio streams, the codec used for the video stream, the bitrate of the video stream, and so on.

View 5 Replies View Related

Ubuntu :: Copy A Hard Drive From Command Line?

May 4, 2011

Ubuntu is getting stuck at the loading screen after an aborted attempt to upgrade to 11.04. It's my own fault - the install was running out of room on /, and I, like an idiot, decided to delete some package files under /var/something/archive, thinking they were "old"... I quickly realized they were in fact the new packages being installed... anyway after killing the thing and rebooting it is pretty damn broken (mostly because I can't get networking going so running in dpkg repair mode doesn't do much because, well, I deleted the packages).

I want to copy all the files off my /home and other meaningful partitions onto an external drive so I can just do a clean install. I can actually login to the command line under recovery mode, but I can't get the GUI started. I know it's possible to copy the contents of the partitions to an external

View 9 Replies View Related

Ubuntu Multimedia :: Vlc Image - Playing Wmv And Vob Files - Image Comes With High Contrast Colors

Jan 16, 2011

When playing dvd's, vob files and wmv files, the image comes with high contrast colors ,very intense red/green/blue. very dark too. I have vlc 1.1.4 installed, using ubuntu 10.10, libdvdcss2 installed. for the rest of the video formats it seems to work fine. any ideas on what should I start debugging?

View 5 Replies View Related

General :: Copy-paste From Editor To Command Line?

Dec 23, 2010

I am trying to upgrade PHP on our linux box ( CentOS ) I copied the configure command from the phpinfo and now I want to execute that.I am not able to copy the command from an editor in linux to the command prompt, clicking the wheel om my mouse does not work, neither does shift-insert or ctrl-shift-insert.It does work in the editor itself.Is there a way to do this ?Or is there a way to execute the command in linux while it is in the file ? Like a bat file on Windows ?

View 14 Replies View Related

Fedora :: Create An ISO Image Out Of A Directory From Command Line?

Feb 7, 2010

I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.

At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code...
So, I have two questions:

Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?

Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?

View 5 Replies View Related

Ubuntu Servers :: Command Line To Copy File To Root Directory

May 12, 2010

I want to copy file from the Server cd drive and USB drive to the server root directory, but I haven't find any command of listing the cd drive or usb drive.

View 4 Replies View Related

Ubuntu Installation :: Image Restore Grub Rescue Command Line

Feb 25, 2010

I do computer forensics here in Afghanistan and I am trying to keep a clean image of a dual bootable hard drive. Here is what I try to do...

1. Boot into UbuntuLiveCD
2. I run "sudo dd if=/dev/zero of=/dev/sda conv=sync,notrunc bs=64K" to wipe the drive with all zeros.
3. I then install Windows by creating a new partician about 50GB.
4. I then install Linux by creating a partician in ext4 mounting it at '/' in addition I create a swap partician.
5. Next configure everything just the way I want it. I install all the drivers and software I need for my windows partician and build out the remaining part of the disc as a "data drive."
6. Then I use "dd" again to try to image my "clean slate" of a system. Remember I am dual booting. I dd the /dev/sda and gzip it.
7. When I go to restore it, I boot from the live CD again and unzip ig and "dd" it back onto /dev/sda.
8. I run fdisk -l and I get:/dev/sda1 * 1 6375 5120000000 7 HPFS/NTFS/dev/sda2 6376 11724 42965842+ 83 Linux/dev/sda3 11725 12453 ...... 82 Linux swap / Solaris.This means to me that it can "understand the file system"
9. But then when I take out the Live boot CD and try to get my "clean slate" machine back, the system goes into Grub Rescue mode with a grub command line "grub rescue>"
10. I tried using the tutorial on Grub2, but...
a. It would not understand the command "linux"
b. When I try to do insmod, it says it doesn't recognize the file system.

View 4 Replies View Related

General :: Command Line - Move Or Copy Selected File

Jul 16, 2011

How do I move around select a file and move or copy it. All tutorials I have seen are not simple enough.

View 7 Replies View Related

Ubuntu :: Clipped Image From Screenshot To The Clipboard

May 9, 2010

Using the Screenshot in CompizConfig Settings Manager, can I copy the clipped screenshot to the clipboard right away? When I used <Super>Button1 to clip the screenshot, the image gets saved on the desktop and not on the clipboard. I would like to save some time and keystrokes by automating the "copy to the clipboard" I am using Ubuntu 10.04

View 1 Replies View Related

General :: Copy To 'clipboard' From Shell?

Apr 5, 2010

Seems a utility called "xclip" and "xsel" are required, but is there anything simpler, that doesn't require extra utilities, along the lines ofCode:cat foo.txt > clipboardThis would for GNOME.

View 9 Replies View Related

General :: Copy To Clipboard From Within Vi / Vim Without Mouse?

Jun 30, 2011

I want to copy a highlighted field to the clipboard (not the copy/paste within vim but the clipboard that can be pasted outside of vim). I can do this by using the mouse but using the visual command (v) and then the yank command (y) does not do that.Is there a way to do this without the mouse?

View 10 Replies View Related

Programming :: Python: Won't Copy To The Clipboard?

Aug 28, 2010

I having a hard time figuring out why this code works in an interactive ipython shell, but it gives a blank clipboard when run in a bash terminal.

Code:
#! /usr/bin/python2.6
#

[code]...

View 1 Replies View Related

Ubuntu :: Cannot Copy To Clipboard From Remote Desktop Viewer In 10.10

Oct 19, 2010

Just installed 10.10 32-bit on a Lenovo T61p laptop, and used Remote Desktop Viewer (version 2.3.2) to VNC into another system. I can copy from an application on 10.10 and then paste into a window in the VNC connection (e.g. to xterm or emacs), but I cannot do the reverse. When I try to paste, I get garbage displayed. For example, I selected "ls -l" from an xterm, which should have copied to the clipboard. When I paste this into an e-mail message, I get junk.

Here is what Emacs in hexl-mode says about that text:
7852 3109 05 xR1..
It shows as "xR1" some whitespace and then a tiny graphical box symbol with 00 and 05 in it. I'll try to paste it on the next line: Is this a known bug? Is there a workaround? Another app I can use?
xR1
This same VNC connection works fine, when I use 10.04.

View 1 Replies View Related

Ubuntu :: Copy A Line By Number In Text Files On Terminal?

Apr 10, 2010

I got a text file. Now I want to write a line by its number in a bash variable. That is all.

View 1 Replies View Related

General :: Copy To System Clipboard Instead Of Vim Buffer

Sep 11, 2010

I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer.

View 5 Replies View Related







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