Menu

Info position

JonnyTech
2014-01-10
2014-03-06
1 2 3 > >> (Page 1 of 3)
  • JonnyTech

    JonnyTech - 2014-01-10

    Can one specify the position of the info text?
    The text starts too low and is cut off screen.
    Can't find a suitable option in the scripts.
    Running v3.2.4 on OSX. Thanks.

     
  • BGINFO for X and for Windows!

    Hello,

    Yes, check for the following variables in IMMODE.CONF:

    BGWALLPAPER_XOFFSET
    BGWALLPAPER_YOFFSET

    Or a more general option like: BGWALLPAPER_GRAVITY

    Find more info here:
    http://sourceforge.net/p/bginfo4x/wiki/Documentation/#the-bginfo4x-tunables

    What version of OSX are you using?

    Thanks.

     
  • JonnyTech

    JonnyTech - 2014-01-11

    Thanks! I didn't realise that the BGWALLPAPER_* settings were just for the text area. I'll try them when I next get to the machines in a few days.

    I'm currently on OSX 10.8 but shall be updating to 10.9 next week, so I'll let you know how it goes.

    I did struggle installing it in the first instance - working out dependencies and such, because installing MacPorts or Brew was not an option (the machines need to be mean and lean with no superfluous software - especially XCode).

    It would be nice to have a complete package, or at some pointers, for standalone use.

    When I reinstall, I'll try to keep a note of the steps that I take and post them.

    Oh, before I forget - is it possible for BGINFO4X to generate a solid colour "corporate" wallpaper on the fly?

     
  • BGINFO for X and for Windows!

    Ok, thanks for the information. Tell me if you have any problem with 10.9.

    Yes, a MAC package would be nice. Can you help on it? I have created a .deb for ubuntu, .... but now I have no time for a MAC port ...

    I think that the best option for a solid color is create a .jpg with the solid color, and force CORPORATEWALLPAPER="YES".

    Regards.

     
  • JonnyTech

    JonnyTech - 2014-01-13

    I've never made a MAC package (I'm a Linux guy myself) but once I get a working solution then I'll research creating one. Any pointers?

    Yes,creating a solid colour wallpaper is what I have been doing, but it would be nice if I could specify a colour to BGINFO4X and it would create one itself (using ImageMagick).

    Do you know if I can combine AppleScript with ImageMagick to do this?

    tell application "Finder"
      get bounds of window of desktop
    end tell
    
    convert -size 1024x768 xc:#7f7f7f wallpaper.png
    

    Maybe something like:

    tell application "Finder"
      get bounds of window of desktop as {b_left, b_top, b_right, b_bottom}
      try
        tell application "System Events"
          do shell script "usr/local/bin/convert -size " & b_right - b_left & "x" & b_bottom -b_top & " xc:#7f7f7f " home_path_posix & "wallpaper.png"
        end tell
      on error
        return {-1, -1}
      end try
    end tell
    

    Sorry, I'm not near a MAC right now...

     
  • BGINFO for X and for Windows!

    Hello,

    Yes, my pointer is to create a package with "Brew". I don't have a MAC, so I can't help you a lot, but "Brew" seams the best option instead of "MACPORTS".

    After thinking about it, I don't believe that combine AppleScript to create a SOLID COLOR Wallpaper is the way to go. It is better to create SOLID COLORS inside BGINFO4X, so other platforms can use it. I'm preparing a new release with this functionality.

    Your comments are welcome.

    Regards.

     
  • BGINFO for X and for Windows!

    Hello,

    Next release will support SolidColors, Gradients and Plasma.
    These are the main settings:

    CANVAS (SOLID COLOR):
    CORPORATESOLIDCOLOR="-size 1280x1024 canvas:wheat"
    CORPORATESOLIDCOLOR="-size 1280x1024 canvas:tomato"

    GRADIENT:
    CORPORATESOLIDCOLOR="-size 1280x1024 gradient:white-blue"
    CORPORATESOLIDCOLOR="-size 1280x1024 gradient:green-yellow"

    PLASMA or PLASMA GRADIENT:
    CORPORATESOLIDCOLOR="-size 1280x1024 plasma: "
    CORPORATESOLIDCOLOR="-size 1280x1024 plasma:yellow-red"

    Be aware that Gradient and Plasma are high cpu intensive.

    Find more information here: http://www.imagemagick.org/Usage/canvas/#solid

    Regards.

     
  • JonnyTech

    JonnyTech - 2014-01-20

    Thanks - I'll test it this week and give you some feedback.
    Can it autodetect desktop size rather than user specifying it?

     
  • BGINFO for X and for Windows!

    Hello,

    No, it is not. Autodetection is not possible with BGINFO4X Client. It is scheduled as a Server feature.

    Regards.

     
  • JonnyTech

    JonnyTech - 2014-01-22

    I'm getting a few errors (OS X 10.9 Mavericks):

    $ ./BGINFO4X.sh 
    2014-01-22 15:36:32.100 system_profiler[2602:1103] Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio, 262): no suitable image found.  Did find:
        /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper
    2014-01-22 15:36:32.100 system_profiler[2602:1103] Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x7fbd21493b50 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not loaded)
    2014-01-22 15:36:32.210 system_profiler[2598:1103] Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio, 262): no suitable image found.  Did find:
        /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper
    2014-01-22 15:36:32.211 system_profiler[2598:1103] Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x7fa4725196b0 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not loaded)
    2014-01-22 15:36:32.454 system_profiler[2605:1103] Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio, 262): no suitable image found.  Did find:
        /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper
    2014-01-22 15:36:32.455 system_profiler[2605:1103] Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x7f8221d04a30 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not loaded)
    

    These all go if I comment out this line in /OUT.CONF

    Total Memory: X system_profiler -detailLevel mini | grep -i "Memory:" | awk '{print $2 $3}'
    

    In fact, any line with "system_profiler" causes the error.

    Next...

    33:48: execution error: Finder got an error: AppleEvent handler failed. (-10000)
    

    It goes if I comment out this line in CUSTOM/CONF/IMMODE.CONF

    MACOSX_SET="osascript -e \"tell application \\\"Finder\\\" to set desktop picture to POSIX file \\\"${WALLPAPER}\\\"\""
    

    But, of course, by commenting out stuff I get no on-screen info. Any suggestions?

     
  • JonnyTech

    JonnyTech - 2014-01-22

    The AppleScript works if I use a full path:

    MACOSX_SET="osascript -e \"tell application \\\"Finder\\\" to set desktop picture to POSIX file \\\"/usr/local/bin/CUSTOM/IMAGES/GNOME-Happygnome_1280x1024.png\\\"\""
    

    So there must be something wrong with ${WALLPAPER} - how can I check it?

     
  • BGINFO for X and for Windows!

    Hello,

    Do you have CORPORATEWALLPER="YES" or ="NO"

    Thanks.

     
  • JonnyTech

    JonnyTech - 2014-01-22

    Got it:

    MACOSX_SET="osascript -e \"do shell script \\\"echo ${WALLPAPER} > /tmp/out.txt\\\"\""
    

    Result:

    /var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/BG_tud_GNOME-Happygnome_1280x1024.png
    

    The files do indeed reside at that location (but no text on the image) - could it be the double forward slashes in the path?

     
  • JonnyTech

    JonnyTech - 2014-01-22

    Just to be thorough, here is the contents of debug.log:

    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8960XgB1D8id5qOC': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8960QDx-E-xnmFkE': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to open image `-3,-3': No such file or directory @ error/blob.c/OpenBlob/2643.
    convert: no decode delegate for this image format `-3,-3' @ error/constitute.c/ReadImage/552.
    convert: unable to open image `BGINFO4X for Windows!"': No such file or directory @ error/blob.c/OpenBlob/2643.
    convert: no decode delegate for this image format `BGINFO4X for Windows!"' @ error/constitute.c/ReadImage/552.
    convert: no images defined `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgheader.png' @ error/convert.c/ConvertImageCommand/3145.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967CQcMKIirzdFn': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967YmNwww8ge1ZB': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-89671fGJLNtqRuQP': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967W3jutxfW3GUe': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967P-VDefn2R4WJ': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967rVQVsF7kNR9y': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967CksO-JQSAAPX': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967bXkEmLU0iN7o': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967ybThZDAYccDB': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967-zY9TNZ1Mc8R': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967fm70Oqr3iaFa': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-89676orcCD3GyKtD': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967HV3XzTwjSj6l': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967STJh0Fmg0YrU': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967zc9p4uABcbJ3': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-89676YtF341uyB9b': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967r672NUjnQ0os': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967plB8Wj6lArrm': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967_puurwKp3npz': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967Wr6qBTu1amJF': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967gRLskvPra4MT': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967n_4qCzn6xM2G': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967WVcyJ8DeBVLh': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967Rhboshogcd7P': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967PTwqPl5HzeCt': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-8967fl1RN2HiRb6v': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: no images defined `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgout.png' @ error/convert.c/ConvertImageCommand/3145.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-9022GrnhZLiTIVHu': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-90227qs8XjCtsj4H': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-9022V1gxowa8Dzow': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: unable to read font `Verdana-Italic' @ warning/annotate.c/RenderType/871.
    convert: delegate library support not built-in `/opt/Ghostscript/share/ghostscript/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
    convert: Postscript delegate failed `/var/tmp/magick-9022jPsEd-mzd6uq': No such file or directory @ error/ps.c/ReadPSImage/837.
    convert: no images defined `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgalarm.png' @ error/convert.c/ConvertImageCommand/3145.
    convert: unable to open image `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgheader.png': No such file or directory @ error/blob.c/OpenBlob/2643.
    convert: unable to open file `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgheader.png' @ error/png.c/ReadPNGImage/3995.
    convert: unable to open image `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgout.png': No such file or directory @ error/blob.c/OpenBlob/2643.
    convert: unable to open file `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgout.png' @ error/png.c/ReadPNGImage/3995.
    convert: unable to open image `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgalarm.png': No such file or directory @ error/blob.c/OpenBlob/2643.
    convert: unable to open file `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/bgalarm.png' @ error/png.c/ReadPNGImage/3995.
    convert: no images defined `/var/folders/2c/ffcbsv194_95q89qv5p1gt3w0000gn/T//BGINFO4X/tud/BGINFO4X.png' @ error/convert.c/ConvertImageCommand/3145.
    

    Hope that helps!

     
  • BGINFO for X and for Windows!

    Hello,

    1- "In fact, any line with "system_profiler" causes the error".

    Probably with MAC 10.9 the way to get System Information is different than using system_profiler tool. Can you investigate how to get this info with the right tool?

    2- Is CORPORATEWALLPER="YES" or ="NO"?

    3- In IMMODE.CONF, try to comment the line: DRAW_HEADERFILE

    4- In IMMODE.CONF, change the font in FONT_HEADERFILE, FONT_OUTFILE, FONT_ALARMFILE.

    Possible values="Any Installed Font". To print a complete list use convert -list font option.

    5- DEBUGALL-> Put to "ON" all the variables in DB.CONF and attach the resulting debug.log.

    Thanks.

     
    • JonnyTech

      JonnyTech - 2014-01-29

      Sorry for the delay in my reply. In order to rule out any problems with my installation, I have installed OS X again. I also installed BGINFO4X in the recommended way: install Xcode compiler tools, install Homebrew, install ImageMagick, install BGINFO4X. The problems still reamin.

      1 - System Profiler - the commands you use are correct, the errors are caused even if I run system_profiler from the terminal and can be ignored, correct values are returned by your script

      2 - CORPORATEWALLPER variable not changed from default install ie "YES"

      3 - Done, still no output

      4 - Done, changes to Times-Roman, still no output

      5 - I cannot work out how to do that, this is what I did:

      opened BIN/DB.sh

      changed section:

      DB_DB() { #Writes any passed string to $DEBUGFILE
          if [ "$_DEBUGDB" == "ON" ]; then setDEBUG_DB $@; fi
          if [ "$_DEBUGDB_SCREEN" == "ON" ]; then setDEBUGSCREEN_DB $@; fi
      }
      

      to:

      DB_DB() { #Writes any passed string to $DEBUGFILE
          if [ "$_DEBUGDB" != "XYZ" ]; then setDEBUG_DB $@; fi
          if [ "$_DEBUGDB_SCREEN" != "XYZ" ]; then setDEBUGSCREEN_DB $@; fi
      }
      

      then repeated for remaining sections.

      Then I ran ./BGINFO4X.sh again. Sometimes I got a segmentation fault 11, Otherwise here is a copy of debug.log:

      EDIT: LOG IN ATTACHMENT
      

      I have also attached the log files to this post.

      Note - I logged in as root in case of any permission issues.

       

      Last edit: JonnyTech 2014-01-30
    • JonnyTech

      JonnyTech - 2014-01-29

      Let me know if you need any other info - thanks!

       

      Last edit: JonnyTech 2014-01-29
  • BGINFO for X and for Windows!

    Hello,

    Try this:

    1- "/bin/cat" "CUSTOM/CLIENT/MACOSX/HEADER.CONF" | "/usr/local/bin/convert" -pointsize 20 -font Times-Roman -background none -gravity NorthWest -density 120 -fill black label:@- "/tmp/BGINFO4X/root/bgheader.png"

    Does it work? /tmp/BGINFO4X/root/bgheader.png is generated?

    2- "/bin/cat" "CUSTOM/CLIENT/MACOSX/HEADER.CONF" | "/usr/local/bin/convert" -pointsize 20 -background none -gravity NorthWest -density 120 -fill black label:@- "/tmp/BGINFO4X/root/bgheader.png"

    Does it work? /tmp/BGINFO4X/root/bgheader.png is generated?

     
  • JonnyTech

    JonnyTech - 2014-01-30

    Thanks for that - using your commands I was able to deduce the problem: GHOSTSCRIPT is required.

    After installing GHOSTSCRIPT via Homebrew (brew install ghostscript) it seems to work!

    I am going to reformat and reinstall then see if all is still ok.

    I tried to edit the wiki (https://sourceforge.net/p/bginfo4x/wiki/BGINFO4X/#installing-bginfo4x-on-macosx) to include the amendment but I do not have access.

    I'll give you an update on my progress tomorrow - with probably another set of questions now that I can see an output...

     

    Last edit: JonnyTech 2014-01-30
  • BGINFO for X and for Windows!

    Ok,

    Wiki updated.

    Thanks, tell me how it goes. ...

     
    • JonnyTech

      JonnyTech - 2014-01-30

      The second line reads imagemagick rather than ghostscript:

      $ sudo port install imagemagick or sudo brew install imagemagick
      $ sudo port install ghostscript or sudo brew install ghostscript

      Thanks for your patience.

       
  • BGINFO for X and for Windows!

    Done.

    I will try to move this post to MACOSX section.

     
  • JonnyTech

    JonnyTech - 2014-01-31

    OK, BGINFO4X installs correctly now on a new install following the updated wiki! :)

    First bug:

    CORPORATEWALLPAPER="NO"

    • The wallpaper changes
    • The info text appears
    • Error message in terminal:
    BIN/OF.sh: eval: line 126: unexpected EOF while looking for matching `"'
    BIN/OF.sh: eval: line 127: syntax error: unexpected end of file
    

    Also get error setting:

    CORPORATEWALLPAPER=""

     
  • BGINFO for X and for Windows!

    Please, upload debug.log

    Nota that CORPORATEWALLPAPER must be set to "YES" or "NO". No other values are supported.

     
  • JonnyTech

    JonnyTech - 2014-01-31

    Contents of folder zipped and attached...

     
1 2 3 > >> (Page 1 of 3)

Anonymous
Anonymous

Add attachments
Cancel