IBM developerWorks
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old September 27th, 2002, 03:41 PM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 7
Add stuff to startup

I need to execute some commands when Linux is started;

xmodmap -e 'keycode 26 = e E EuroSign'
which maps the euro key to my E-key,this needs to be executed after X has been started.In which file do I need to put this?

sudo /usr/bin/adsl-start
which starts my ADSL connection,I have no idea where I have to put this?

If someone could please tell me how I can make this things run when Linux is started,I would be very thankfull

Last edited by Tuxie : September 27th, 2002 at 03:59 PM.

Reply With Quote
  #2  
Old September 27th, 2002, 06:22 PM
Epsilon Epsilon is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Long Beach, California
Posts: 86 Epsilon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 10 m 34 sec
Reputation Power: 7
I would put it in /etc/rc.d/rc.local

Reply With Quote
  #3  
Old September 27th, 2002, 07:46 PM
riv's Avatar
riv riv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 463 riv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 50 sec
Reputation Power: 8
I don't know if it is absolutely necessary but you can fire up xmodmap from ~/.xinitrc. Otherwise your wm could (and should) take care of that too.
__________________
Words must be weighed, not counted.

Reply With Quote
  #4  
Old September 28th, 2002, 05:20 PM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 7
I added it to /etc/rc.d/rc.local,and it works fine!Thanks!
Now when I start my computer,I already have an internet connection and everything works fine

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Add stuff to startup


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway