Ubuntu :: Error With "top" Command In Output Screenlet
Apr 7, 2010
I'm attempting to use the output screenlet to always show the output of the "top" command. However, the screenlet will only display "TERM environment variable not set". Opening a terminal and running a "env | grep TERM" shows me that the variable is actually set, so I think that the screenlet may not be reading my environment correctly.
View 6 Replies
ADVERTISEMENT
Nov 11, 2010
We make everyday a DB Mysql backup on Linux redhat Enterprise. We are using a bash shell script (and putting it in the crontab) to execute it automatically everyday. We added a line to this script telling, once the backup has completed, to find old backup files (stored on hard disk after each backup) older than x days to remove them. We use the find command (search for file type) with the mtime option and in combination with rm command. Everything runs ok but we also want to add some new code to the same line: If find command cannot find anything or fails, for example if it cannot delete file or fails, send the error message (standard error output) to an error file (like error000001 and increasing) and mail the errorxxxx file to an email address for example to admin@companyname.com. What would be the code for this issue to add it to our find command in the same bash shell script??
View 2 Replies
View Related
Jul 22, 2011
I have copied over my .gnupg files from a computer to a new workstation that is running Mandriva 2010.2. I am running Thunderbird as a mail client just as before and got Enigmail installed and running fine. The problem I get is when I send a message off with a digital sig it returns this error:
Send operation aborted
Error - bad passphrase
gpg command line and output:
/usr/bin/gpg
gpg: cancelled by user
It does not give me a chance to enter in the passphrase. I copied over the .gnupg files to my Ubuntu laptop running Thunderbird with Enigmail and I have no problems. Could there be an issue going from 32 bit to 64 bit? I checked out the forums and found no answers.
View 1 Replies
View Related
Oct 30, 2010
I know I screwed up something. I was using Ubuntu 10 minutes ago without a hitch. Then I tried reducing the time I needed to select something in GRUB. So basically, I found this command:
[Code]...
I got it when I tried reducing the GRUB_TIMEOUT from the code above. I feel so furious now because I knew it was a bad idea to fix something that isn't broke. Can my Wubi install still be saved?
View 7 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Oct 20, 2010
I am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?
View 3 Replies
View Related
Jul 2, 2011
I want to run gsettings list-schemas (which return a list of about 100 names separated by spaces)and somehow direct each name one at a time as the input to this command:gsettings list-recursivelyI've tried it with awk, and standard | piping and also as a string variable strvar=$(gsettings list-schemas) and using the $strvar as the input butam missing something in between I'm sure like for - while or proper syntax of awk etc
View 3 Replies
View Related
Nov 13, 2010
I want to use the output of a previous command as a parameter to another command. For example: to know where "nice" is stored i typed: which nice output: /usr/bin/nice now the second command i typed is: ls -l /usr/bin/nice Is there a way to have a single command like: ls -l which nice ?
View 4 Replies
View Related
Aug 21, 2010
I was following the online instructions to install screenlets and all is fine and the manager appears as well. In compiz the widget layer is active etc. Once widget layer is activated it shows an empty blank dark screen, widgets are not running. The widgets/scripts do not show up, neither on desktop nor on the widget layer.
Running the py script from terminal showing following output:
Quote:
user@ubuntu:/usr/share/screenlets/Clock$ ./ClockScreenlet.py
CachingBackend: Loading instances from cache
Found a running session of Clock, adding new instance by service.
Error in screenlets.services.get_service_by_name:
[Code].....
View 2 Replies
View Related
Feb 7, 2011
How can I make my own screen-let?
all I want it to do is be a picture of an Orb like the windows 7 one but without the logo which I can place over the start icon. I just can't figure out how to make it, all I know is that you need to compress the file to a Tar.gz file.
View 4 Replies
View Related
Jul 16, 2010
I'm using Screenlets in ubuntu 10.04 and I have a problem with screenlets behavior. I played around with it a little while and I guess I messes something, because now whenever I log in some screenlets load twice and I have to clean them manually. Where can I view the config for each individual screenlet?
View 1 Replies
View Related
Jan 8, 2010
The text of my cairo-clock screenlet is clipped - only a pixel or two on the top, but more on the bottom (see attached screenshot). Is there a way to fix this? (Also, does anyone know how to format the clock differently? I would like a single line with the format like "13:59 31/01/2010" ...)
View 1 Replies
View Related
Mar 4, 2010
I want to try out the screenlet called Folder View:[URL]I have downloaded and installed it fine. However, when I double-click on it (or use the Start/Stop button) there is a momentary flash and then nothing interesting. I have checked on the widget layer and on all desktops and I have tried various settings in Options all to no avail
View 2 Replies
View Related
Jun 15, 2010
I saw that it's possible to use stock screenlet to show an exchange rate:[URL].. but I wasn't able to find out how to do that...I know that for let's say Google, you have to type GOOG (Nasdaq index) in the preferences, but there's no such index for exchange rate e.g. EUR-GBP.
View 5 Replies
View Related
May 4, 2010
I am no programming expert, but there must be a file that the Notes screenlet is storing all my notes on ( im not talkign about tomboy). If I can just find this file and then Share the file, i will be able to sync my notes between my computers. Correct? So anyone know where this text file is so that I can sync it.?
View 2 Replies
View Related
May 10, 2010
I've installed the Screenlets package. HOW TO define my location in the ClearWeather screenlet? The "ZIP" (locale) field has the default: POXX0079 which is: "Villa Real". What coding system is this? How / where do I find the corresponding code for a Canadian city? It's obvious that the "ZIP" field does not use the US Postal coding system.
View 5 Replies
View Related
Mar 9, 2011
I am trying to grep multiple numbers from file, grep does have the -f option for that.
Code: grep -f <`seq 500 520` /etc/passwd I know this could be done with
Code: for i in `seq 500 520`; do grep "$i" /etc/passwd; done But my question is fare more behind this example. It is possible to redirect one command output which will be treat as a content of file for another command ?
View 2 Replies
View Related
Apr 14, 2011
I cd to the directory, Run Python setup.py install.
[mitch@mitch ~]$ cd LostCountdown
[mitch@mitch LostCountdown]$ python setup.py install
python: can't open file 'setup.py': [Errno 2] No such file or directory
[mitch@mitch LostCountdown]$ ls
icon.png LostCountdownScreenlet.py Screenlet.package sounds themes
[mitch@mitch LostCountdown]$
View 1 Replies
View Related
Jan 22, 2011
I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.
ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?
View 6 Replies
View Related
Mar 15, 2010
I don't know the format of these old floppie disks, ive tried
Code:
PC8-248suse:~ # file -s /dev/fd0
/dev/fd0: ERROR: cannot read `/dev/fd0' (Input/output error)
how i can go about reading this data?
View 9 Replies
View Related
Mar 28, 2011
when iam opening my dec_backup folder the folling error is appering :
the error is gzip :stdin:input /output error
/bin /gstar :unexpected EOF in archive
/bin /gstar: error is not recoverable :exesting now
View 1 Replies
View Related
Sep 8, 2010
I want to scan a particular directory recursively and run a particular command with each file as input. For this I am using "find /dir/path". I dont want to write any long script containing loop on the output of "find". I want a single command which will allow me to run a command on each file of the "find" command output.
View 3 Replies
View Related
Sep 9, 2010
I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied
The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?
View 1 Replies
View Related
Feb 14, 2010
My server is currently copying a large amount of date. I periodically check how much has already been copied by using the "ls" command in the destination folder. Is there a way so that ls kind of self updates itself? Like in a log or so? Or like when using cp -v?
View 9 Replies
View Related
Oct 3, 2010
How can I port standard out from ls or any other command into a while loop?
Code:
while read line
do
[code]....
View 4 Replies
View Related
Nov 5, 2010
In a script, when I enter "echo $1" the first argument is outputted. When I enter:
a=1
echo "$$a"
The output is just "$1", not the first argument. If I enter:
a=1
b=$$a
echo $b
The output is still "$1" and not the first argument. How can I get echo to output the first argument without use "$1" directly?
View 4 Replies
View Related
Jul 12, 2011
I write LaTeX in Emacs and then run a shell script to process the LaTeX code. I used to run a subshell buffer with M-x shell and then execute the script from within there, but this results in a lot of switching between buffers, which seems unnecessary. Then, I found out about executing shell commands with M-! cmd RET, as described here:[URL]The problem with this is that the output from the script splits my screen. It's a nuisance, and I would like to run the script without any output. I've tried appending > /dev/null to the command, but it doesn't work.For example, when from within Emacs I enter M-! followed by
Code:
sh make.sh > /dev/null
it splits my screen so that one portion displays output from the make.sh script. I want it to run silently, and leave my Emacs buffers alone
View 3 Replies
View Related
Aug 5, 2011
I run a 3rd party command line utility and it works fine, but sometimes it says "Error blah blah blah... Connection timed out"
I want to script this utility, but I need to not execute the commands in the script if it gives me that connection timeout error.
bash code to capture that response from the utility? Something along the lines of:
Quote:
#!/bin/bash
3rdpartyutil > /tmp/temp.txt
if [ ! -f /tmp/temp.txt]; then
echo no error, run whatever you need to man
fi
rm /tmp/temp.txt
Unfortunately, that doesn't work because the utility outputs non-error information to the screen even when it is successful, so it always outputs something, I never need to see it, but I do need to be able to act upon if some of that text says "error" or "connection timed out"
View 3 Replies
View Related
Jul 16, 2010
I am fully aware that these following photo's are not all required for a full understanding of my issue, but I will post them regardless. Checklist to see if my computer meets best results possible for the installation. Screenshot.jpg These photos showing here are where I plan on Installing Ubuntu
Screenshot-1.jpg
Screenshot-2.jpg
NOTE: The installation has started, but only to shortly be stopped by my error message.
Screenshot-3.jpg
This is my ERROR!!! message
Screenshot-4.jpg
No matter what I try to click on, the window simply ignores the command, regardless of the amount of times I issue the command.
View 1 Replies
View Related
Apr 27, 2010
how to use multiple linux cut comman to display on same line ?
e.g ls -il | cut -f6 d:
ls - il cut -f9 -d:
The linux script output is
filename
123
How to use cut to display on same line ?
View 1 Replies
View Related