Debian Programming :: Analyze Image Or Screen For Existence Of A Color

Jan 4, 2014

I have a problem for which I imagined a radical solution. Okay, I have a script that uses Alltray's "menu" feature as an interface. It's working greatly, EXCEPT sometimes lxpanel (the panel and tray of LXDE) has a hiccup and restarts, at which point the alltray menu is still running, but the icon is gone from the tray.

I want to somehow test the screen for the existence of a color, a color that is likely only to exist in the icon I've chosen for the chat menu. If the color exists on my screen, then the script can continue to do nothing, but if the color doesn't exist, then that means the alltray icon with my custom icon has disappeared, at which point I should have my bash script close the alltray process and start it again.

How to accomplish the checking of my screen for the existence of a particular color? To simplify, I already have simple screenshot scripts (scrot is good for it), so it would be fine if I could simply analyze an image.

View 6 Replies


ADVERTISEMENT

Programming :: Get Pixel Color From Screen In Bash Script?

Nov 25, 2010

I would like to get the pixel color from screen at (320,240) and if the color = 0xFFFFFFFF , i would like to execute a command.

View 3 Replies View Related

Software :: Screen App / Retain BG / Color Background Color Gets Lost

Jul 6, 2009

I am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color: tput setab 4; clear; tput setaf 7; clear;

This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in.

View 1 Replies View Related

Programming :: Favorite 256-color Vim Color Scheme

Feb 25, 2011

What is your favorite 256-color color scheme for vim?

View 6 Replies View Related

Ubuntu :: Blank Desktop Appearing - Just Color No Image

Jan 20, 2009

I am running Ubuntu 8.10 Intrepid Ibex dual-booting with Vista for work purposes. I have been running the two successfully for quite a few months now and am just getting to grips with it. I have lost my desktop at start-up. I get all the way past the Login to a blank desktop background (just colour - no image) and the only thing visible is a Terminal window. As I am not familiar with Linux command lines I can't do very much. I have even tried reinstalling Ubuntu which showed no error messages that I noticed but, I have the same result. At the moment I have used Supergrub to allow me to boot straight to Vista till I get things sorted out.

View 1 Replies View Related

Ubuntu :: Change Login Window Background From Image To Hex Color

Jan 10, 2011

I have Ubuntu Tweak installed but it only lets me change the login background to an image. Is it possible to use a color in hex?I am using Ubuntu 10.10.

View 9 Replies View Related

Ubuntu Multimedia :: Image / Photo Editor - Adjust Color - Crop And Resize

Sep 17, 2010

MS office 2003 came with a prgram called "Microsoft Office Photo Manager". It was a surprisingly lightweight application that could adjust color, crop and resize photos. Very simple interface, easy to use. Perfect for simple modifications to digital photos. Is there anything like this in linux? Gimp is certainly not it. Office Drawing and F-Spot photomanager are not it either.

View 3 Replies View Related

Debian Hardware :: Install Old Ibook G3 Upon Normal Boot Get A Black Screen With A Bar (attached Image)

Jul 8, 2011

I'm attempting to install debian on my old ibook g3. Upon normal boot I get a black screen with a bar (attached image) I boot the kernel with init 1 and I see that I have no xorg.conf, so naturally I input xorg -configure. Attached is the log, as I am under Windows and read it. Let me know what you think and let me know if you need any output from me[URL].. p.s As I'm a new member I can't attach anything yet so I uploaded it to media fire. ibook.zip (includes xorg.log & IMG_20110707_203900.jpg /984.41 KB)

View 14 Replies View Related

Programming :: First Image Will Display On The Page, And When A User Puts Their Cursor Over It, Then It Will Load Image 2?

Nov 24, 2010

I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.

View 1 Replies View Related

Ubuntu :: Color Stripes On Screen During Boot Up?

Jun 25, 2010

I have a dell inspireon 1501 with Ubuntu 10.04 on it. Sometimes but not always when I boot up I will see colored stripes on the screen that don't go away. The only way to get rid of them is too close the lid of the laptop then open it up again. After I open the lid the stripes go away. Any way to get RID of the stripes?

AMD Sempron 1.8
1.45 GB ram
ATI Xpress video Card

View 5 Replies View Related

Debian :: Print An OpenOffice Or LibreOffice Calc With An Image And Text, The Image Is Not Printed (the Space Is Blank)

May 11, 2011

I have a Canon iR3570/iR4570 PXL, and installed the driver CQue 1.0 TCP/IP Queue from Canon webpage.

The problem:
- if i try to print an OpenOffice or LibreOffice Calc with an image and text, the image is not printed (the space is blank).
- if i try to print an OpenOffice or LibreOffice Calc with just an image, it's printed great.
- if i try to print an OpenOffice or LibreOffice Impress, the images are not printed but the text is printed great.

[Code]..

View 3 Replies View Related

Ubuntu :: Act Upon The Existence Of A New File?

Jun 27, 2011

I have a cron job running to act upon files if they exist in a folder... the problem is the nature of those new files. New files aren't put there very often, the server isn't used much (most of the time) so I would like to not check every minute to see if a new file is there and allow the disks to spin down and go to sleep. However, when a new file does exist there, it needs to be acted upon ASAP.

So currently I'm handling that with a cron job... it works... but what would work much better is the ability to act upon the event of a new file being present. Is there a way to trigger action upon new file system activity in a certain path? or just keep doing what I'm doing and have the system check all the time and keep the disks awake just in case something shows up?

View 9 Replies View Related

Ubuntu Installation :: 10.10 Image Not Loading - Flash Screen On Blank Screen

Dec 26, 2010

Is there a known problem with the Lubuntu 10.10 image here? I have downloaded it to two different computers, then burned the images to two different blank CD's (different brands) and neither loads. Both only get as far as the Lubuntu menu, once ENTER is pressed at that point to load the LiveCD, a blank screen eventually appears with a flashing cursor at the upper left of the screen, that's it. They were both burned using the slowest burn speeds available.

View 9 Replies View Related

Ubuntu :: Screen And Vim (256 Colors) Background Color Rendering?

Feb 18, 2010

I'm using xterm/screen/vim, and set them up to 256 color mode. Everything went well, except when background color for the theme I choose is not black.

Here's the theme I use in this example:[URL].. Here's the situation: as long as I only use vim, the background is well rendered, meaning everything is grey in vim background. But when I try this with screen, the background is back to black, and only the text get some kind of highlight with the background color.Here are the magical lines I added to screenrc:

Code:
term screen-256color
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=E[48;5;%dm:AF=E[38;5;%dm'
# Erase background with current bg color. Not needed if TERM=screen-256color
defbce "on"

Colors are well rendered in 256 color, I only have a problem with this background. Anyone knows how to 'fix' this?

View 1 Replies View Related

Ubuntu :: Color Stripes On Screen While Booting/installing?

Sep 13, 2010

I have a dell inspireon 1501 and everytime I try to install a version of ubuntu above 9.10 I get colored stipes on the screen. How do I fix this. The dell laptop has a ati Xpress1150 card in it. It came in the laptop stock.

View 2 Replies View Related

General :: Monitor Screen Color Different Between System AND Windows / Why Is So?

Oct 23, 2010

I dual boot Opensuse and Windows 7.
Both OS install correct graphic driver.
But I find that windows 7 display better color than opensuse,
you can feel the different by eyes.
Why?

View 3 Replies View Related

Software :: Vim Background Color Persists In Screen Session?

Aug 24, 2010

I use ssh via KDE 4.4.3 konsole to connect to a 2.6.28-18-generic Ubuntu SMP machine,on which I use vim 7.2 and screen 4.00.03jw4. Within a screen session, the background color persists on the screen session even after closing vim. I dont know if this is a konsole or bash or screen or vim colorscheme problem.

View 1 Replies View Related

Programming :: Get Console Font Color

Jun 20, 2011

I've coma across a problem I have not been able to solve myself. Is there a function in the linux API similar to GetConsoleScreenBufferInfo() on Windows? refer to: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

I only need to get the current color settings of the active terminal.

View 3 Replies View Related

Software :: Existence Of An Email Program In OS?

Apr 23, 2011

Can anyone inform me about the existance of an emailprogram exclusively for linux? I mean a client which has no windowsversion? A client that makes importing very difficult?

View 1 Replies View Related

Ubuntu :: GNOME Loses Color Depth After Screen Turns Off

Mar 13, 2011

Problem appears every time I leave my computer for a while and my screen turns off because of inactivity. Then after screen starts again, my desktop looks like it lost color depth. I can see wallpaper that consists of big blocks of color tones instead of being smooth. Temporary I had to disable blank screen during inactivity in Power management settings. I have installed:

Ubuntu 10.10 x86_64
kernel 2.6.35-27-generic
GNOME 2.32.0

My graphics card:

ATI Radeon HD 5470 512MB
ATI/AMD FGLRX driver installed

View 1 Replies View Related

Ubuntu :: Desktop Screen Position - .The Top Bar Of Any Screen Image Is Just Off The Top?

May 20, 2010

I am very happy with Ubuntu 10.04 that I downloaded, burnt to CD and installed (I am a newbie to Linux), but I am finding a little problem on an old Sony lap-top, with a rather old-fashioned almost square screen.The top bar of any screen image is just off the top, and I can only see a quarter of it, which makes using the max/min and cancel buttons a bit hard to use. I know I can resize the screen, but it goes back to the original next time it is used. Is there a permanent fix?

View 1 Replies View Related

Programming :: Emacs's Color Theme Installation

Dec 28, 2010

I extract color theme under ~/bin, and my .emacs file is as below: However, there is an error when loading color theme.

[Code]....

View 2 Replies View Related

Programming :: Program For /usr/bin For Scanning With Color Using Scanimage?

May 21, 2010

scanimage is cool. It would be great if there was a command line that one can configure to scan without X, and with rather quite some options to configure... convert to jpgcapable of finding -d snap:lib... whatever you plug and replug the scanner

View 12 Replies View Related

Programming :: OpenCV - Color Detection / Tracking

Oct 14, 2010

I've introduced myself to OpenCV a bit now and can do some of the most basic things with it. My current goal is to have a solid color object (say a red ball) and have a camera be able to find that object. Anybody know of any resources to start learning how to do this? Any tutorials/books? Or is there something I should be searching for instead of color detection and tracking that will give me things more in the right direction?

View 2 Replies View Related

OpenSUSE Install :: Changing Font Color During Boot Screen - Not GRUB - Not KDM

Jan 24, 2010

I am testing some boot splash screens but the ones I like most are darker and therefore the black font color during boot, well, shows on dark grey or black background, so I can't see.

I would like to change the font color of the messages, but not the results (green=DONE, red=FAILED, etc., I don't want to change that, only the messages like "doing fast boot", "Loading CPUfreq", and all the ones loading stuff, mounting, etc.).

Apparently I need to edit /lib/lsb/init-functions?

I found a few examples on google, mostly for debian based and the ones I have seen are far more complex than the very simple one opensuse uses. So I am stuck here. 11.2 version.

View 5 Replies View Related

Ubuntu :: Video Drivers - Screen Black With Random Bars Of Color

Apr 11, 2010

I'm a little new to ubuntu. I installed a video driver and after restarting I got as far as the login screen where I saw that the driver did not work: screen is mostly black with random bars of color. I was only able to restart in recovery mode mode. I tried the fix graphics option, which did not work and also some commands that I've seen posted in other threads. So far, still cannot delete the problematic driver or boot up normally successfully.

View 1 Replies View Related

General :: Desktop Environment Color Settings / Do They Affect Web Browser Color?

Jun 14, 2011

Kernel 2.6.21.5, Slackware 12.0
KDE 3.5.7
(Mozilla) Firefox 2.0.0.4

Do color settings in the desktop environment affect color in the web browser? Thanks.

View 2 Replies View Related

Programming :: Changing Color Of Output From Bash Script?

Apr 22, 2010

I am writing a bash script that utilizes the output of another script (which I will refer to as script#2.) Script#2 is not owned by me, I cannot modify it. All of the output from script#2 is blue, which makes it difficult for me to read.

I would like to have the output of it changed to grey. Is there a way I can do that in my script? A command I can pipe the output to?

Edit: One other question related to this. I put a trap function in my script that works well. Script#2 essentially runs a tail -f. When I ctrl+c to stop it, it stops script#2 and never calls the trap in my script. Is there any way I can work around that?

View 3 Replies View Related

Programming :: Easier Way To Color Text In Perl Like BASH?

Apr 8, 2010

I've been trying to figure out a way to more easily color text in Perl like I do on Bash on a Linux box. In bash, what I'll do is set color variables up to equal the escape sequence, then echo out with escape seqeunces to print it exactly how I want it. Typically I'll want a character or a word in a different color, not the whole line. For example

echo -n -e "My face is turning ${RED}red${UNCOLOR} like a lobster." In Perl with the term::ANSIColor module, it seems to just do a line. Am I being dense? Is there a way that I can do it like I do it in BASH that's fairly easy to read after the fact?

View 11 Replies View Related

Ubuntu :: Can GNOME Color Be Used To Alter Ambiance Theme Color?

Jan 12, 2011

Can GNOME Color be used to alter this change directory color in Ambiance theme? I'd rather have white.

View 4 Replies View Related







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