Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd December 2011, 03:15 AM
simpleblue Offline
Registered User
 
Join Date: Nov 2010
Posts: 110
linuxfirefox
Where do I put my startup script?

Here's what I have so far:

/etc/rc.local
Code:
#!/bin/bash

su user /home/user/Documents/./script.sh
/home/user/Documents/script.sh
Code:
#!/bin/bash

espeak "Welcome simpleblue. Your wish is my desire..."
script.sh has execute permissions

The code does not execute but I don't expect it to. I only know the Arch way. How can I accomplish this on Fedora?


* edit *

I figured out a way:

ALT-F2
Code:
gnome-session-properties
Add

sh /home/user/Documents/script.sh


Though it runs as root and not that desirable.

Thanks

Last edited by simpleblue; 3rd December 2011 at 03:58 AM.
Reply With Quote
Reply

Tags
script, startup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
script to use at startup pmorg Programming & Packaging 2 22nd July 2011 04:48 AM
startup script? shafted Using Fedora 1 10th December 2007 12:50 AM
How can I set startup-script? youhaodeyi Using Fedora 2 22nd October 2007 07:43 AM
startup script cancerian80 Using Fedora 15 26th July 2007 06:05 AM
How to run a script on startup nemesys Using Fedora 0 19th November 2005 04:31 PM


Current GMT-time: 10:16 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat