[SOLVED] Can't view ps or eps files in geeqie/evince anymore

I swear I was previously able to view eps files in geeqie. I no longer can for some reason. I'm using gnuplot and have this sample code I found (just to make sure it wasn't my actual code):
set terminal postscript eps enhanced
set out 'example.eps'
a=0.25
b=0.02
c=0.05
d=0.1
f(x)=c/((x-a)*(x-a)+b)+d/sqrt(x)
set xrange [0:1]
set yrange [0:4]
plot f(x)
I end up with a 20.1 kb file. When opening in geeqie, I get this broken image:
In trying evince-gtk, I get:
File type EPS image (image/x-eps) is not supported
I also tried feh but get:
feh WARNING: ./example.eps - No Imlib2 loader for that file format
If I import it into gimp, I get the correct image, which should look like this.
In looking around, I found another post like this problem, but that ended up being solved by installing gsfonts. I have gsfonts and ghostscript installed.
Any thoughts?
Last edited by jwhendy (2012-01-06 18:43:31)

Ok. I think part of this was due to my memory, and another part due to some optional dependencies...
-- First: I think geeqie may never have been able to open eps and that this was in my head
-- Second: I installed the regular arch package 'evince' and it worked to open .eps files. In looking at the PKGBUILD for evince-gtk, I noticed djvulibre and libspectre as optional dependencies. Installing them after evince-gtk was already built from AUR and installed does nothing. Installing them before so that it gets built against them does work. For .eps support, it appears to come down to libspectre. Install that, then evince-gtk, and it works.

Similar Messages

  • How can I view my 6D raw files before I open them in post processing?

    How can I view my 6D raw files after I load them on my computer & before I open them on a post processing Program?
    I have no problem doing that with my 1DX,1DIV or 5Dmk III. This problem exist with any sdhc card I use on the 6D, but not on any other camera with the same cards.
    Solved!
    Go to Solution.

    Your computer doesn't have camera RAW support installed for a 6D.  RAW isn't really a standard-format... it's more of a concept.  Every individual camera has it's own unique RAW format (even though they all have the same .CR2 extension).
    Each time a new camera comes out, companies that make RAW processing software will make an update available that adds that camera.  You'll need to get that update and install it.
    Tim Campbell
    5D II, 5D III, 60Da

  • Can't view thumbnails of tif files...

    Bridge CS4 was working fine before I installed a new OCR software program. Now I can't view any thumbnails of files saved with a tif or tiff extensions. I checked the file type and it is associated with Photoshop CS4, not sure what has happened or how to fix it.
    Any help would be appreciated...
    ~Vince

    Not a computer geek, but this shot tells me the file is not a tif but an omniPage file.
    I googled omnipage and came up with this.  Hope it is helpful and you have not already been there, done that.
    Looks like this is for XP, but if you have Vista procedure should be similar.
    Question
    I've just installed Omnipage Pro.  I've discovered that it has altered
    all of the image file associations on my machine. (God, that ****es me
    off when they do that!)
    Answer
    Click the "Restore" button in the File Types dialog, and click OK. Then to
    fix the association settings, try the fix from here:
    http://www.dougknox.com/xp/file_assoc.htm
    For all other file types, you may use this tool:
    http://windowsxp.mvps.org/imgassofix.htm
    Ramesh, Microsoft MVP
    Windows XP Shell/User
    http://windowsxp.mvps.org

  • Just imported picture library from Aperture - Can't view Nikon D800 NEF files in LR5.7.1

    Just imported a large picture library from Aperture to LR 5.7.1- Can't view Nikon D800 NEF files in LR5. The projects and files loaded - but no thumbnail view of the image

    I have a Nikon D50 nef on my desktop. Double-clicking on it opens Photoshop, which launches Adobe Camera Raw. If you get that far and can make adjustments in the ACR panel, you are fine. That's what opens first.
    Then you click "Open" in ACR and your nef opens in Photoshop and the document tab on top gives the .nef extension. You make your edits there, but if you close Photoshop, you won't save it as nef, it won't be in the Save file list. You save it as psd for example and close Photoshop.
    You now have a nef with develop settings on your desktop and the psd you saved out of Photoshop.
    All perfectly normal as J.J. said, Photoshop will edit the nef file, but it will be saved in a format other than nef.
    Gene

  • Why can't I upload an eps file in Photoshop 12?

    Why Can't I upload an eps file?

    Irfanview (free) will open this file type. Open it in Irvanview, then save in a format that PSE will open.
    IrfanView - Official Homepage - one of the most popular viewers worldwide

  • How can i see and use EPS files ?

    I have gotten an e-mail from a company that shold make a cd for my band. They attached a EPS file. But I can not view it. Hvat program for mac can do this? Were to get it ?
    Thans
    Kim

    I found a number of applications that should view eps files on a Mac.
    In the Mac app store, PS-to-PDF will convert the file to pdf, which you can then view with Preview or Adobe Acrobat.
    Also in the app store, File Viewer will let you view eps files directly, and it is free.
    A Google search will likely find many more.
    Best of luck.

  • Can't view Sony RAW (.ARW) file in Adobe Bridge

    Hi all,
    Need some assistance here.
    I'm currently using Photoshop CS3 and Adobe Bridge.
    I've installed the Adobe Camera Raw update version 4.6.
    With this, I'm able to do the relevant editing with the Sony Alfa raw files (.ARW) in Camera Raw.
    But the funny thing is, when using adobe bridge I can't view the thumbnails as I view it in camera raw / photoshop.
    The thumbnails is "blank". This only happens on .ARW files. I'm able to view jpeg files in thumbnail.
    When I check the camera raw preferences in adobe bridge, it shows me it's 4.6.
    I'm currently using Mac OS X (Leopard).
    Do any of you faced this before?
    Hope that any of you could shed a light on this matter.
    Thank you in advance.

    Have you figured out a workaround for this?  Most of the forums regarding this issue
    are windows related or full of arguments.  I'm guessing there may not be a solution to this problem so I'm curious what approach you're taking.
    Thanks!

  • Can't View or save pdf files

    Since this morning I can no longer view or save files on the website where I had no probs in the past.  When I try to save I get the message "The File is Not valid", so it's not surprising can't view or save.  I contacted the site & they tell me all works fine.  Why should the file names change such that they can no longer work with Adobe reader?   The only changes are that I received a windows update (I am running Vista Home Basic) and I installed a new printer/scanner/copier (Epson NX130).  Any suggestions please?
    Mozza 46

    Thanks for taking the trouble to look at my problem, Michael.   I don't know to post a link to a file.
    The files I want to view and save are located on the separate websites of 2 different share registries.   I used to be able to do this, but now can't.   When I try to "Save As ....."  I can't because the files show up as a non-pdf file, a specific example of such a filename is:  "PaymentAdvice?Paymentkey=AGKHAINTJUN12,109011151746,1,1".   I rang both of the 2 share registries who confirmed that I should not have the problem I am experiencing.
    Looking at other threads, some folk have got things to work when the went back to Adobe 9 instead of 10.  Any thoughts?

  • Where can I view my iCloud-stored files???

    Hi,
    I've only recently started using iCloud to store Pages and Keynote files.
    I have, by now, saved about 5 files (3 pages, 2 keynote) in iCloud.
    Since I can't seem to find these files anywhere in Finder, I was wondering if there's a specific folder to look for when trying to open files on iCloud.
    Or do I always need to open the specific app (pages or keynote) first, and then select the file I want to open?
    Also I noticed the Preview app has a "iCloud" tab. But when I click that, none of the 5 files I have stored in iCloud appear.
    Is this normal? If so, what is this "iCloud" tab in Preview used for?
    Hope any of you can help out!
    Thanks a lot!
    KR,
    Maarten

    Since I can't seem to find these files anywhere in Finder
    They're not in the Finder, they're in iCloud.
    I was wondering if there's a specific folder to look for when trying to open files on iCloud.
    No, you open the documents from within the application that created them
    Or do I always need to open the specific app (pages or keynote) first, and then select the file I want to open?
    Yes.
    Also I noticed the Preview app has a "iCloud" tab. But when I click that, none of the 5 files I have stored in iCloud appear.
    They won't. Only files saved by Preview would appear in Previews iCloud tab.
    If so, what is this "iCloud" tab in Preview used for?
    For saving documents from Preview to iCloud.

  • How can I view my Creative Cloud Files on my iOS device?

    Hi All, I recently turned on file sync in my Creative Cloud app, and like the WEB UI overall.  I'm considering permanently switching to CC from Dropbox.  The one thing I can't seem to find is a CC iOS application.  Are we seriously expected to browse our files via mobile device on a browser? There is no app?
    Excerpt from Adobe Site:
    "Your Adobe Creative Cloud account comes with online storage so that your files are available to you anywhere and on any device or computer. You can preview many creative file types directly in a web browser on your computer, tablet, or smartphone. These file types include: PSD, AI, INDD, JPG, PDF, GIF, PNG, Photoshop Touch, Ideas, and others."
    Edit: I just tried using the file explorer via Safari and Chrome on my iPhone 5s and the scrolling is completely broken, I can only see the first few folders, and am unable to scroll down for the rest.

    1. I'll make sure to do that
    2. The Touch Apps do not help me with the functionality I am looking for.
    3. I contacted Adobe Support and received no help, transcript below:
    General Info
    Chat start time
    Jun 9, 2014 1:25:10 PM EST
    Chat end time
    Jun 9, 2014 2:01:47 PM EST
    Duration (actual chatting time)
    00:36:37
    Operator
    Nalini
    Chat Transcript
    info: Hi, we are currently helping other customers in line ahead of you. We'll be with you as soon as possible.
    While you wait, you can try our community forums where experts are online 24/7.
    info: You are now chatting with 'Nalini'
    Bart: hello?
    Nalini: Hello! Welcome to Adobe Customer Service.
    Nalini: how can i help you
    Bart: Hi, I am trying to access my Creative Cloud files as outlined in http://helpx.adobe.com/creative-cloud/help/sync-files.html via my Apple iPhone but the feature is broken.
    Bart: I cannot scroll through my files
    Bart: Is there, or will there be a mobile application in order to access these files correctly?
    Nalini: okkk
    Nalini: give a min
    Nalini: which application are you trying to access through your mobile
    Bart: Creative Cloud Files
    Nalini: hi you wont be able to use this feature on your i phone
    Nalini: 'for this you have to use a desktop or laptop
    Bart: But you website clearly states that this is available on any mobile device:
    Bart: http://helpx.adobe.com/creative-cloud/help/sync-files.html
    Nalini: ok let me double check this
    Nalini: what is the extension of the file you are trying to view
    Bart: I'm not trying to view any files in particular, I am just trying to browse through the files via my device and I cannot even scroll down.
    Bart: Navigating through this site via mobile device seems to be broken, I have tried both Safari and Chrome on my iPhone.
    Nalini: ok ,,,.
    Nalini: do you see a scrol bar or you dont even see a scroll bar
    Bart: I can see a scroll bar but the site will only allow me to scroll down 3 or 4 folders, the rest of the folders are cut off and not accessible.
    Nalini: ok ...
    Nalini: could you please try to scroll with two fingers as it s not the problem with the abobe product 
    Bart: I have tried with two fingers, it's still not functioning. It a problem with the way the web page was designed to function on a mobile device.
    Nalini: its not the problem with adobe product
    Bart: Is this the extent of your support?
    Nalini: this is not in our support boundry
    Bart: So you are telling me that you can access Creative Cloud Files with 5+ folders via iPhone 5s and you are able to scroll and view all folders?
    Nalini: adobe product are html 5 supported product
    Nalini: so this is not an isue from our end
    Nalini: you can once seek help from apple store
    Bart: But you have not actually tested it? So you don't know if there is a bug correct?
    Nalini: yes but all the adobe product are as i said html 5 suppoted
    Nalini: so it will not give you an error in scrolling
    Bart: But you have not tested it, so you don't know if there is a bug right?
    Bart: There could be a bug in the html but you don't know that do you?
    Nalini: taht can be
    Nalini: that*
    Bart: Ok, well this is the issue I'm reporting
    Nalini: okkk..
    Nalini: will report this to my managment
    Nalini: is there any thing else i may help you with
    Bart: I guess not
    Nalini: Thank you for contacting Adobe.  We are available 7 days a week, 24 hours a day. Goodbye!

  • [SOLVED] Can't view Monitorix data

    I installed Monitorix on my home server and want it to work together with an Apache HTTP server. I think I configured it correctly, and I can reach Monitorix's home page, but when I click on 'OK' to view the data, instead what I get is what I assume to be a perl script:
    #!/usr/bin/env perl
    # Monitorix - A lightweight system monitoring tool.
    # Copyright (C) 2005-2015 by Jordi Sanfeliu <[email protected]>
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License along
    # with this program; if not, write to the Free Software Foundation, Inc.,
    # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    use strict;
    use warnings;
    use FindBin qw($Bin);
    use lib $Bin . "/lib", "/usr/lib/monitorix";
    use Monitorix;
    use CGI qw(:standard);
    use Config::General;
    use POSIX;
    use RRDs;
    my %config;
    my %cgi;
    my %colors;
    my %tf;
    my @version12;
    my @version12_small;
    sub multihost {
    my ($config, $colors, $cgi) = @_;
    my $n;
    my $n2;
    my @host;
    my @url;
    my @foot_url;
    my $multihost = $config->{multihost};
    if($cgi->{val} =~ m/group(\d*)/) {
    my @remotegroup_desc;
    # all groups
    if($cgi->{val} eq "group") {
    my @remotegroup_list = split(',', $multihost->{remotegroup_list});
    for($n = 0; $n < scalar(@remotegroup_list); $n++) {
    scalar(my @tmp = split(',', $multihost->{remotegroup_desc}->{$n}));
    for($n2 = 0; $n2 < scalar(@tmp); $n2++) {
    push(@remotegroup_desc, trim($tmp[$n2]));
    # specific group
    if($cgi->{val} =~ m/group(\d+)/) {
    my $gnum = int($1);
    @remotegroup_desc = split(',', $multihost->{remotegroup_desc}->{$gnum});
    my @remotehost_list = split(',', $multihost->{remotehost_list});
    for($n = 0; $n < scalar(@remotegroup_desc); $n++) {
    my $h = trim($remotegroup_desc[$n]);
    for($n2 = 0; $n2 < scalar(@remotehost_list); $n2++) {
    my $h2 = trim($remotehost_list[$n2]);
    if($h eq $h2) {
    push(@host, $h);
    push(@url, (split(',', $multihost->{remotehost_desc}->{$n2}))[0] . (split(',', $multihost->{remotehost_desc}->{$n2}))[2]);
    push(@foot_url, (split(',', $multihost->{remotehost_desc}->{$n2}))[0] . (split(',', $multihost->{remotehost_desc}->{$n2}))[1]);
    } else {
    my @remotehost_list = split(',', $multihost->{remotehost_list});
    for($n = 0; $n < scalar(@remotehost_list); $n++) {
    push(@host, trim($remotehost_list[$n]));
    push(@url, (split(',', $multihost->{remotehost_desc}->{$n}))[0] . (split(',', $multihost->{remotehost_desc}->{$n}))[2]);
    push(@foot_url, (split(',', $multihost->{remotehost_desc}->{$n}))[0] . (split(',', $multihost->{remotehost_desc}->{$n}))[1]);
    $multihost->{graphs_per_row} = 1 unless $multihost->{graphs_per_row} > 1;
    my $graph = ($cgi->{graph} eq "all" || $cgi->{graph} =~ m/group\[0-9]*/) ? "_system1" : $cgi->{graph};
    if($cgi->{val} eq "all" || $cgi->{val} =~ m/group[0-9]*/) {
    for($n = 0; $n < scalar(@host); $n += $multihost->{graphs_per_row}) {
    print "<table cellspacing='5' cellpadding='0' width='1' bgcolor='$colors->{graph_bg_color}' border='1'>\n";
    print " <tr>\n";
    for($n2 = 0; $n2 < $multihost->{graphs_per_row}; $n2++) {
    if($n < scalar(@host)) {
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{fg_color}'>\n";
    print " <b>&nbsp;&nbsp;" . $host[$n] . "</b>\n";
    print " </font>\n";
    print " </td>\n";
    $n++;
    print " </tr>\n";
    print " <tr>\n";
    for($n2 = 0, $n = $n - $multihost->{graphs_per_row}; $n2 < $multihost->{graphs_per_row}; $n2++) {
    if($n < scalar(@host)) {
    print " <td bgcolor='$colors->{title_bg_color}' style='vertical-align: top; height: 10%; width: 10%;'>\n";
    print " <iframe src='" . $url[$n] . "/monitorix.cgi?mode=localhost&when=$cgi->{when}&graph=$graph&color=$cgi->{color}&silent=imagetag' height=201 width=397 frameborder=0 marginwidth=0 marginheight=0 scrolling=no></iframe>\n";
    print " </td>\n";
    $n++;
    print " </tr>\n";
    print " <tr>\n";
    for($n2 = 0, $n = $n - $multihost->{graphs_per_row}; $n2 < $multihost->{graphs_per_row}; $n2++) {
    if($n < scalar(@host)) {
    if(lc($multihost->{footer_url}) eq "y") {
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{title_fg_color}'>\n";
    print " <font size='-1'>\n";
    print " <b>&nbsp;&nbsp;<a href='" . $foot_url[$n] . "' style='color: " . $colors->{title_fg_color} . ";'>$foot_url[$n]</a></b>\n";
    print " </font></font>\n";
    print " </td>\n";
    $n++;
    $n = $n - $multihost->{graphs_per_row};
    print " </tr>\n";
    print "</table>\n";
    print "<br>\n";
    } else {
    print " <table cellspacing='5' cellpadding='0' width='1' bgcolor='$colors->{graph_bg_color}' border='1'>\n";
    print " <tr>\n";
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{fg_color}'>\n";
    print " <b>&nbsp;&nbsp;" . $host[$cgi->{val}] . "</b>\n";
    print " </font>\n";
    print " </td>\n";
    print " </tr>\n";
    print " <tr>\n";
    print " <td bgcolor='$colors->{title_bg_color}' style='vertical-align: top; height: 10%; width: 10%;'>\n";
    print " <iframe src='" . (split(',', $multihost->{remotehost_desc}->{$cgi->{val}}))[0] . (split(',', $multihost->{remotehost_desc}->{$cgi->{val}}))[2] . "/monitorix.cgi?mode=localhost&when=$cgi->{when}&graph=$graph&color=$cgi->{color}&silent=imagetagbig' height=249 width=545 frameborder=0 marginwidth=0 marginheight=0 scrolling=no></iframe>\n";
    print " </td>\n";
    print " </tr>\n";
    print " <tr>\n";
    if(lc($multihost->{footer_url}) eq "y") {
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{title_fg_color}'>\n";
    print " <font size='-1'>\n";
    print " <b>&nbsp;&nbsp;<a href='" . $foot_url[$cgi->{val}] . "' style='color: " . $colors->{title_fg_color} . ";'>$foot_url[$cgi->{val}]</a></b>\n";
    print " </font></font>\n";
    print " </td>\n";
    print " </tr>\n";
    print " </table>\n";
    print " <br>\n";
    sub graph_header {
    my ($title, $colspan) = @_;
    print("\n");
    print("<!-- graph table begins -->\n");
    print(" <table cellspacing='5' cellpadding='0' width='1' bgcolor='$colors{graph_bg_color}' border='1'>\n");
    print(" <tr>\n");
    print(" <td bgcolor='$colors{title_bg_color}' colspan='$colspan'>\n");
    print(" <font face='Verdana, sans-serif' color='$colors{title_fg_color}'>\n");
    print(" <b>&nbsp;&nbsp;$title</b>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" </tr>\n");
    sub graph_footer {
    print(" </table>\n");
    print("<!-- graph table ends -->\n");
    # MAIN
    open(IN, "< monitorix.conf.path");
    my $config_path = <IN>;
    chomp($config_path);
    close(IN);
    if(! -f $config_path) {
    print(<< "EOF");
    Content-Type: text/plain
    <pre>
    FATAL: Monitorix is unable to continue!
    =======================================
    File 'monitorix.conf.path' was not found.
    Please make sure that 'base_dir' option is correctly configured and this
    CGI (monitorix.cgi) is located in the 'base_dir'/cgi/ directory.
    And don't forget to restart Monitorix for the changes to take effect!
    EOF
    die "FATAL: File 'monitorix.conf.path' was not found!";
    # load main configuration file
    my $conf = new Config::General(
    -ConfigFile => $config_path,
    %config = $conf->getall;
    # load additional configuration files
    if($config{include_dir} && opendir(DIR, $config{include_dir})) {
    my @files = grep { !/^[.]/ } readdir(DIR);
    closedir(DIR);
    foreach my $c (sort @files) {
    next unless -f $config{include_dir} . "/$c";
    next unless $c =~ m/\.conf$/;
    my $conf_inc = new Config::General(
    -ConfigFile => $config{include_dir} . "/$c",
    my %config_inc = $conf_inc->getall;
    while(my ($key, $val) = each(%config_inc)) {
    if(ref($val) eq "HASH") {
    # two level options
    while(my ($key2, $val2) = each(%{$val})) {
    if(ref($val2) eq "HASH") {
    # three level options
    while(my ($key3, $val3) = each(%{$val2})) {
    $config{$key}->{$key2}->{$key3} = $val3;
    delete $config_inc{$key}->{$key2}->{$key3};
    next;
    $config{$key}->{$key2} = $val2;
    delete $config_inc{$key}->{$key2};
    next;
    # graph_name option is special
    if($key eq "graph_name") {
    $config{graph_name} .= ", $val";
    delete $config_inc{graph_name};
    next;
    # one level options
    $config{$key} = $val;
    delete $config_inc{$key};
    $config{url} = ($config{url_prefix_proxy} || "");
    if(!$config{url}) {
    $config{url} = ($ENV{HTTPS} || ($config{httpd_builtin}->{https_url} || "n") eq "y") ? "https://" . $ENV{HTTP_HOST} : "http://" . $ENV{HTTP_HOST};
    $config{hostname} = $config{hostname} || $ENV{SERVER_NAME};
    if(!($config{hostname})) { # called from the command line
    $config{hostname} = "127.0.0.1";
    $config{url} = "http://127.0.0.1";
    $config{url} .= $config{base_url};
    our $mode = defined(param('mode')) ? param('mode') : '';
    our $graph = param('graph');
    our $when = param('when');
    our $color = param('color');
    our $val = defined(param('val')) ? param('val') : '';
    our $silent = defined(param('silent')) ? param('silent') : '';
    if($mode ne "localhost") {
    ($mode, $val) = split(/\./, $mode);
    if(lc($config{httpd_builtin}->{enabled}) ne "y") {
    print("Content-Type: text/html\n");
    print("\n");
    # get the current OS and kernel version
    my $release;
    ($config{os}, undef, $release) = uname();
    if(!($release =~ m/^(\d+)\.(\d+)/)) {
    die "FATAL: unable to get the kernel version.";
    $config{kernel} = "$1.$2";
    $colors{graph_colors} = ();
    $colors{warning_color} = "--color=CANVAS#880000";
    # keep backwards compatibility for v3.2.1 and less
    if(ref($config{theme}) ne "HASH") {
    delete($config{theme});
    if(!$config{theme}->{$color}) {
    $color = "white";
    $config{theme}->{$color}->{main_bg} = "FFFFFF";
    $config{theme}->{$color}->{main_fg} = "000000";
    $config{theme}->{$color}->{title_bg} = "777777";
    $config{theme}->{$color}->{title_fg} = "CCCC00";
    $config{theme}->{$color}->{graph_bg} = "CCCCCC";
    $config{theme}->{$color}->{gap} = "000000";
    if($color eq "black") {
    push(@{$colors{graph_colors}}, "--color=CANVAS#" . $config{theme}->{$color}->{canvas});
    push(@{$colors{graph_colors}}, "--color=BACK#" . $config{theme}->{$color}->{back});
    push(@{$colors{graph_colors}}, "--color=FONT#" . $config{theme}->{$color}->{font});
    push(@{$colors{graph_colors}}, "--color=MGRID#" . $config{theme}->{$color}->{mgrid});
    push(@{$colors{graph_colors}}, "--color=GRID#" . $config{theme}->{$color}->{grid});
    push(@{$colors{graph_colors}}, "--color=FRAME#" . $config{theme}->{$color}->{frame});
    push(@{$colors{graph_colors}}, "--color=ARROW#" . $config{theme}->{$color}->{arrow});
    push(@{$colors{graph_colors}}, "--color=SHADEA#" . $config{theme}->{$color}->{shadea});
    push(@{$colors{graph_colors}}, "--color=SHADEB#" . $config{theme}->{$color}->{shadeb});
    push(@{$colors{graph_colors}}, "--color=AXIS#" . $config{theme}->{$color}->{axis})
    if defined($config{theme}->{$color}->{axis});
    $colors{bg_color} = $config{theme}->{$color}->{main_bg};
    $colors{fg_color} = $config{theme}->{$color}->{main_fg};
    $colors{title_bg_color} = $config{theme}->{$color}->{title_bg};
    $colors{title_fg_color} = $config{theme}->{$color}->{title_fg};
    $colors{graph_bg_color} = $config{theme}->{$color}->{graph_bg};
    $colors{gap} = $config{theme}->{$color}->{gap};
    ($tf{twhen}) = ($when =~ m/(hour|day|week|month|year)$/);
    ($tf{nwhen} = $when) =~ s/$tf{twhen}// unless !$tf{twhen};
    $tf{nwhen} = 1 unless $tf{nwhen};
    $tf{twhen} = "day" unless $tf{twhen};
    $tf{when} = $tf{nwhen} . $tf{twhen};
    # toggle this to 1 if you want to maintain old (2.3-) Monitorix with Multihost
    if($config{backwards_compat_old_multihost}) {
    $tf{when} = $tf{twhen};
    our ($res, $tc, $tb, $ts);
    if($tf{twhen} eq "day") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (3600, 'h', 24, 1);
    if($tf{twhen} eq "week") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (108000, 'd', 7, 1);
    if($tf{twhen} eq "month") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (216000, 'd', 30, 1);
    if($tf{twhen} eq "year") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (5184000, 'd', 365, 1);
    if($RRDs::VERSION > 1.2) {
    push(@version12, "--slope-mode");
    push(@version12, "--font=LEGEND:7:");
    push(@version12, "--font=TITLE:9:");
    push(@version12, "--font=UNIT:8:");
    if($RRDs::VERSION >= 1.3) {
    push(@version12, "--font=DEFAULT:0:Mono");
    if($tf{twhen} eq "day") {
    push(@version12, "--x-grid=HOUR:1:HOUR:6:HOUR:6:0:%R");
    push(@version12_small, "--font=TITLE:8:");
    push(@version12_small, "--font=UNIT:7:");
    if($RRDs::VERSION >= 1.3) {
    push(@version12_small, "--font=DEFAULT:0:Mono");
    if(!$silent) {
    my $title;
    my $str;
    my $piwik_code = "";
    my ($piwik_url, $piwik_sid, $piwik_img);
    # Piwik tracking code
    if(lc($config{piwik_tracking}->{enabled}) eq "y") {
    $piwik_url = $config{piwik_tracking}->{url} || "";
    $piwik_sid = $config{piwik_tracking}->{sid} || "";
    $piwik_img = $config{piwik_tracking}->{img} || "";
    $piwik_code = <<"EOF";
    <!-- Piwik -->
    <script type="text/javascript">
    var _paq = _paq || [];
    _paq.push(['trackPageView']);
    _paq.push(['enableLinkTracking']);
    (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "$piwik_url";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', $piwik_sid]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
    g.defer=true; g.async=true; g.src=u+'piwik.js';
    s.parentNode.insertBefore(g,s);
    </script>
    <noscript>
    <p><img src="$piwik_img" style="border:0;" alt=""/></p>
    </noscript>
    <!-- End Piwik Code -->
    EOF
    print("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2 Final//EN'>\n");
    print("<html>\n");
    print(" <head>\n");
    print(" <title>$config{title}</title>\n");
    print(" <link rel='shortcut icon' href='" . $config{url} . "/" . $config{favicon} . "'>\n");
    if($config{refresh_rate}) {
    print(" <meta http-equiv='Refresh' content='" . $config{refresh_rate} . "'>\n");
    print(" </head>\n");
    print(" <body bgcolor='" . $colors{bg_color} . "' vlink='#888888' link='#888888'>\n");
    print(" $piwik_code\n");
    print(" <center>\n");
    print(" <table cellspacing='5' cellpadding='0' bgcolor='" . $colors{graph_bg_color} . "' border='1'>\n");
    print(" <tr>\n");
    if(($val ne "all" || $val ne "group") && $mode ne "multihost") {
    print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
    print(" <font size='5'><b>&nbsp;&nbsp;Host:&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    if($val =~ m/group(\d+)/) {
    my $gnum = $1;
    my $gname = (split(',', $config{multihost}->{remotegroup_list}))[$gnum];
    $gname = trim($gname);
    print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
    print(" <font size='5'><b>&nbsp;&nbsp;$gname&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" <td bgcolor='" . $colors{bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{fg_color} . "'>\n");
    if($mode eq "localhost" || $mode eq "traffacct") {
    $title = $config{hostname};
    } elsif($mode eq "multihost") {
    $graph = $graph eq "all" ? "_system1" : $graph;
    my ($g1, $g2) = ($graph =~ /(_\D+).*?(\d)$/);
    if($g1 eq "_port") {
    $title = $config{graphs}->{$g1};
    $g2 = trim((split(',', $config{port}->{list}))[$g2]);
    $title .= " " . $g2;
    $g2 = (split(',', $config{port}->{desc}->{$g2}))[0];
    $title .= " (" . trim($g2) . ")";
    } else {
    $g2 = "" if $g1 eq "_proc"; # '_procn' must be converted to '_proc'
    $title = $config{graphs}->{$g1 . $g2};
    $title =~ s/ /&nbsp;/g;
    print(" <font size='5'><b>&nbsp;&nbsp;$title&nbsp;&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
    print(" <font size='5'><b>&nbsp;&nbsp;last&nbsp;$tf{twhen}&nbsp;&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" </tr>\n");
    print(" </table>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{fg_color} . "'>\n");
    print(" <h4><font color='#888888'>" . strftime("%a %b %e %H:%M:%S %Z %Y", localtime) . "</font></h4>\n");
    $cgi{colors} = \%colors;
    $cgi{tf} = \%tf;
    $cgi{version12} = \@version12;
    $cgi{version12_small} = \@version12_small;
    $cgi{graph} = $graph;
    $cgi{when} = $when;
    $cgi{color} = $color;
    $cgi{val} = $val;
    $cgi{silent} = $silent;
    if($mode eq "localhost") {
    foreach (split(',', $config{graph_name})) {
    my $gn = trim($_);
    my $g = "";
    if($graph ne "all") {
    ($g) = ($graph =~ m/^_*($gn)\d*$/);
    next unless $g;
    if(lc($config{graph_enable}->{$gn}) eq "y") {
    my $cgi = $gn . "_cgi";
    eval "use $gn qw(" . $cgi . ")";
    if($@) {
    print(STDERR "WARNING: unable to load module '$gn. $@'\n");
    next;
    if($graph eq "all" || $gn eq $g) {
    no strict "refs";
    &$cgi($gn, \%config, \%cgi);
    } elsif($mode eq "multihost") {
    multihost(\%config, \%colors, \%cgi);
    } elsif($mode eq "traffacct") {
    eval "use $mode qw(traffacct_cgi)";
    if($@) {
    print(STDERR "WARNING: unable to load module '$mode'. $@\n");
    exit;
    traffacct_cgi($mode, \%config, \%cgi);
    if(!$silent) {
    print("\n");
    print(" </font>\n");
    print(" </center>\n");
    print("<!-- footer begins -->\n");
    print(" <p>\n");
    print(" <a href='http://www.monitorix.org'><img src='" . $config{url} . "/" . $config{logo_bottom} . "' border='0'></a>\n");
    print(" <br>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{fg_color} . "' size='-2'>\n");
    print("Copyright &copy; 2005-2015 Jordi Sanfeliu\n");
    print(" </font>\n");
    print(" </body>\n");
    print("</html>\n");
    print("<!-- footer ends -->\n");
    0;
    Last edited by joaocandre (2015-03-15 20:45:19)

    karol wrote:Have you read https://wiki.archlinux.org/index.php/Mo … torix_Data ?
    I did, anything I'm missing? I'm sure base_dir is correctly set up in the config file. Other than that, the wiki article doesn't have any information if there's any additional steps to set it up on an Apache server.

  • Can't view photos in zip file

    A friend has sent me some photos that are in a zip file. Can anyone tell me how to open and view them? I have saved the file to the desktop and doubleclicked it. Then I control click and open it with appleworks but I only get the captions that go along with the photos.

    If the files have a name ending in .zip, they are compressed. Zip files need to be expanded using Stuffit Expander. After using Stuffit, the file names should end with a graphic identifier, like .jpg. Then open Preview & select the file.
     Cheers, Tom

  • I can't view or print PDF files anymore.  This just started in the last 3 months., I can't view or print PDF files anymore.  This just started in the last 3 months.

    Since May of this year, I have been unable to view PDF files or print them.  I have downloaded the latest Adobe and Firefox.  I had a long talk with a tech from Scottrade who gave me a bunch of ideas, none of which helped.  HELP!!

    TO MARK,
    To tell you the truth, until you asked the question, I never heard of Preview.  In trying to open the AP, I saw that it had never been opened and I couldn't open it when I tried today.  Can you shed any light on this?

  • I can't view a very important file on neither of my devices

    I had never had a problem with Acrobat.com before.  I modified a very important file on June 6th and saved to my Acrobat.com   For the past week, I haven't been able to open up the file from either of my devices.  Theres no preview available and it tells me the to download so I can view but it won't allow me to download. Its in PDF format and its 6.0 MB.  I tried accessing from my Galaxy Note 10.1, Note 3 and my laptop and it won't allow.  This file has changes necessary for work and I am really frustrated to have trusted Acrobat.com. 

    Hi acmechanical,
    I'm so sorry that you've been unable to access that important file. Are you receiving any error message when you try to download it? If so, what is the error?
    Are you able to download other files? For starters, please clear the browser cache, and then log back in to https://cloud.acrobat.com/files. You may also want to try downloading it via Adobe Reader by choosing File > Open from Acrobat.com.
    Please let us know how it goes.
    Best,
    Sara

  • Can a layered .AI or .EPS file be opened in Photoshop, keeping its layers?

    is there a way to open or have exported a vectorized EPS, AI or similar file into Photoshop that somehow keeps the layers without opening it as a flattened document?

    Depending on what you want to accomplish an alternative work flow may be an option. You can place your AI file in photoshop. While this creates a flattened version of the image in photoshop, it is a smart object, which can be repeatedly scaled or by double clicking on it you can reopen the file in AI and change any layer content you wish and have the changes show up in Photoshop. So if you want your layer work done in AI and your rendering done in photoshop you can have it function that way.
    Paulo

Maybe you are looking for

  • AP Subledger Trial Balance query in R12

    I have to display below columns in the output(AP Subledger Trial Balance) in R12: GL_CODE_COMBINATIONS(Segment1,segment3,segment4) GL_PERIODS(END_DATE) XLA_TRIAL_BALANCES(remaining amount) I have written a sql query but i need to satisfy below condit

  • How is the best way to export my project with clips and videos?

    I would like to save my project and export the project with clips and videos included. What is the best way to do it?

  • Mrp pricing procedure

    dear all, we have created new pricing procedure called mrp pricing procedure.which means in procedure we have given mrp price as base price. system would calculate taxes (calculating backwards) on billing value derived after discuont .ex. mrp        

  • Taking care for the mac

    hi i'm a newbie to mac. i realy love it but i want to know if there are any tasks i can/should do to keep my mac running smoothly. i dont know how it is called here but in pc's there are things such as defragment tool and cleaning up disks. is there

  • How to move photos in Dreamweaver MX?

    I have an index page (you can see my web page at http://www.PhotographerAtlanta.com) where in my local view, I can't move the 2 portrait photos at the top, nor can I really enlarge them, otherwise the one drops to another row below it, as though they