Running notify-send via cron

I've written a script, that monitors battery state and shuts down netbook when power is low to prevent hot power off. I've tested the script before running it in cron - everything works as it must: notification pops up, system shuts down. But when I'm trying to run it from cron - everything ok expect notify-send command.
Config scripts:
# crontab -e
# root crontab
# DO NOT EDIT THIS FILE MANUALLY! USE crontab -e INSTEAD
# man 1 crontab for acceptable formats:
# <minute> <hour> <day> <month> <dow> <tags and command>
# <@freq> <tags and command>
DISPLAY=:0.0
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# SYSTEM DAILY/WEEKLY/... FOLDERS
@hourly ID=sys-hourly /usr/sbin/run-cron /etc/cron.hourly
@daily ID=sys-daily /usr/sbin/run-cron /etc/cron.daily
@weekly ID=sys-weekly /usr/sbin/run-cron /etc/cron.weekly
@monthly ID=sys-monthly /usr/sbin/run-cron /etc/cron.monthly
* * * * * /etc/cron.hourly/powersave
$ cat /etc/cron.hourly/powersave
PasteBin
$ cat /etc/X11/xorg.conf | head -n 6
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "LG_Touchpad" "CorePointer"
InputDevice "LG_Keyboard" "CoreKeyboard"
EndSection
$ echo $DISPLAY
I thought that running one more external script will solve the problem, but it didn't work.
Tried also this command in cron:
* * * * * DISPLAY=:0.0 /etc/cron.hourly/powersave
But also without result.
Anyone found a solution to this problem?

You may also need to have the DBUS_SESSION_BUS_ADDRESS environment variable set.  I have a script that does something like this:
PIDS=$(pgrep urxvtd)
for p in $PIDS; do
dbus=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$p/environ | sed 's/DBUS_SESSION_BUS_ADDRESS=//')
user=$(grep -z USER /proc/$p/environ | sed 's/USER=//')
dply=$(grep -z DISPLAY /proc/$p/environ | sed 's/DISPLAY=//')
sudo -u $user sh -c "DBUS_SESSION_BUS_ADDRESS=\"$dbus\" DISPLAY=\"$dply\" /usr/bin/notify-send -i \"$ICON\" \"$TITLE\" \"$BODY\""
done
I chose urxvtd, b/c it's guaranteed to be running... but you can choose another progam.
Last edited by pnutzh4x0r (2011-07-02 02:32:16)

Similar Messages

  • JAVA_HOME not set when running a task via CRON

    On my Solaris 11 server I have created an entry in the root user CRON tab to launch a groovy based application every weekend. The application runs fine under a non-root user. When run by CRON however, the following error message gets emited:
    groovy: JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME
    Which is weird, as I have the following lines at the end of my /etc/profile file:
    JAVA_HOME=/usr/jdk/instances/jdk1.7.0
    export JAVA_HOME
    GROOVY_HOME=/usr/local/bin/groovy-2.1.3
    export GROOVY_HOME
    PATH=${PATH}:${GROOVY_HOME}/bin:${JAVA_HOME}/bin
    export PATH
    Please advice me where to look for the cause of this problem.
    Thank you in advance,
    Dusan

    I have the following command
          /usr/local/bin/groovy-2.1.3/bin/groovy /usr/local/bin/backup/prune_old_backups.groovy
    How do I add the JAVA_HOME variable into it?
    Thank you,
    Dusan

  • [SOLVED] notify-send from a daemon

    Hi,
    I have configured halevt (a HAL device manager) to run notify-send so I get a notification every time I insert or remove a drive. The thing is, since halevt runs as a daemon at boot, every time it runs notify-send I get this error:
    libnotify-Message: Unable to get session bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
    What I don't really understand is why if I restart de daemon from my Xorg session (with sudo) it works fine. Any ideas?
    Thanks
    UPDATE
    I resolved the issue with a different approach.
    The solution, for those interested, is in post #8.
    Last edited by johanbcn (2010-07-12 22:27:14)

    Berseker wrote:I've seen only now your post.. great job, this is very useful and pretty for those that doesn't use a complete DE.
    It would be great to translate your file in different languages (I'll try to translate this in italian if I find some spare time)
    Thank you
    If you are interested I have an updated version of the config file that more or less accomplishes what I wanted at the beginning.
    First, there is the daemon config (only mounts the filesystems): /etc/halevt/halevt.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE halevt:Configuration [
    <!ENTITY HAS-LABEL "hal.volume.label & !hal.volume.label = ">
    <!ENTITY DEVICE "hal.block.device & hal.volume.is_disc = false">
    <!ENTITY CDROM "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = false">
    <!ENTITY CDROM.SIGNAL "hal.block.device & hal.storage.drive_type = cdrom">
    <!ENTITY DVD "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = true">
    ]>
    <halevt:Configuration version="0.1" xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html">
    <!-- Mount CDRom devices -->
    <halevt:Device match="&CDROM; & hal.volume.is_mounted = false;">
    <halevt:OnInit exec="halevt-mount -u $hal.udi$ -p cdrom$hal.block.minor$"/>
    <halevt:Insertion exec="halevt-mount -u $hal.udi$ -p cdrom$hal.block.minor$"/>
    </halevt:Device>
    <!-- Mount non-CDRom labeled devices -->
    <halevt:Device match="&DEVICE; & &HAS-LABEL; & hal.volume.is_mounted = false;">
    <halevt:OnInit exec="halevt-mount -u $hal.udi$ -p $hal.volume.label$"/>
    <halevt:Insertion exec="halevt-mount -u $hal.udi$ -p $hal.volume.label$"/>
    </halevt:Device>
    <!-- Mount non-CDRom non-labeled devices -->
    <halevt:Device match="&DEVICE; & hal.volume.is_mounted = false; & hal.volume.label = ">
    <halevt:OnInit exec="halevt-mount -u $hal.udi$ -p disk$hal.block.minor$"/>
    <halevt:Insertion exec="halevt-mount -u $hal.udi$ -p disk$hal.block.minor$"/>
    </halevt:Device>
    <!-- Handle CDRom eject button signal -->
    <halevt:Device match="&CDROM.SIGNAL;">
    <halevt:Condition name="EjectPressed" exec="halevt-umount $hal.block.device$; eject $hal.block.device$"/>
    </halevt:Device>
    </halevt:Configuration>
    (Notice that I have removed the -o sync parameter from the mount commands. Writing operations in automounted devices were ridiculously slower)
    And then, there is the user config file (only manages the notify-send commands): $HOME/.halevt/halevt.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE halevt:Configuration [
    <!ENTITY HAS-LABEL "hal.volume.label & !hal.volume.label = ">
    <!ENTITY DEVICE "hal.block.device & hal.volume.is_disc = false">
    <!ENTITY CDROM "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = false">
    <!ENTITY CDROM.SIGNAL "hal.block.device & hal.storage.drive_type = cdrom">
    <!ENTITY DVD "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = true">
    ]>
    <halevt:Configuration version="0.1" xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html">
    <!-- Notify CDRom labeled mounts/umounts -->
    <halevt:Device match="hal.block.device & hal.volume.is_disc = true & !hal.volume.label = ">
    <halevt:Property name="hal.volume.is_mounted">
    <halevt:Action value="true" exec="notify-send --icon=gtk-cdrom --expire-time=3000 'Device mounted' '$hal.volume.label$ has been mounted in $hal.volume.mount_point$.'"/>
    <halevt:Action value="false" exec="notify-send --icon=gtk-cdrom --expire-time=3000 'Device unmounted' '$hal.volume.label$ has been unmounted.'"/>
    </halevt:Property>
    </halevt:Device>
    <!-- Notify non-CDRom labeled mounts/umounts -->
    <halevt:Device match="hal.block.device & hal.volume.is_disc = false & !hal.volume.label = ">
    <halevt:Property name="hal.volume.is_mounted">
    <halevt:Action value="true" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device mounted' '$hal.volume.label$ has been mounted in $hal.volume.mount_point$.'"/>
    <halevt:Action value="false" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device unmounted' '$hal.volume.label$ has been unmounted.'"/>
    </halevt:Property>
    </halevt:Device>
    <!-- Notify non-CDRom non-labeled mounts/umounts -->
    <halevt:Device match="hal.block.device & hal.volume.label = ">
    <halevt:Property name="hal.volume.is_mounted">
    <halevt:Action value="true" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device mounted' '$hal.block.device$ has been mounted in $hal.volume.mount_point$.'"/>
    <halevt:Action value="false" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device unmounted' '$hal.block.device$ has been unmounted.'"/>
    </halevt:Property>
    </halevt:Device>
    </halevt:Configuration>
    This way, you have the daemon automounting at boot, without needing an X session, and a second instance of the daemon that only executes the notify-send messages once you enter xorg
    Last edited by johanbcn (2010-07-12 22:37:43)

  • Bash script run via cron not executing MYSQL command

    I have a bash script which is run from a cron,
    It is executing as I have it write to a log file which it does correctly.
    I am wanting the bash script to restore a mysqldump file.
    When I run the bash script manually the dump file gets loaded fine. But when I run it through the cron the mysql command appears to be ignored.
    The mysqldump file is 54MB and I have checked to make sure that MYSQL is included in the global users path in /etc/profile
    Does anyone know why this maybe??
    Here is the bash file
    #!/bin/bash
    date >> /home/user/crons/crons.log
    echo "Started loadbackup" >> /home/user/crons/crons.log
    cd /home/user
    dbuser=root
    dbpass=password
    dbname=databasename
    filename=backup
    mysql -hlocalhost -u"$dbuser" -p"$dbpass" "$dbname" < " >> /home/user/crons/crons.log
    My crontab looks like
    02 17 * * * /home/user/crons/loadbackup.sh
    Many thanks
    Richard

    Hi Richard,
    Have you tried redirecting the script output in the cron to see if an error is being reported?
    I.e.
    02 17 * * * /home/user/crons/loadbackup.sh > /tmp/loadbackup.log 2>&1

  • I want to email a Pages document as a Word doc. I used to be able to do this by clicking on share then send via mail then on Word and an email would appear with my word doc attached.  Now the email does not come up.  Why?

    I want to email a Pages document as a Word doc. I used to be able to do this by clicking on 'share' then 'send via mail' then on 'Word' and an email would appear with my word doc attached.  Now the email does not come up.  Why?

    It's difficult to do more than guess when you don't say what version of OS X or Pages you're running, but if you're on the latest, have you tried the Share menu -> Send via Mail command?
    If that doesn't help, you may have better luck if you ask in the Pages forum:
    Pages
    When you repost, be sure to include full details about your versions so that people know what it is you're working with.
    Regards.

  • Error when run Process Chain via BPC NW

    Hi Gurus,
    I am implementing SAP BPC 7.5 NW in a customer and I´m facing the following error when try to run a process chain via Data Manager: "Failed to analyze instruction ,TAB,%TAB% ".
    Here is the scenario: we created a process chain that will be able to capture values recorded in a BPC application, load them into an DSO (make some transformations there) and finally send those transformed values to an specific table at ECC. This process will be started after some simulations at BPC and, when the user ends its simulation, start this process chain via BPC; this process chain is named as PC_ECC.
    We made a  copy of /CPMB/DEFAULT_FORMULAS and named it PC_FORMULA and, before step /CPMB/CLEAR, I assigned my process chain PC_ECC.
    So, at Data Manager, I add this process chain (PC_FORMULA) and in Advanced button, I put this statement:
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(PC_FORMULA,TAB,%TAB%)
    TASK(PC_FORMULA,EQU,%EQU%)
    TASK(PC_FORMULA,SUSER,%USER%)
    TASK(PC_FORMULA,SAPPSET,%APPSET%)
    TASK(PC_FORMULA,SAPP,%APP%)
    //TASK(PC_FORMULA,LOGICFILENAME,DEFAULT.LGF)
    //TASK(PC_FORMULA,REPLACEPARAM,TESTE3%EQU%%TESTE3%%TAB%ASARENT%EQU%%ASARENT%%TAB%SOURCE%EQU%%SOURCE%%TAB%TARGET%EQU%%TARGET%)
    As we do not have any script logic to be executed, we commented the two last statements.
    When we run this package via DM, it gives us the message error:  "Failed to analyze instruction ,TAB,%TAB% "
    Looking through SDN forum we found two posts similar to this issues:
    But the suggestion to supress the statement TASK(PC_FORMULA,TAB,%TAB%) do not work; when we comment this statement, the message error gives us the message:"Failed to analyze instruction ,EQU,%EQU% "; when we comment the statement TASK(PC_FORMULA,EQU,%EQU%) and the previous (with TAB). the DM gives us the message: TASK(PC_FORMULA,SUSER,%SUSER%) and so on, until nothing has left to comment.
    Anyone of you view or has some similar case of error?
    Thanks in advance to you all
    Best Regards
    Adriano

    Hi Rich,
    Thanks for your answer.
    I checked the parameter at my process chain and it has a variant (/CPMB/DEFAULT_FORMULAS_LOGIC) with the parameters:
    TAB
    SUSER
    SELECTION
    SAPPSET
    REPLACEPARAM
    MEMBERSELECTION
    LOGICFILENAME
    EQU
    So, when I put in the task PC_FORMULA, TAB, %TAB%, it will be able to be recognized by the task...and the other parameters too. And when I take one of them off the task instructions, the system complains.
    Any other suggestion?
    Once again, thanks..a.nd best regards
    Adriano

  • LMS3.2 Syslog reports very slow when send via email

    Hello,
    we have ~5000 devices in LMS3.2 and we have a problem with syslog reports.
    When I create a "severity level summary report" for 5000 devices for the last 24hours and select as run type "immediate" it needs ~2-3 minutes. That's ok.
    But when I create exactly the same report and select the run type "once" , it needs ~3 hours. ("Once" means that the report is send via email after it's finished).  It happens with report type "pdf" and "csv".
    What can be the problem ?  Or is it usual ???
    Regards
    Hendrik

    The scheduled reports can output a full list of messages where as the immediate reports output a limit of 10,000 records.  If you have a lot of syslog messages, it can take a considerable amount of additional time to generate a full report.

  • Problems with sending via url

    Hi there, I've got a problem with sending via an URL. If I send and receive something I use a method called connect. This method works well, I construct a URL, connect and receive an ObjectStream.
    But as I only want to set some values in another use case I do not want to receive anything,
    But it doesn't work - my servlet does not receive any request.
    Could anyone please help me to solve this?
    Thank you.
    Regards
    Tarik
    private synchronized static void connectOneWay(String data)
                throws IOException, ClassNotFoundException {
            try {
                URLConnection connection = null;
                URL testServlet = null;
                Class classLock = ServletConnector.class;
                while (locked)
                    classLock.wait();
                locked = true;
                testServlet = new URL(servletURL + data);
                if (MMSCMSTree.debug)
                    System.out.println("Servlet URL: " + testServlet);
                connection = testServlet.openConnection();
                connection.setDoInput(false);
                connection.connect();
                locked = false;
                classLock.notify();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

    Hi
    There was not a problem with this, the problem was on the server side, infinite loop ... :-)
    Regards
    Tarik

  • How to automate sql server querry and output to send via email alerts

    Hi,
    I have MS SQL 2005 server. Daily i m running sql querry at 10:30 pm. i want to automate this process & output need to send via email. Please suggest what are the options availble.
    Thanks in advance
    ...Umesh

    Create a job and put the query in , then schedule it... You can email an output by using data base email feature
    EXEC msdb.dbo.sp_send_dbmail 
         @profile_name = 'Admin', 
         @recipients = '[email protected]', 
         @query = 'SELECT COUNT(*) FROM AdventureWorks.Person.Address', 
         @subject = 'Error Log Count', 
         @attach_query_result_as_file = 1 ;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Bash script won't run "sudo reboot" under cron, but perfect manually

    Hi Archers,
    I've got a weird problem with a bash script I use to run pacman and mythtv updates once a week via cron which also reboots itself so that new mythtv and kernels packages become active. This script works likes a charm when I run it manually as user from the command line. But when cron runs it (also as user) it executes everything EXCEPT the last "sudo reboot" command at the end. Sudoers seems to be setup right as it works fine from the command line. I could run this particular script with cron as root but I'd prefer not to update under root with the --asroot command.
    Any ideas? It seems like the permissions running manually and with cron are different somehow.
    Many thanks!
    Last edited by wdirksen (2012-10-09 13:07:28)

    OK, I'm going to reconsider this based on all your advices, but I'm still curious about why the command doesn't execute with cron. Related to this, I also find it strange that some root commands work fine with sudo, while others only work within a true root environment
    DSpider wrote:Post your /etc/sudoers file.
    So here's my sudoers file:
    ## User privilege specification
    root ALL=(ALL) NOPASSWD: ALL
    mythtv ALL=(ALL) NOPASSWD: ALL
    . . . and this is the script:
    #!/bin/bash
    sudo pacman -Syyu --noconfirm
    /usr/share/mythtv/optimize_mythdb.pl
    /usr/share/mythtv/mythconverg_backup.pl --rotate 20
    mythtvname="mythtv-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.xz"
    cd /home/mythtv/AUR/mythtv-git
    makepkg
    sudo pacman -U $mythtvname --noconfirm
    sudo reboot
    Anything stick out here?
    Last edited by wdirksen (2012-10-09 19:32:52)

  • VLC via CRON - no image

    I try to run VLC via CRON.
    this is in cron.txt :
    0 0 * * * cd /home/vychod/public_html ; killall -9 vlc &> /dev/null; DISPLAY=:0.0 vlc --fullscreen --volume 300 --loop --extraintf http --http-host 12.345.678.00:8080 -I dummy playlist/playlist1.m3u
    In scheduled time the process starts, but I have no image, I just hear the sound.
    If I try run the command in terminal, everything goes fine, but via CRONE I have no image to see..
    Can anyone help?

    so...
    at first, karol - thank you for your time...
    Can you find the problem?
    I did log from cron:
    VLC media player 0.8.6i Janus
    [00000263] dummy interface: using the dummy interface module...
    Invalid MIT-MAGIC-COOKIE-1 key[00000322] xvideo video output error: cannot open display :0.0
    Invalid MIT-MAGIC-COOKIE-1 key[00000322] x11 video output error: cannot open display :0.0
    Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key[00000322] vout_sdl video output error: cannot initialize SDL (Unable to open a console terminal)
    [00000322] fb video output error: tcgetattr failed
    [00000322] fb video output error: tcgetattr failed
    [00000322] fb video output error: tcsetattr failed
    [00000322] fb video output error: cannot get terminal mode (Inappropriate ioctl for device)
    and here is my xorg.conf :
    # SaX generated X11 config file
    # Created on: 2008-06-03T13:30:12-0400.
    # Version: 8.1
    # Contact: Marcus Schaefer <[email protected]>, 2005
    # Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
    # Automatically generated by [ISaX] (8.1)
    # PLEASE DO NOT EDIT THIS FILE!
    Section "Files"
      FontPath     "/usr/share/fonts/misc:unscaled"
      FontPath     "/usr/share/fonts/local"
      FontPath     "/usr/share/fonts/75dpi:unscaled"
      FontPath     "/usr/share/fonts/100dpi:unscaled"
      FontPath     "/usr/share/fonts/Type1"
      FontPath     "/usr/share/fonts/URW"
      FontPath     "/usr/share/fonts/Speedo"
      FontPath     "/usr/share/fonts/PEX"
      FontPath     "/usr/share/fonts/cyrillic"
      FontPath     "/usr/share/fonts/latin2/misc:unscaled"
      FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
      FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
      FontPath     "/usr/share/fonts/latin2/Type1"
      FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
      FontPath     "/usr/share/fonts/baekmuk:unscaled"
      FontPath     "/usr/share/fonts/japanese:unscaled"
      FontPath     "/usr/share/fonts/kwintv"
      FontPath     "/usr/share/fonts/truetype"
      FontPath     "/usr/share/fonts/uni:unscaled"
      FontPath     "/usr/share/fonts/CID"
      FontPath     "/usr/share/fonts/ucs/misc:unscaled"
      FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
      FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
      FontPath     "/usr/share/fonts/hellas/misc:unscaled"
      FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
      FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
      FontPath     "/usr/share/fonts/hellas/Type1"
      FontPath     "/usr/share/fonts/misc/sgi:unscaled"
      FontPath     "/usr/share/fonts/xtest"
      FontPath     "/opt/kde3/share/fonts"
      InputDevices "/dev/gpmdata"
      InputDevices "/dev/input/mice"
    EndSection
    Section "ServerFlags"
      Option       "AllowMouseOpenFail" "on"
    EndSection
    Section "Module"
      Load         "dbe"
      Load         "type1"
      Load         "freetype"
      Load         "extmod"
      Load         "glx"
    EndSection
    Section "InputDevice"
      Driver       "kbd"
      Identifier   "Keyboard[0]"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "us"
      Option       "XkbModel" "microsoftpro"
      Option       "XkbRules" "xfree86"
    EndSection
    Section "InputDevice"
      Driver       "mouse"
      Identifier   "Mouse[1]"
      Option       "Buttons" "9"
      Option       "Device" "/dev/input/mice"
      Option       "Name" "ImExPS/2 Generic Explorer Mouse"
      Option       "Protocol" "explorerps/2"
      Option       "Vendor" "Sysp"
      Option       "ZAxisMapping" "4 5"
    EndSection
    Section "Monitor"
      Option       "CalcAlgorithm" "XServerPool"
      DisplaySize  310 230
      HorizSync    30-98
      Identifier   "Monitor[0]"
      ModelName    "AOC 9K+"
      Option       "DPMS"
      VendorName   "AOC"
      VertRefresh  43-160
      UseModes     "Modes[0]"
    EndSection
    Section "Modes"
      Identifier   "Modes[0]"
      Modeline     "1280x1024" 157 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    EndSection
    Section "Screen"
      DefaultDepth 16
      SubSection "Display"
        Depth      15
        Modes      "1280x1024" "1280x960" "1024x768" "800x600"
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1280x1024" "1280x960" "1024x768" "800x600"
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1280x1024" "1280x960" "1024x768" "800x600"
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1280x1024" "1280x960" "1024x768" "800x600"
      EndSubSection
      Device       "Device[0]"
      Identifier   "Screen[0]"
      Monitor      "Monitor[0]"
    EndSection
    Section "Device"
      BoardName    "GeForce Go 7300"
      BusID        "1:0:0"
      Driver       "nouveau"
      Identifier   "Device[0]"
      Option       "SaXDualHead"
      Option       "TwinView"
      Option       "TVOverScan" "0.55"
      Option       "TVStandard" "PAL-I"
      Option       "SaXDualHSync" "30-67"
      Option       "SaXDualMonitorModel" "LG ELECTRONICS 32LC55"
      Option       "SaXDualVSync" "50-75"
      Option       "TVOutFormat" "composite"
      Option       "SaXDualMonitorVendor" "GSM"
      Option       "SaXDualOrientation" "RightOf"
      Option       "MetaModes" "1024x768,1024x768;800x600,800x600"
      Option       "SaXDualResolution" "1024x768"
      Option       "TwinViewOrientation" "Clone"
      Option       "SaXDualMode" "Clone"
      Option       "SecondMonitorVertRefresh" "50-75"
      Screen       0
      VendorName   "NVIDIA"
    EndSection
    Section "ServerLayout"
      Identifier   "Layout[all]"
      InputDevice  "Keyboard[0]" "CoreKeyboard"
      InputDevice  "Mouse[1]" "CorePointer"
      Option       "Clone" "off"
      Option       "Xinerama" "off"
      Screen       "Screen[0]"
    EndSection
    Section "DRI"
        Group      "video"
        Mode       0660
    EndSection
    Section "Extensions"
    EndSection

  • Did a clean install 10.9.4. on a stock Fusion HD.  When I run "diskutil list" via Terminal, everything is wrong.  I have "EFI" and "apple Boot Boot OSX in every dev/disk** How do I fix? Any help would be much appreciated, thank you

    Did a clean install 10.9.4. on a Apple Stock 1TB Fusion Hard Drive.  When I run "diskutil list" via Terminal, everything is wrong.  I have "EFI" and "apple Boot Boot OSX" in every dev/disk**  Everything is out of place, How can I repair? Im willing too reformat if need be, however thats what I did in the first place.  Any help would be much appreciated, thank you.
    I know this cannot be correct
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Fusion                 *1.1 TB     disk2
    /dev/disk7
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                                                   *121.9 GB   disk7

    It appears as if my startup disk has been reversed and not using the fusion ssd portion as it should.  At least its now reversed as to what it used to be originally before.  the 128gb ssd used to be on top.  Is my mac booting fusion correctly?  Thank you for responding as I was about to reformat.
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group C2619AFE-0EB5-4721-8C50-3F3DBA520D1B
        =========================================================
        Name:         fusion
        Status:       Online
        Size:         1120333979648 B (1.1 TB)
        Free Space:   114688 B (114.7 KB)
        |
        +-< Physical Volume 583AAEA9-E333-4A83-9BE3-E937396E9248
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s2
        |   Status:   Online
        |   Size:     120988852224 B (121.0 GB)
        |
        +-< Physical Volume B0C1CB16-D46F-4387-A679-B55392BB7934
        |   ----------------------------------------------------
        |   Index:    1
        |   Disk:     disk1s2
        |   Status:   Online
        |   Size:     999345127424 B (999.3 GB)
        |
        +-> Logical Volume Family FB42B9F4-CB77-4162-831B-7DCB7816E760
            Encryption Status:       Unlocked
            Encryption Type:         None
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   No
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume C0B8479B-C51C-45BF-B59B-1AA5DF3A3B83
                Disk:                  disk2
                Status:                Online
                Size (Total):          1111826497536 B (1.1 TB)
                Conversion Progress:   -none-
                Revertible:            No
                LV Name:               Fusion
                Volume Name:           Fusion
                Content Hint:          Apple_HFS
    FoHeazys-Mac-mini:~ FoHeazy$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Fusion                 *1.1 TB     disk2

  • Run a job via job schedular, got the error message Connection to Agentlost"

    Hi,
    I have created a job with 60 scripts and trried to run a job via job schedular after executed some scripts i got error message as " Connection to Agent lost". what is the problem here. how to slove the probelm. please help me.
    Thanks in Advance.
    ra
    Edited by: user4502901 on Nov 9, 2009 6:02 AM

    Hi,
    Try increasing your machines Virtual Memory and then run the scripts.
    Thanks
    Edited by: Openscript User 100 on Nov 10, 2009 9:31 PM

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • Filling up a pdf form which I received as email. I opened it on my adobe reader 11 and filled up the highlighted fields. Yet when I click on the send via mail it says changes will not be included. How do I send the form with changes?

    Filling up a pdf form which I received as email. I opened it on my adobe reader 11 and filled up the highlighted fields. Yet when I click on the send via mail it says changes will not be included. How do I send the form with changes?
    The add annotations field shows as not allowed in the security options. So how do I send this form back with the changes??

    I think you you need to click 'save' first, then it is saved to acrobat, where it will prompt to send.

Maybe you are looking for

  • How to zoom out and view an entire track in the window

    There's got to be a way to zoom out so an entire track can viewed at once so that segments of the track can be shifted around. I have a track that is about 50 minutes long with several segments in it. I want to shift the segments around. Right now I

  • Install SQL Server 2014 in Windows Server 2012 R2

    Hi, I had install a Windows server 2012 R2 Standard version in my VM and i make it as my domain server as well. I had create another account "ABC" and login with this new created account "ABC" in the same machine to install SQL server 2014, it give m

  • How to Upload a video to Youtube?

    I made a cheesy video in Flash 8, and I am wondering what hte process would be to upload it to youtube, without it looking pixelated or anything...

  • Editing expressions in non-development systems.

    Our first use of BRF+ met a large success among our business key users and  they are requesting now the maintenance of some decision tables. We therefore followed the guidelines of document "editing BRF+ component in non-development systems" and impl

  • SQL date format

    Hi, Assume the records in a legacy oracle data base have an attributes called date which has the format as 'Dy DD-Mon-YYYY HH24:MI:SS' (e.g. 21-Apr-1998 21:18:27). In my Java application, assume that I provide a GUI for users to input date as "DD-MM-