Ubuntu :: Capture Output From Synaptic Terminal?
Dec 9, 2010
In synaptic package manager when I expand "Details" tab (at the time when some software is installed or removed), I can see a terminal. I want to capture the output of terminal into a file. I tried to highlight and right click. But there is no context menu(copy, cut)
View 4 Replies
ADVERTISEMENT
Jun 13, 2011
I got a program that i run and get an output from it -> ./prog -i file-name
However I want to write a script to capture its output and write it in the output-file.txt.
How I can write the script (the-script) such that the 'file-name' treated a a variable?
View 1 Replies
View Related
Jun 3, 2010
if I'm posting to the wrong forum. Be so kind to tell me where to better ask this question, as I'm really not finding the right words to google for.So, I have a shell application (fdb) which is a Flash debugger. I want to run it using bash script, capture it's output and pass it the commands (it can read from STDIN). The reason I want to do so is that Flash Builder (the IDE for Flash development) is plain stupid when it comes to compilation, and it won't allow me to compile any file in the project... so, I found out that I can make Eclipse to run an external tool. This external tool is my *.sh file whichches the compiler, and then it launches the debugger.The Eclipse console can display the compilation results, or errors. When I run the debugger it can even pass the input from Eclipse console to the debugger, however, the output from the debugger isn't shown.
View 1 Replies
View Related
Nov 16, 2010
I have this file:Code:vid-gd-19940626-peggy.rmI would like to extract the audio and copy to a file to burn on a CD.'pitivi' will load the file and show the audio timeline. But I can not find a save or copy button.'vlc' will play the file but I can not find how to seperate/save the audio.I found a 'ffmpeg' that is suppose to read whatever is being sent to your speakers.Code:ffmpeg -f oss -i /dev/dsp -f video4linux2 out.wavThis produce a file that 'mplayer', 'vlc', 'audacity' will load but it is empty of useful data. Black screen only.This is the second week I have worked on this. Either I'm googling for the wrong words or what I'm reading, I don't understand.
View 4 Replies
View Related
Jun 13, 2011
I got a program that i run and get an output from it -> ./prog -i file-name
However I want to write a script to capture its output and write it in the output-file.txt.
How I can write the script (the-script) such that the 'file-name' treated a a variable?
View 1 Replies
View Related
Jun 10, 2010
I have a script that generates a bunch of output, including the expansions details provided by: set -v -xI am trying to pipe everything that is displayed to a file, in addition to displaying it on the screen. I've managed to get stderr and stdout into the file, but the expansions are only printed to the screen. Here is what I have so far:sudo -u <user> source my_job.sh |tee my_log.txt 2>&1
View 2 Replies
View Related
Apr 21, 2011
how to capture the FTP session output from Net::FTP module to a text file or in a variable ?
View 1 Replies
View Related
Oct 31, 2010
I would really like to capture the output of scp and my file's progress. Scp updates the transfer rate every 1 second, and I will like to save the transfer rate at every update. So for example, if the file transfer takes 30 seconds, I would like 30 reports of the transfer rate.
The output looks like:
Code:
file.dat 1% 3664KB 938.5KB/s 05:48
Whenever I try a simple redirect like:
Code:
scp file.dat 192.168.1.100:~/ &> output
... it does not save the rate at every update, it only shows the final rate.
If I try using typescript by starting "script" ... it's the same deal.
View 7 Replies
View Related
Jul 14, 2010
I'm trying to record my desktop and tested some solutions. While I was impressed how small .mng files could be, it is a disadvantage that I can't capture audio with it and many users won't be able to open these (browser / Windows). I have been very impressed by the xvidcap instruction videos: 4:30 in only 9MB, which makes 180MB for 90 minutes. This would be suitable. With Camtasia my professor even records 90min in 100MB. The problem is that xvidcap hasn't been updated since 2006 and seems to be dead. RecordMyDesktop needs 6MB for 1 minute or 540MB for 90 minutes, which is too much. Could anybody give me some hints on how to capture very small video files, which are still clear enough to read text in a format most users can open? It would also be cool to be able to show specific PDF or HTML pages synchronised to the video.
View 3 Replies
View Related
Oct 3, 2010
I have 3 old video capture cards which I would like to use for CCTV. Each card supports 1 camera. So I would like to have 3 cameras setup in the end and monitor them with zoneminder. When each card is plugged in on it's own, it works fine. Video comes through clearly with xawtv and zoneminder. However as soon as I plug in a 2nd card (with or without a camera connected) the output in xawtv and zoneminder goes haywire. It looks like the 2nd card takes over the first card, resulting in majority of the picture coming from the 2nd card, and some (if any) from the 1st card. When viewing either of the two cards /dev/video0 or /dev/video1 in xawtv the output is identical. I've tried this on a fresh 10.04 Ubuntu install, and on an older MythTV debian computer, the same results. Here are lspci -vv outputs with 2 combinations of cards (same fuzzy output):
[URL]
My thoughts are because the capture cards are cheap (similar to winmodems), the problem may be in the software kernel modules not allowing room for other similar capture cards to run at the same time. Can anyone suggest me in the right direction? Do I need to setup some sort of memory allocation for each card manually? Something in the BIOS? An extra option when the card modules are loaded?
View 1 Replies
View Related
Feb 22, 2011
I am currently reading a book about Linux commands. There is an example which shows how to print all installed packages. But on my PC is shows northing:
rpm -qa
I know it is supposed to print a long list of all installed packages. I tried to re-install rpm from the synaptic, but still it shows no output.
View 7 Replies
View Related
Jun 4, 2010
I have some output on the console on the gnome-terminal.
View 2 Replies
View Related
Apr 13, 2010
I do a lot of beta testing on vario ustros and encounter a problem during initialinstalls .does one capture the screen display during installation when an error occurs?The display usually doesn't stay on long enough to copy the information, even when moving into an error console (such as Alt-F3).often doesn't have the install data, especially errors.Screen capture programs are not up and running at that point.I've tried taking a picture of the screen with a digital camera but the results were not very good.
View 4 Replies
View Related
Jun 6, 2011
This is not a big problem, but a while ago Synaptic stopped starting from menu.I have to start terminal and there type Code:sudo synapticHow can i repair this?
View 7 Replies
View Related
Dec 14, 2010
hello
I tried to find a good subject but it was the best of mine, anyway I'll explain it here.
some time I do some thing like installing a new application in Linux terminal of my office PC but it take a long time and I have to go home during its installation or configuration process that it is not good to cancel it.My current solution is abandoning the process until next day. I wanted to know is there any way to redirect an input and out put of a terminal to another one, if it works I can continue my abandoned process by ssh to my Linux office PC and redirect that terminal to my new remote sshed terminal from my home.
Thank a lot for any help.
View 4 Replies
View Related
Jan 10, 2010
I am not able to update at all. Update manager returned an error reading
Preconfiguring packages ...
/usr/bin/dpkg: 1: Syntax error: ")" unexpected
E: Sub-process /usr/bin/dpkg returned an error code (2)
i get the same error if i update in a terminal or from Synaptic Package Manager.
View 8 Replies
View Related
Jan 17, 2010
Any time i try to install anything from terminal or synaptic i get this error message saying:
Or if i try to upgrade:
If i try to open the software-center the cursor changes but it does not open. This all started when it upgraded to Karmic Koala. There might be two seperate issues but i cannot install or uninstall at all.
View 2 Replies
View Related
Jul 27, 2010
I've spent the entire day trying to install virtualbox. My dkms is newest version, my gcc is newest version, my headers seem to be in order, and it still won't install. BUT that's not my problem. As I was trying repeatedly to install, I noticed it said "group vboxusers already exists". So brilliant me, thinking that was my problem, went and deleted it, and then headed to synaptics to uninstall virtualbox (again!) so that I could try to install it (again!), only to find myself locked out.
The exact message I get is
Code:
Unable to get exclusive lock
This usually means that another package management application (like apt-get or aptitude) is already running. Please close that application first.I've worked really hard on this install, and don't want to start over with a fresh one unless it's absolutely necessary.
View 3 Replies
View Related
Jan 24, 2010
if you do the command conky in terminal, it starts conky ofcourse, but it also shows output to that terminal so you can't do any other commands to that terminal, Is their an option like you can do with the '&' sign in other cases? If you do the '&' sign with conky it still gives output, also the conky -d command gives output...
View 9 Replies
View Related
Aug 11, 2011
when I try to apt-get upgrade system or install a new package in synaptic or terminal, I see this:
Code:
dpkg: ../../../lib/dpkg/dump.c:250: w_status: Assertion `pigp->trigpend_head' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
So, before I have a problem - Synaptic opened, told that /var/lib/dpkg/status don't exist, in the web I read that sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/
View 4 Replies
View Related
Feb 9, 2010
i m not able to help any software due to my proxy settings. my proxy block all the download links. not able to install software from terminal or synaptic packet manager
View 8 Replies
View Related
Aug 13, 2010
What is the best analogue capture program please to capture Austar.
View 1 Replies
View Related
Apr 17, 2010
I would like to capture all output spewed to a terminal session including processes that are terminated that were invoked from a script running in a terminal window. this is beyond capturing just stderr and stdout . for example
{
./script
} 2> stderr.cap 1>stdout.cap
if script is terminated (including because of memory violations) I get spewed output to the terminal I would like to capture that spewing to a file automatically or to a bit bucket /dev/null Is there another filehandle which can be redirected to do this? If so how or is there another way???
View 3 Replies
View Related
Jun 19, 2010
I want to know how to get the current coordinates of the mouse outputted to terminal, for use in a bash script.
View 1 Replies
View Related
Feb 15, 2011
I'd like to write a script that invokes a gnome-terminal session which slowly reads out text like the phosphor screensaver (could be anything, a log file, ascii art, song lyrics, whatev) and then closes. I can invoke a terminal using [gnome-terminal -e 'cat /var/log/dmesg'] but the output flies pass by too quickly.any way to slow it down? I know it seems like an odd request but if anyone has a suggestion I'd love to hear it.
View 3 Replies
View Related
Mar 15, 2011
I sometimes stick my neck out and provide somewhat detailed, and often risky, "Mr-fix-it" remedies for boot problems. Now, I know it's possible to amend each command with "whatever_command > whatever.txt" in which case it'll place the command output in a file in /home.
But if you're directing someone to run a lot of commands as I did here is it possible to save the output of all commands to a .txt file without amending each command?
Or is it already saved somewhere that I'm not yet aware of? I wouldn't be surprised if the latter were true, I just haven't yet found it
View 4 Replies
View Related
Sep 29, 2010
I have searched a lot for solutions of this problem, but there seems to be no solution that works for me. It was time to update my installation... AS I have NEVER updated it. So I ran the update manager and launched updates. Many packages completed, but linux-image-2.6.32-25-generic (2.6.32-25.44) gave me a lot of errors. I don't ave the terminal output from the update manager, but I have info from apt-get install -f. I am using root account.
Code:
root@ubuntu:~# apt-get upgrade vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
[Code]...
View 3 Replies
View Related
Apr 23, 2011
I've done some searching on googlubuntu for and answer to this but haven't found anything.
As a Linux newbie I was wondering if there are certain types of output from the terminal I should beware of posting for everyone to see? Also are there any codes; that, if I were to be asked to run and report the output on, should raise a red flag?
View 9 Replies
View Related
Jul 10, 2011
There is text based game in the Ubuntu repos called gomoku (just 5 in a row) it comes with the package bsdgames. The manual page [URL] lists an option (-b) to run it in the background. I want to try that and if I know how it works create a simple graphical front-end. When I start the program with:
Code:
gomoku -b
it starts and remains active, the terminal does not return to prompt which is OK as the command is not finished. The manual says the program reads from stdin, and this might sound stupid but how to get anything there?
I've tried to pipe an echo command to gomoku which works but ends the program after is receives input.
Code:
echo "black" | gomoku -b
just finishes. After that when you type another command like:
Code:
echo "justsometext" | gomoku -b
gomoku tells it expects either black or white as input. So it forgot the previous "black" because it is a new instance.
How do I pass text to an already running gomoku?
View 2 Replies
View Related
Jan 25, 2010
I'm writing a couple of programs in C and need to do something to formatting the output. I'm after producing something like a old mainframe screen or early micro where you could PRINT (x,y) to put something on the terminal where you want it. Learning GTK or such is not an option due to time constraints, and some fields need updating frequently during processing, so letting the terminal scroll is going to drive the operator up the wall pretty quickly.
View 2 Replies
View Related