DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th October 2008
caesius caesius is offline
Port Guard
 
Join Date: May 2008
Posts: 24
Thanked 8 Times in 2 Posts
Default executing commands for all users when X starts with KDM

I run two commands when X starts to get the multimedia keys on my keyboard to work, and I'd like these to be run for all users.

I'm using KDM so how should I go about making these commands run globally? Is there a skel file I can edit to be copied to each new users .xsessions file, or should I be editing a global .xsessions file?

Cheers
Reply With Quote
  #2   (View Single Post)  
Old 20th October 2008
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 107
Thanked 4 Times in 4 Posts
Default

You're probably better off editing the global one since these are system-wide (all users) achanges you want to do there.
Reply With Quote
  #3   (View Single Post)  
Old 20th October 2008
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

If you are using kdm from KDE4, it looks like the Xsession file it executes sources /etc/xprofile, so simply adding your commands there might work.

Adam
Reply With Quote
Reply

Thread Tools
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
Xorg starts with numlock on Mantazz FreeBSD Ports and Packages 6 10th July 2009 02:17 AM
No DRI + GLX commands? Hrr4 FreeBSD General 5 21st September 2008 10:05 AM
Executing a c program Libran Programming 13 12th August 2008 11:42 PM
FreeBSD Administration Commands corey_james FreeBSD General 13 10th June 2008 08:44 PM
Cisco IOS commands ?? jb_daefo Off-Topic 7 5th June 2008 01:53 AM


All times are GMT. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick