Autorun / autostart

don't know where to post this question.....
i make discs for my students. most have minimal issues, but lately i have been asked how come i don't create an autorun so that the disc mounts and runs a nice graphic interface.
i can't seem to find a way to do this on a mac. i use Toast 7 to burn the discs and the only response i got in that forum was to google it. well i did, but what little i could find was pretty old and made no sense to me.
any ideas?

If you want to autostart a program called "setup.exe" at the root level of the disk, then you just put:
[autorun]
open=setup.exe
The "autorun.inf" file must be located at the root level of your disk. When you load the CD, Windows will see it there, read it, and do what it says in the file.
Here is a nice tutorial I found for you.
You cannot always count on autorun being available on any computer. It doesn't exist on most platforms, and though it is enabled by default on Windows, the user can disable it. Microsoft even recommends disabling it for security purposes.

Similar Messages

  • AppleTV autostart and autorun a movie

    I want my AppleTV to start and automatically run a looped movie.
    How do I do this?
    Also, can I set the AppleTV to autostart on "power interruption"?
    Thanks!

    AppleTV has no on/off siwtch or full software power off.
    Unpluggibg/replugging the power restarts it - a power interruption would therefore have the same effect and make it restart.
    You can loop a single movie but not a playlist.
    You cannot however get it to play a particular movie automatically at startup.
    Not sure if you could mod it and replace the stock AppleTV startup clip with your movie with looping flage set in Quicktime to achieve this.
    AC

  • AutoStart with flash player 9.0

    How do I auto start a video with the flash player. In my code
    for calling the swf file I've tried using all sorts of combinations
    of the parameters autoStart, autorun, play, etc with either "1",
    true, or ON as the value. I'm a typical MySpace user, and trying to
    plug in video into my profile, but none of the auto start
    combinations seems to work.
    Thanks in advance!

    Yes, I tryed, and I still have this problem.
    I also desinstall flash player and reinstall the 9.0.45 flash
    player and I have no bug.
    But it's really weird to have a bug with the 115 and not with
    the 45, especially for a famous web site like youTube

  • SWF file autostart from a USB

    Hi!
    I'm trying to make a swf file autostartable from a usb drive. I have tryed to make the swf into a exe file and make a autorun.inf and just juse a open=shape.exe comand tho i cant get it to work i have tryed some outer lines of code aswell but this line is the one i get when i googled it. Any one out there with a good idé what i could do to make it work?
    I have also tryed to get a .bat file to start and well that doesent work aswell-
    Message was edited by: abbagid

    http://www.samlogic.net/articles/autorun-usb-flash-drive.htm

  • AutoStart on a Mac

    I just got some new software called CDEverywhere that is supposed to make a CD that AutoRuns or AutoStarts on both Mac and PC. The software states that Mac users need to enable AutoStart for this to work but I cannot find it.
    It is a CD that has an HTML file on it. What I want is for a MAC user to put in the CD and the HTML file opens automatically. Any ideas?

    The only method I've been able to track down for OS X (autorun was originally a feature in OS 9) is through the CD & DVD preference in System Preferences. You can select an action to occur when a music or picture CD or video DVD is inserted.
    Perhaps you should address this question at the appropriate Macromedia forum or to their tech support assuming that there is no help available in the application's Help menu or printed documentation.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • CD Rom Autostart

    I'm thinking about making a CD Rom with Flash and I was
    wondering about how to make the autostart on the CD. Is it
    difficult? Probably not. Can anybody tell me how?
    Tx

    Creating an "autorun" CD is a bad idea. It violates the basic security of a computer.
    All of the html files will probably be in the same folder. Images and other elements will be in other folders.
    Only one of the html files will be the "start" page. This could be placed at the "top" directory (outside of the other folders) and be named clickme_tostart.html and as long as it points to the proper index.html (the true start page) you could use a "refresh" code. An example:
    #<HTML><HEAD><meta http-equiv="refresh" content="0;url= "html_files/index.html"></HEAD><BODY></BODY></HTML># (minus the # signs added here).

  • Autorun from CD

    Hi all,
    Thanks in advance for your help with this one. I know it is
    quite an elementary problem but I just plain don't know the
    answers.
    I need to create a website that will be stored / run from a
    CD rather than online and will be used to browse the contents of
    the CD. My queries are:
    1) How do I set the webpage to autoload by default so that
    after the CD is inserted into the drive, the user is greeted by the
    webpage rather than by the usual Windows' window? I assume it is a
    script of some kind. Can anyone advise?
    2) I've seen examples on CD/DVDs that autorun in a window
    that doesn't look like a browser window because all the usual
    browser menus at the top are omitted. (Although, I assume that it
    is a browser window). Can anyone advise how that is done?
    3) Are there likely to be problems with broken hyperlinks on
    the CD? I assume I can create a local site directory and then
    seamlessly transfer it to CD without compromising hyperlink
    integrity. Is that right or should I expect problems with
    hyperlinks / how do I resolve them if so?
    Thanks again for your help with that.
    D.

    Google AutoRun Pro.
    It consists of an .exe file and .inf file -- both of which
    you add to the
    DVD or CD at burn. When disk is inserted, autorun.exe
    launches and opens
    the page or application and file you specified in the .inf
    file.
    --Nancy
    "double 0" <[email protected]> wrote in
    message
    news:[email protected]...
    > What does the open browser script in index.html look
    like?
    >
    > Which attributes are set to "no" and what is a
    "handler"?
    >
    >
    >
    quote:
    Originally posted by:
    Newsgroup User
    > use the method as described above to autostart the
    index.html file.
    > The code in index.html should contain only an open
    browser window script
    > targeting the real home page with all of the offending
    attributes set to
    > "no", and the handler set to "onload". The index.html
    will open (so quick
    > you will not even see it) change to the real website
    home page in a
    > chromeless window of the size you specify.
    >
    > Jeff
    >
    >
    > "Baxter" <baxter(remove:-)@gtlakes.com> wrote in
    message
    > news:[email protected]...
    > > [autorun]
    > > ShellExecute=index.html
    > >
    > > Save as autorun.inf
    > > Dave
    > > "double 0" <[email protected]>
    wrote in message
    > > news:[email protected]...
    > >> Hi all,
    > >>
    > >> Thanks in advance for your help with this one.
    I know it is quite an
    > >> elementary problem but I just plain don't know
    the answers.
    > >>
    > >> I need to create a website that will be stored
    / run from a CD rather
    > > than
    > >> online and will be used to browse the contents
    of the CD. My queries
    are:
    > >>
    > >> 1) How do I set the webpage to autoload by
    default so that after the
    CD
    > > is
    > >> inserted into the drive, the user is greeted by
    the webpage rather
    than
    > >> by
    > > the
    > >> usual Windows' window? I assume it is a script
    of some kind. Can
    anyone
    > > advise?
    > >>
    > >> 2) I've seen examples on CD/DVDs that autorun
    in a window that
    doesn't
    > > look
    > >> like a browser window because all the usual
    browser menus at the top
    are
    > >> omitted. (Although, I assume that it is a
    browser window). Can anyone
    > > advise
    > >> how that is done?
    > >>
    > >> 3) Are there likely to be problems with broken
    hyperlinks on the CD?
    I
    > > assume
    > >> I can create a local site directory and then
    seamlessly transfer it to
    CD
    > >> without compromising hyperlink integrity. Is
    that right or should I
    > >> expect
    > >> problems with hyperlinks / how do I resolve
    them if so?
    > >>
    > >> Thanks again for your help with that.
    > >>
    > >> D.
    > >>
    > >
    > >
    >
    >
    >
    >
    >
    Text
    >

  • I'm trying to put a swf file on a dvd that will autostart using OS X

    I'm trying to put a swf file on a dvd that will autostart using OS X and Director MX.  I imported one swf file that has nested movie clips.
    Some of them play and some don't.
    Any suggestions?

    The swf file runs fine on a computer. But now they want me to export it as a .mov and put it  on a dvd that customers without computers can put in a  tv/dvd player. They want it to auto start. When I export it as .mov, QuickTime only plays the first 20 seconds and not all of the nested movie clips play. They don't want it to play in a QuickTime player. Do I need to upgrade to QuickTime Pro? Any suggestions?Thanks
    Date: Sun, 20 Dec 2009 16:24:57 -0700
    From: [email protected]
    To: [email protected]
    Subject: I'm trying to put a swf file on a dvd that will autostart using OS X
    There is no autostart or autorun in OS X. Can you give more detail on the problem with the flash swf files?
    >

  • Autorun at a CD on Apple Computers

    Hi,
    does anybody know how I can install a autorun file on a CD so that the CD starts automatically if I put it in the apple Computer ? For example with a html page.
    Thank you,
    Frank

    Not sure if you can do it or not. Not much of a problem on Windows.
    Anyway maybe this will help:
    "The equivalent to AutoRun on Macs is called AutoStart. We are informed that this only works on OS9 and earlier; Mac OS10 via Toast only allows you to open a folder window and not an application.
    MacImage for Windows says that it can create AutoStart CDs on a PC.
    Other tools: Toast for Mac. CDEveryWhere.
    We have not tested any of these products.
    Keiser Photography have instructions for using Toast to make a CD that will AutoStart on a Mac as well as using ShellRun to AutoRun on Windows computers.
    Filenames as seen by a Mac
    By default, CDs created on a PC might have garbled filenames when viewed on an old Mac. Long filenames will be truncated to an "8.3" form, eg "index.html" may appear as "INDEX~1.HTM" on a Mac. However OS X 10.2.6+ recognises long file names.
    However, a pre OS-X Mac user can install the shareware Joliet File System Extension, from http://www.tempel.org/joliet/, which will make long PC filenames readable. If your CD uses the Joliet format because it has long filenames, then suggest to your Mac users that they install this software to view the CD fully.
    Therefore, if you have Mac users, it is best to ensure that your filenames are short, and provide instructions for viewing the CD manually, eg "View this CD by opening INDEX.HTM in your browser"."

  • Prevent Autostart of SWF

    How do I disable the autorun of a presentation so that the
    user has to click play for it to play??? This seems to me like it
    should be a very standard option at export and I can't be the only
    one who wants to allow users to choose when to start the
    presentation. I need to embed the SWF in a page with other
    instructions so I don't want it starting as soon as the page loads.
    Do I have to convert to flv and use an embedded video player????
    Surely not!
    Thanks in advance for making this less frustrating!

    I have similiar issue on Autostart. I have music loaded under
    Background Audio option and this automatically starts playing on an
    opening slide with a Button option - 'click to start'. How do I get
    the audio-music to start with this click option?
    thanks so much!
    btw - I want to embed this swf file in a web page so I
    thought I could use the code to not autoplay. I will attach that
    code to see if the solution is here...

  • Preventing autostart

    Windows XP. After each reboot, QuickTime insinuates intself into the AutoRun key of the registry. Removing it from the Run key does not help, as it comes back on the next restart. How to disable autostart once and for all?
    Thanks,
    -Ted

    Correct.
    The best you can do is, change the application (you have to change it anyway sooner or later otherwise you will not take advantage of all the Oracle pros and you application will not perform).
    If you still want to try it without changing the application code, then I think, the best you could do is:
    1. Rename <table> to <table_t>
    2. Create view <table> as select * from <table_t>
    create view <table> as select t.*, rowid rid from <table_t> t;3. Create instead of trigger on view <table>
    create or replace trigger example1
    instead of delete on <table>
    begin
      update <table_t> set deleted = '1' where rowid = :old.rid;
    end;

  • TS4123 This is not correct solution. I have fresh copy of Windows 7 64 bit and I have the same problem.  Autorun only shows the Bonjour service.  It started when try to sync more than one iphone.

    This is not correct solution. I have fresh/new copy of Windows 7 64 bit and I have the same problem. 
    Autorun only shows the Apple Bonjour service.  It started when try to sync more than one iphone over WiFi. I have two iphones and an iPad. I turned off syncing over WiFi and still has high CPU utilization. One of the CPU's is pegged at 100%.  It is the AppleMobileDeviceService.exe process.

    For the record, I then followed the suggestion of MarcDCMB in https://discussions.apple.com/thread/4291206 of just manually restarting the Apple Mobile Device service in Windows services.msc once each time after starting iTunes and the service no longer hogs CPU after that service restart.  Not too painful as a work-around, and apparently an effective one, but clearly not a solution to the problem.  Again, as above, all the other solutions didn't work for me and I have no conflicting software as far as I can tell. So you'd have to say this Apple's problem.
    Also FTR, I am still on the 5.2.0.6 version of the Apple Mobile Device Support MSI and I don't know if that is relevant to this work-around working but my sense is that it is NOT relevant.  I'll report back on this thread if I re-upgrade and the problem returns in spite of the service-restart approach.

  • Is there a way to make itunes autostart with windows in mini mode

    Is there a way to make itunes autostart with windows in mini mode i.e the taskbar player mode where it is most less obstrusive . itune takes a lot of time to start under windows

    Just delete the same songs from your library in iTunes.  Select the first song, hold the shift key, select the last song (which will select everything in between) and press delete.

  • [SOLVED] Openbox autostart no longer working since upgrade

    After the upgrade on May 14 2013 my autostart file no longer works. I tried renaming my autostart.sh to just autostart no luck. There is nothing wrong with the autostart file as I can run it manually and it will load all my apps. Also, if I cd to  /usr/lib/openbox/ and run openbox-autostart directly it works. Here are the updated packages:
    [2013-05-14 21:34] [PACMAN] upgraded ethtool (1:3.8-1 -> 1:3.9-1)
    [2013-05-14 21:34] [PACMAN] upgraded firefox (20.0.1-5 -> 21.0-1)
    [2013-05-14 21:34] [PACMAN] upgraded gsettings-desktop-schemas (3.8.0-1 -> 3.8.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded glib-networking (2.36.1-1 -> 2.36.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme-symbolic (3.8.0.1-2 -> 3.8.2.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme (3.8.0-1 -> 3.8.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnupg (2.0.19-7 -> 2.0.20-1)
    [2013-05-14 21:34] [PACMAN] upgraded gtkmm (2.24.2-2 -> 2.24.3-1)
    [2013-05-14 21:34] [PACMAN] upgraded gvfs (1.16.1-2 -> 1.16.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded libical (0.48-1 -> 1.0-2)
    [2013-05-14 21:34] [PACMAN] upgraded mplayer (35920-2 -> 35920-3)
    [2013-05-14 21:34] [PACMAN] upgraded orage (4.8.4-1 -> 4.8.4-2)
    [2013-05-14 21:34] [PACMAN] upgraded pango (1.34.0-1 -> 1.34.1-1)
    [2013-05-14 21:34] [PACMAN] upgraded pdnsd (1.2.9.a-1 -> 1.2.9.a-2)
    [2013-05-14 21:34] [PACMAN] upgraded python2-distribute (0.6.38-1 -> 0.6.39-1)
    [2013-05-14 21:34] [PACMAN] upgraded python2-zope-interface (4.0.3-1 -> 4.0.5-1)
    [2013-05-14 21:34] [PACMAN] upgraded sudo (1.8.6.p8-1 -> 1.8.6.p8-2)
    [2013-05-14 21:34] [PACMAN] upgraded thunderbird (17.0.5-2 -> 17.0.6-1)
    [2013-05-14 21:34] [PACMAN] upgraded virtualbox (4.2.12-2 -> 4.2.12-3)
    [2013-05-14 21:34] [PACMAN] upgraded vte-common (0.34.4-1 -> 0.34.5-1)
    [2013-05-14 21:35] [PACMAN] upgraded python3-threaded_servers (2013.5.12.3-1 -> 2013.5.14.1-1)
    Not sure what's going on or what could have caused it. My .xinitrc looks like this:
    #!/bin/sh
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    export BROWSER="chromium"
    # Start GNOME Keyring
    eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
    # You probably need to do this too:
    export SSH_AUTH_SOCK
    export GPG_AGENT_INFO
    export GNOME_KEYRING_CONTROL
    export GNOME_KEYRING_PID
    exec openbox-session
    My .zprofile
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx &> ~/.xlog
    My systemd startup service:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    [Unit]
    Description=Getty on %I
    Documentation=man:agetty(8) man:systemd-getty-generator(8)
    Documentation=http://0pointer.de/blog/projects/serial-console.html
    After=systemd-user-sessions.service plymouth-quit-wait.service
    After=rc-local.service
    # If additional gettys are spawned during boot then we should make
    # sure that this is synchronized before getty.target, even though
    # getty.target didn't actually pull it in.
    Before=getty.target
    IgnoreOnIsolate=yes
    # On systems without virtual consoles, don't start any getty. (Note
    # that serial gettys are covered by [email protected], not this
    # unit
    ConditionPathExists=/dev/tty0
    [Service]
    # the VT is cleared by TTYVTDisallocate
    ExecStart=-/sbin/agetty -a dodo3773 %I 38400
    Type=simple
    #Restart=always
    #RestartSec=0
    UtmpIdentifier=%I
    TTYPath=/dev/%I
    TTYReset=no
    TTYVHangup=no
    TTYVTDisallocate=no
    KillMode=process
    IgnoreSIGPIPE=no
    # Unset locale for the console getty since the console has problems
    # displaying some internationalized messages.
    Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
    # Some login implementations ignore SIGTERM, so we send SIGHUP
    # instead, to ensure that login terminates cleanly.
    KillSignal=SIGHUP
    [Install]
    WantedBy=getty.target
    Edit: I tried switching to bash in a tty and then just startx but that doesn't help either.
    Edit2: To be clear openbox does load a desktop. The autostart scripts at ~/.config/openbox/ just don't run. Thanks.
    Edit3: I decided to run the command issued in openbox-session and added --debug to it. Here is the output of "xinit /usr/bin/openbox --debug --startup "/usr/lib/openbox/openbox-autostart OPENBOX" "$@" -- :1 -nolisten tcp" :
    X.Org X Server 1.14.1
    Release Date: 2013-04-17
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.8.7-1-ARCH x86_64
    Current Operating System: Linux dodo713 3.9.2-2-ck #1 SMP PREEMPT Sun May 12 18:19:49 EDT 2013 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux-ck root=UUID=06874255-7a5d-4968-8f09-1e53cb761f44 ro quiet init=/usr/lib/systemd/systemd
    Build Date: 17 April 2013 02:37:06PM
    Current version of pixman: 0.30.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Fri May 17 08:14:11 2013
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    setversion 1.4 failed
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    Loading extension NV-GLX
    Loading extension NV-CONTROL
    Loading extension XINERAMA
    setversion 1.4 failed
    Openbox-Debug: --startup /usr/lib/openbox/openbox-autostart OPENBOX
    Openbox-Debug: Moving to desktop 1
    Openbox-Debug: not managing override redirect window 0x4000bb
    which: no hsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    which: no esetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    which: no xsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    kupfer: Reading from stdin
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    Openbox-Debug: Caught signal 22. Ignoring.
    Openbox-Debug: UPDATE DESKTOP NAMES
    Openbox-Debug: Keyboard map changed. Reloading keyboard bindings.
    Edit4: Removed everything from /etc/xdg/autostart and ~/.config/autostart/ directories. That didn't work.
    Edit5: Tried installing xorg-xsetroot to let openbox set the color of the wallpaper. That didn't work.
    Edit6: Checked the output of "loginctl show-session $XDG_SESSION_ID" to make sure that wasn't the issue. Looks okay to me:
    Id=1
    Timestamp=Fri 2013-05-17 10:25:53 PDT
    TimestampMonotonic=13650783
    DefaultControlGroup=systemd:/user/1000.user/1.session
    VTNr=1
    TTY=tty1
    Remote=no
    Service=login
    Leader=405
    Audit=1
    Type=tty
    Class=user
    Active=yes
    State=active
    KillProcesses=no
    IdleHint=no
    IdleSinceHint=1368811547544203
    IdleSinceHintMonotonic=7545641
    Name=dodo3773
    Edit7: Tried installing xorg-xrdb thinking maybe that would help and did todays updates. No luck yet.
    Edit8: Kupfer still loads even though nothing else does. So I uninstalled kupfer. Same thing though. No autostart.
    Edit9: Tried booting into repo kernel instead of ck kernel. Didn't work.
    Last edited by dodo3773 (2013-05-19 06:34:44)

    WonderWoofy wrote:Interestingly, of all those things you included in your post, you forgot to include the autostart script itself.  What does that look like?
    Well, since it worked fine even when called indirectly through openbox-autostart and since it's worked fine for months I figured it was fine. I am happy to post it though. Here you go:
    feh --bg-scale /home/dodo3773/Pictures/blacksolid.png &
    xfce4-panel &
    numlockx &
    keepassx -lock &
    kupfer --no-splash &
    ~/Documents/Scripts/startupopen.sh &
    sleep 30 && sudo /usr/bin/ntpd -qg &
    sudo /usr/sbin/ethtool -K eth0 rx off &
    ~/Documents/Scripts/conky.sh &
    sudo /home/dodo3773/Documents/Scripts/temp_throttlenew > /dev/null 2>&1 &
    Here are the external scripts that are called (startupopen.sh and temp_throttlenew):
    startupopen.sh
    #! /bin/bash
    sleep 13
    chromium &
    thunderbird &
    sleep 20
    devilspie -a &
    sleep 7
    pkill devilspie &
    exit
    temp_throttlenew
    #!/bin/bash
    # temp_throttle.sh max_temp
    # USE CELSIUS TEMPERATURES.
    if [[ $EUID -ne 0 ]]; then
    echo "This script must be run as root" 1>&2
    exit 1
    fi
    #if [ $# -ne 1 ]; then
    # If temperature wasn't given, then print a message and exit.
    # echo "Please supply a maximum desired temperature in Celsius." 1>&2
    # echo "For example: ${0} 60" 1>&2
    # exit 2
    #else
    #Set the first argument as the maximum desired temperature.
    MAX_TEMP=85
    #fi
    # The frequency will increase when low temperature is reached.
    let LOW_TEMP=$MAX_TEMP-5
    CORES=$(nproc) # Get number of CPU cores.
    echo -e "Number of CPU cores detected: $CORES\n"
    # Temperatures internally are calculated to the thousandth.
    MAX_TEMP=${MAX_TEMP}000
    LOW_TEMP=${LOW_TEMP}000
    # FREQ_LIST is a list (array) of all available cpu frequencies the system allows.
    declare -a FREQ_LIST=($(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies))
    # CURRENT_FREQ relates to the FREQ_LIST by keeping record of the currently set frequency.
    let CURRENT_FREQ=1
    function set_freq {
    echo ${FREQ_LIST[$1]}
    cpupower frequency-set -g "ondemand" -d "800MHz" -u ${FREQ_LIST[$1]}
    function throttle {
    if [ $CURRENT_FREQ -ne $((${#FREQ_LIST[@]}-1)) ]; then
    let CURRENT_FREQ+=1
    echo -n "throttle "
    set_freq $CURRENT_FREQ
    fi
    function unthrottle {
    if [ $CURRENT_FREQ -ne 0 ]; then
    let CURRENT_FREQ-=1
    echo -n "unthrottle "
    set_freq $CURRENT_FREQ
    fi
    function get_temp {
    # Get the system temperature.
    # If one of these doesn't work, the try uncommenting another.
    TEMP=$(cat /sys/class/thermal/thermal_zone0/temp)
    #TEMP=$(cat /sys/class/hwmon/hwmon0/temp1_input)
    #TEMP=$(cat /sys/class/hwmon/hwmon1/device/temp1_input)
    while true; do
    get_temp
    if [ $TEMP -gt $MAX_TEMP ]; then # Throttle if too hot.
    throttle
    elif [ $TEMP -le $LOW_TEMP ]; then # Unthrottle if cool.
    unthrottle
    fi
    sleep 3
    done
    Stuff that needs sudo is in my sudoers as "username hostname NOPASSWD: item1,item2,etc,etc". Nothing too exciting. Seems like if there was suddenly something wrong with my autostart file at least some of the stuff would run either way though cause of "&". Pretty puzzling this issue is.

  • Can't rename a single file to autorun.inf even all ntfs permissions are correct

    I have this odd problem:
    Logged in as Domin Administrator I couldn't  rename or open for editing an existing file "autorun.inf" even though all the ntfs permissions were correct. Every other files in the same directory (mainly .swf, .docx, .js and .htm files)
    are both editable and can be renamed.
    When I deleted the file "autorun.inf" from the folder and tried to create a new one with the same name, OS (Windows Server 2008 R2) notifies me that I "need permission to perform this action". Furthermore OS notifies me that "You
    require special permission from Administrators to make changes to this file". Neither can I copy a file named "autorun.inf" from another location to this folder. This is in spite of being logged in as Domain Admin.
    In short: I can't create a file called autorun.inf in a folder!
    Could  there be some kind of extra locking concerning files named autorun.inf i.e. some protective mechanism in this particular folder's permissions or SRV2008R2 itself that I've missed. All the other folders allow me to create whatever files i like
    into them.
    I would very much appreciate if anybody can help me with this.

    Yes, by default that will block any access to autorun.ini files. We use the same, so the issue sounded familiar, and of that I asked specificly to that :)
    Best Regards,
    Jesper Vindum, Denmark
    Systems Administrator
    Help the forum: Monitor(alert) your threads and vote helpful replies or mark them as answer, if it helps solving your problem.

Maybe you are looking for