Using cron for a Cinnamon wallpaper slideshow

Hey guys,
I'm trying to use cron to change my wallpaper for Cinnamon but I am having some issues.
The cronjob is:
*/2 * * * * DISPLAY=:0 gsettings set org.gnome.desktop.background picture-uri "file://"$(find /home/bryan/.wallpapers/ -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" | shuf -n1)
I know it's a doozy, but it should work.  The problem is that the wallpaper won't update unless I open up the GUI wallpaper changer for gnome. Does anyone know of any work arounds that could help me out?

try this script with your cron job:
#!/bin/bash
# Script to randomly set Background from files in a directory
# Directory Containing Pictures
DIR="/home/garry/Pictures/"
# Command to Select a random jpg file from directory
# Delete the *.jpg to select any file but it may return a folder
PIC=$(ls $DIR/*.jpg | shuf -n 1)
# Command to set Background Image
feh --bg-fill $PIC
just modify your pictures path and you are good to go.

Similar Messages

  • First time using iDVD for slideshow, need some guidance

    I want to make a dvd that consists of 3-6 slideshows, plus "extras". Each slideshow will have 50-150 photos, but the "extras" section I want to have all the photos (including some not used in the slideshows) for a total of about 1300 photos.
    1. How do I get the photos not used in the slideshow in the "extras" section?
    2. Can I put anything in the "drop zones"? or does everything just go in the "slideshow" section?
    This is the first time I have ever used iDVD and could use any help or suggestions at all.....
    thanks

    Don't use over 99 images in a slideshow. You may have trouble:
    http://docs.info.apple.com/article.html?artnum=302961
    1. Just create a new extras slideshow menu from the main menu by using the + button and select Add Submenu. Then go there and add slideshows the same way, only select Add Slideshow and then drag your images in; or use the Import funtion.
    2. Drop Zones are for single images/movies.
    I think you need to spend some time learning how to do this, rather than guessing.
    iDVD 6 Getting Started PDF download
    Apple's iMovie Learning Site
    Apple's iDVD Learning Site
    iLife ’06 Multimedia Tutorials
    General Learning Center
    Ken Stone: Authoring in iDVD 6
    My favorite, by far:
    iMovie HD & iDVD 6: The Missing Manual
    You can download Chapter four: Camcorder Meets Mac.
    iPhoto 6: The Missing Manual

  • Using cron-job to call the PL/SQL procedure for every 5 min

    Hi All,
    i wrote one procedure. using cron-job to call this PL/SQL procedure for every 5 min. i don't have any idea about cron job & what is thescript file formate .where can i place that script file. what are the details we placed in that script

    Really appreciate you. I like this approach .
    please give me advice for the below thing
    job_action =>an i give my procedure name under this?
    BEGIN
    -- Job defined entirely by the CREATE JOB procedure.
    DBMS_SCHEDULER.create_job (
    job_name => 'Job_schedule_update',
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN Schedule_update; END;',
    start_date => SYSTIMESTAMP,
    repeat_interval => 'FREQ=HOURLY;BYMINUTE=5',
    end_date => NULL,
    enabled => TRUE,
    comments => 'Job defined entirely by the CREATE JOB procedure.');
    END;

  • Can I use ifile for slideshow from sd card?

    Can I use ifile for slideshow from sd card? Without importing.

    Hi Abby,
    You've posted your question in the Numbers for Mac community, where the topic of discussion is issues and techniques involving the Mac versions of Apple's spreadsheet application Numbers.
    From the description on the developer's website, it appears iFile is a file management application for iOS, used for importing and exporting files between computers (Mac or Windows) and iOS devices (iPhone, iPad, iPod). The closest to an appropriate community here would appear to be Using iPad, or one of the other device-baed communities. I've rquested a transfer of your quetion to that community.
    Rgards,
    Barry

  • Bought slideshow songs but won't let me use them for that

    I bought an album for use with power point presentations but itunes won't let me convert the files so I can use them for the exact purpose I purchased them. I don't want to do anything illegal...just use the songs for the correct purpose.

    You'll have to burn a CD of the songs and then reimport them to use them in a program other than iTunes.

  • My macbook running Mavericks is slow.  I use it for recording and it is struggling. I am trying to avoid wiping my computer clean and reinstalling everything...

    Here is the etrecheck report.  Any suggestions of some other maintenance I can perform on my computer?  A mac tech did a system diagnostic and found nothing wrong with the hardware. I have already reinstalled Mavericks, so it seems like the next step is wiping the harddrive clean and starting over, but I want to avoid that if possible!  Can anybody help?
    EtreCheck version: 1.9.15 (52)
    Report generated September 2, 2014 at 6:11:15 PM CDT
    Hardware Information: ?
        MacBook Pro (13-inch, Mid 2012) (Verified)
        MacBook Pro - model: MacBookPro9,2
        1 2.5 GHz Intel Core i5 CPU: 2 cores
        8 GB RAM
    Video Information: ?
        Intel HD Graphics 4000 - VRAM: (null)
            Color LCD 1280 x 800
    System Software: ?
        OS X 10.9.4 (13E28) - Uptime: 0 days 0:28:34
    Disk Information: ?
        APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted>: 209.7 MB
            Macintosh HD (disk0s2) / [Startup]: 499.25 GB (346.45 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        HL-DT-ST DVDRW  GS31N 
    USB Information: ?
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ?
        Apple Inc. thunderbolt_bus
    Gatekeeper: ?
        Mac App Store and identified developers
    Kernel Extensions: ?
        [not loaded]    com.focusrite.driver.usb2audio (1.7 - SDK 10.6) Support
        [not loaded]    com.paceap.kext.pacesupport.leopard (5.9 - SDK 10.4) Support
        [not loaded]    com.paceap.kext.pacesupport.master (5.9 - SDK 10.6) Support
        [not loaded]    com.paceap.kext.pacesupport.panther (5.9 - SDK 10.3) Support
        [loaded]    com.paceap.kext.pacesupport.snowleopard (5.9 - SDK 10.6) Support
        [not loaded]    com.paceap.kext.pacesupport.tiger (5.9 - SDK 10.4) Support
        [not loaded]    com.seagate.driver.PowSecDriverCore (5.2.3 - SDK 10.4) Support
        [not loaded]    com.seagate.driver.PowSecLeafDriver_10_4 (5.2.3 - SDK 10.4) Support
        [not loaded]    com.seagate.driver.PowSecLeafDriver_10_5 (5.2.3 - SDK 10.5) Support
        [not loaded]    com.seagate.driver.SeagateDriveIcons (5.2.3 - SDK 10.4) Support
        [loaded]    com.waves.driver.soundgrid (2.0.0) Support
    Launch Daemons: ?
        [loaded]    com.adobe.fpsaud.plist Support
        [loaded]    com.google.keystone.daemon.plist Support
        [running]    com.paceap.eden.licensed.plist Support
        [running]    com.waves.daemon.SoundGridProtocolService.plist Support
        [loaded]    PACESupport.plist Support
    Launch Agents: ?
        [loaded]    com.google.keystone.agent.plist Support
    User Launch Agents: ?
        [running]    com.spotify.webhelper.plist Support
    User Login Items: ?
        iTunesHelper
    Internet Plug-ins: ?
        FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
        Default Browser: Version: 537 - SDK 10.9
        o1dbrowserplugin: Version: 5.4.2.18903 Support
        googletalkbrowserplugin: Version: 5.4.2.18903 Support
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
    Safari Extensions: ?
        wrc
        Searchme
        Amazon Shopping Assistant
        Ebay Shopping Assistant
        SlickSavings
    Audio Plug-ins: ?
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
        Flash Player  Support
        Tuxera NTFS  Support
    Time Machine: ?
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 464.96 GB Disk used: 142.30 GB
        Destinations:
            TOURO Mobile 3.0 [Local] (Last used)
            Total size: 931.19 GB
            Total number of backups: 2
            Oldest backup: 2014-08-04 21:26:13 +0000
            Last backup: 2014-08-14 23:31:16 +0000
            Size of backup disk: Adequate
                Backup size 931.19 GB > (Disk used 142.30 GB X 3)
        Time Machine details may not be accurate.
        All volumes being backed up may not be listed.
    Top Processes by CPU: ?
             4%    SGProtocolService
             2%    firefox
             1%    fontd
             0%    WindowServer
             0%    imagent
    Top Processes by Memory: ?
        270 MB    firefox
        106 MB    com.apple.IconServicesAgent
        66 MB    Finder
        41 MB    mds_stores
        33 MB    mds
    Virtual Memory Information: ?
        5.92 GB    Free RAM
        1.02 GB    Active RAM
        369 MB    Inactive RAM
        712 MB    Wired RAM
        282 MB    Page-ins
        0 B    Page-outs

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can read it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p) if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|(Bo|PO).+ sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:| VALI|xpma' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,Inter,iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Have been using iPhoto for weeks and had it open just an hour ago and when I tried to open again I got a message that I had to upgrade in or to see my library??? after trying to upgrade still getting message. What the heck is going on

    Cannot open iphoto library, getting a message staing I have to upgrade to see my library which I have done four times with no results.  I just had iphoto opened an hour before without a problem and have been using it for weeks before today.  Any ideas as to what is going on?

    Apply the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    iPhoto 8 (09) and earlier- run the options indicated
    iPhoto 9 (11) and later- run  Option #4 to rebuild the database
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager (iPhoto 8 or earlier or IPhoto 11 and later) and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the
    File ➙ Rebuild Library (iPhoto 8 or earlier)
    or
    Library ➙ Rebuild Library (iPhoto 9 or later)
    menu option to rebuild the library.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    Happy New Year

  • I need to get away from iphoto.   I use pixelmator for editing almost exclusively.  I have a Sony disc hx200v camera and a Kodak.   I will need to know if my cameras (on mac) will be seamlessly supported and how to get all my existing photos safely to lig

    I have several questions.   iPhoto does not meet my needs.    I would use lightroom mainly for organization and downloading photos from my camera cards.   My cameras are Sony disc-hx200v and a little Kodak  I will need to know if they are fine with light room.  Also I use pixelmator for photo editing and likely will use iskysoft dvd maker for mac to create my dvds once edited.      I am desperate to find a way to make my work flow work.   i.e.   I need to get photos somewhere on my mac,  in this case it would be lightroom then I need to edit them in lightroom and pixelmator,  then be able to get that  album/slideshow/folder whatever you call it Into the dvd maker to voiceover and finish the project.      It looks like aperture would have been more to my taste but they are
    also taking that away.   Yeah!  Go Apple.   About all I will have left of use is an operating system and mail.     Will appreciate any help.  I am 73 and doing dvd's for Amazon so I really can't afford any more programs that are snatched away and learning curves that change every 6 months. 

    Are you shooting in raw or jpeg?
    I’m not sure there is raw support for your Sony model and you don’t say which Kodak you have. But for jpegs Lightroom will normally work.
    For your existing photos it would usually be necessary to export versions to the desktop or create new folders in Finder. Those duplicates will contain the editing adjustments you have already made and can be imported into Lightroom using “Add” in the import dialog.
    I would suggest you download Lightroom and use it free for 30 days. You can then test it to ensure it meets your needs. You can download from this link:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5856

  • Configuring cronie for mailing output [solved]

    Hi,
    I am having a hard time setting up cronie for mailing output. Jump to the last sentence for the actual question.
    From man 8 cron, I read that the -m option "allows you to specify a shell command to use for sending Cron mail output instead of using sendmail(8). This command must accept a fully formatted mail message (with headers) on standard input and send it as a mail message to the recipients specified in the mail headers". I do have msmtp installed. I can do this and receive email successfully:
    $ msmtp -t << eof
    > To: <my address>@gmail.com
    >
    > test
    > eof
    Thus I know that msmtp -t is the command I must provide with the -m option.
    Then, I followed these instructions and created /etc/systemd/system/cronie.service.d/mailing.conf which contains:
    [Service]
    ExecStart=
    ExecStart=/usr/bin/crond -n -m 'msmtp -t'
    Note: the first, empty ExecStart cancels the former one from the original .service file.
    After starting cronie.service, this is the result of systemctl status cronie.service:
    cronie.service - Periodic Command Scheduler
    Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled)
    Drop-In: /etc/systemd/system/cronie.service.d
    └─mailing.conf
    Active: active (running) since Mon 2013-06-24 22:58:24 EDT; 2s ago
    Main PID: 1457 (crond)
    CGroup: name=systemd:/system/cronie.service
    └─1457 /usr/bin/crond -n -m msmtp -t
    Jun 24 22:58:24 electron systemd[1]: Started Periodic Command Scheduler.
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (Syslog will be used instead of sendmail.)
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (running with inotify support)
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
    It seems that systemd drops the single quotes and takes -t as it's own parameter instead of passing it to msmtp. You can also see that crond logged "Syslog will be used instead of sendmail". I can actually see the output of my commands in /var/log/crond.log. How should I quote the space between msmtp and -t in the ExecStart line of my .service file?
    Last edited by a_neutrino (2013-06-30 21:54:53)

    Hi,
    Thanks a lot for your help. The issue is [solved].
    dif wrote:You have to create a file /etc/aliases that holds the addresses where e-mail notifications will be sent to when a user's cronjob creates an output.
    It seems unnecessary. The MAILTO variable set in the crontab accepts a complete email address.
    dif wrote:Contrary to Wiki, there are no commas separating e-mail addresses if there are a few in a line.
    The msmtp man page also says to put commas.
    dif wrote:
    There is a special script distributed with Arch that is able to scan /etc/aliases for a valid domain address and then calls msmtp. Here is its path
    /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh
    Copy it to /usr/bin/ and create a simlink:
    sudo cp /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh /usr/bin/find_alias_for_msmtp.sh
    sudo ln -s /usr/bin/find_alias_for_msmtp.sh /usr/bin/sendmail
    Why didn't you just :
    chmod +x /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh
    ln -s /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh /usr/bin/sendmail
    Also, I had to modify the find_alias_for_msmtp.sh script a little because cronie calls sendmail without any parameters:
    diff --git a/scripts/find_alias/find_alias_for_msmtp.sh b/scripts/find_alias/find_alias_for_msmtp.sh
    index fb485dd..346f313 100644
    --- a/scripts/find_alias/find_alias_for_msmtp.sh
    +++ b/scripts/find_alias/find_alias_for_msmtp.sh
    @@ -16,15 +16,18 @@ MSMTP=`which msmtp || echo "/usr/local/bin/msmtp"`
    if [ "$1" = '-i' ] ; then
    v_recipient=$2 # mailx calls sendmail with -i as the 1st param and the recipient as the second param
    -elif [ "$1" = '-t' ] ; then # most other programs call sendmail with a -t option
    +elif [ "$1" = '-t' -o $# = 0 ] ; then
    + # Most other programs call sendmail with a -t option.
    + # cronie calls sendmail without parameters and
    + # expects sendmail to find the recipient in the mail headers.
    v_to=`echo "$v_msg" | grep -m 1 'To: '`
    v_recipient=${v_to:4:50}
    else
    - v_recipient=$1 # no parameter, sendmail was called with the recipient as parameter
    + v_recipient=$1 # sendmail was called with the recipient as parameter
    fi
    -if [ $v_recipient != 0 ] ; then
    +if [ "$v_recipient" != 0 ] ; then
    # trim spaces from recipient email address
    v_recipient="${v_recipient// /}"
    Or maybe I missed something. I submitted the patch upstream to see if they think it's relevant.
    dif wrote:Hope this helps.
    Yes, it did! Thank you so much.

  • I created an album in iPhoto 11 and I have placed photos in a certain order for her graduation party slideshow. I want to place that album or photos on a thumbdrive, but when I do I lose the order I placed them in the folder.

    I created an album in iPhoto 11 and I have placed photos in a certain order for her graduation party slideshow. I want to place that album or photos on a thumbdrive, but when I do I lose the order I placed them in the folder.  renamed the photos starting with 1 and ending 262. thinking that would save the photos in order. Each time I try to export them that are placed in original folder names and descriptions need help.

    This is a two part process. First we title the photos, then we export them, using the title as filename.
    To title them
    Once you have then in the order you want select them all and go
    Photos -> Batch Change. Select set 'Title' to 'Text'
    Choose a Title -> Graduation 2013 or whatever, then check the box at 'Append number to each photo.
    Now, in the Album all your photos are named... Graduation 001, 002, 003 etc
    Next Export them:
    File -> Export, and in the Name option, choose 'Title as Filename' and complete the export.
    Regards
    TD

  • Using cron to stop and restart password protected instance (App Server 7)

    I have been asked by a customer to create a cron job to stop and restart their web application running under Applications server 7.
    I have created the script and can stop the instance, but I am unable to start it as it is asking for a password.
    I have included this in the script but it doesn't seem to like having a password supplied this way.
    Am I doing something wrong or Are there any alternative ways of stopping and restarting an application, using Cron?

    Have you looked at using password.conf file as described in --
    http://docs.sun.com/source/816-7155-10/crcfgfil.html#1075615
    You might also want to look at --
    http://docs.sun.com/source/816-7156-10/agsvrprf.html#1019453

  • Can w use rsync for Business Continuity for Oracle Applications Release12 ?

    Hi ,
    One of our customer has implemented Oracle EBS R12 (12.0.6) on HP-UX (IA).
    Database Tier on a Two Node Oracle Database 10g R2 RAC
    Application Tier on Two Node using Shared APPL_TOP with Load Balancer.
    They want to implement DR site using Oracle Data Guard (RAC to Non-RAC).
    I was referring to Note: 452056.1 +( Business Continuity for Oracle Applications Release 12 on Database Release 10gR2 - Single Instance and RAC )+.
    In this note its mentioned that:
    If you wish to synchronize your concurrent manager log and out files between production and standby, you need to create folders matching to the APPLCSF environment variables for each others......................... For example, set up an rsync job similar to the below example in cron, to run every few minutes.
    Can we use rsync for Production systems without any issues? Customer is concerned about using freeware on their Production systems.
    Rgds,
    Thiru.

    Thiru,
    Can we use rsync for Production systems without any issues? Customer is concerned about using freeware on their Production systems.You can use it with no issues. Or, you could use any other copy tool to copy those files.
    Thanks,
    Hussein

  • Question for Mac users re: slideshows

    I am new to Mac and have used PSE for PC for years. I used to be able to create a slideshow directly from PSE and add music, etc, but I no longer see that ability on PSE for Mac. Can anyone direct me on how to create a slideshow with a soundtrack? Do I have to use iDVD?
    Thanks in advance,
    Dana

    Ken,
    From what I have read from people who are familiar - comparing Premiere Elements and Final Cut Express would be a better comparison. (Yes, I know that PRE costs about $85-100 and you said that FCE is about $200.) So the following comments exclude the capabilities of Premiere Elements.
    Also it seems that you and I have very different opinions about the PSE slide show. Despite the fact that I spend time attempting to help people survive making a slide show using the PSE slide show editor, I would never claim that it is anything but LIMITED and BASIC. I would not recommend that someone make a decision about Photoshop Elements based on its slide show capabilities.
    Perhaps the PSE panning and zooming is better or easier - but even it is limited in control. For audio and transitions, they are a constant source of complaint on these forums and others about how limited they are and when they don't work. For example, mixing music and narration does not work in PSE 6 or 7: timing of any audio in recent versions has been very imprecise (I think it was PSE 4 where there was last some more precise timing control for music/audio)

  • Using cron with exp

    Hi,
    I want to schedule some backups for certain tables at night... any idea about use cron with exp....
    i tried as follows:
    crontab -ei made the next line:
    00 20 * * * exp userid=system/manager file=tt00.dmp tables=product
    when i confirm the schedule is ok.... but it doenst work
    Any help will be appreciated

    thanks robert,
    i do it.... here its the solution:
    i made an script which contains:
    ORACLE_SID=mySid
    export ORACLE_SID
    ORACLE_HOME=/oracle/product/8.1.7
    export ORACLE_HOME
    $ORACLE_HOME/bin/exp userid=bob/boby file=/home/user/bob/exporta.dmp tables=factventa,producto,cliente,acumventa
    the script was save as name.bat
    then i use cron as follows:
    crontab -e
    and in the file i wrote:
    00 23 * * * /home/user/bob/name.bat
    thats all !!!

  • Schedule export using cron?

    Hi
    I want to schedule the export of a table using cron job.
    create the .sh file as below
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=/opt/oracle/product/9.2.6/db_1
    export ORACLE_SID=orcl
    /opt/oracle/product/9.2.6/db_1/bin/exp system/manager file=/home/oracle/test.dmp log=/home/oracle/test.log tables=table_name
    $crontab -l
    43 16 * * * /home/oracle/export.sh > /home/oracle/export.log
    but when this crontab job runs export is not performed and i can't file the export dump file and logile.
    test.log file is getting created with nothing in it.
    Can any one let me know what is wrong with the shell script.
    Regards,

    Hi ,
    Can you please change the permission of your export.sh file
    $chmod 775 export.sh.
    Study the below link for more details.
    http://www.elated.com/articles/understanding-permissions/
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

Maybe you are looking for

  • Is Screen Sharing with multiple users possible?

    I am trying to discuss some documents with multiple users. It works very well with just two users sharing the screen of one of them, so I was wondering if there was a way to have a third user participating. If iChat does not allow this, does anyone k

  • EBS Applications User unable to run Report in BI Publisher 11g

    We have recently upgraded the BI Publisher (xmlpublisher) from 10g to 11g. We could login using the fnd_user and could see all our reports in the newly upgraded BI Publisher. But when a user runs a report with previously assigned roles, the report th

  • PDF Form nested in WinForms

    I use WinForms.NET I want read/write fields from pdf form, but via pdf browser control AxAcroPDFLib.AxAcroPDF your samples demonstrate how include pdf into my app and other how set field in pdf document how combine this two samples? how from AxAcroPD

  • PXI-5402 IVI in TestStand 4.2 returned "niFgen_InitWithOptions" Resource not found

    Hi, i'm very new in TestStand. I hope someone could help me. I have a complete Sequence in which an ivi should initiate a PXI-5402. (It's an old sequence i inherited. It's now my job to get it working again). We have another System with an PXI-5401 (

  • 0002 - Personal Data

    Hi Expert, I am doing hiring function and while doing it, I am facing problem in Personal Data. It ask for Worker's identification number in Indian Payroll. In HR Data, there is a field value required in CUIL/CUIT It is a mandetory filed, can any one