LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2005, 08:35 PM   #1
byteframe
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 62

Rep: Reputation: 15
Quick Questions.


Where do I put something that I want to run when x (gdm) starts up? I have to run a whole bunch of xmodmap commands for my crazy keyboard, and I would like that to be for all users of course. If there is nothing like that for a system wide X startup script, where would I go PER user? I tried a little test in ~/.xsession

#!/bin/bash
mkdir ~/thisworked


but I didnt work, Ill keep trying but I thought someone would have more insight as to where these files would be on a slacwkare 10.2/10.1 system...Thanks.
 
Old 10-15-2005, 10:06 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Two suggestions:

1. Try your ~/.xinitrc

2. Make double-sure your "test script" itself isn't failing, e.g.
echo >> /tmp/this.worked
 
Old 10-16-2005, 03:04 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
.xinitrc is the place to put it per user. I don;t know of a global location. If all the users use the same wm you could put it in the appropriate xinitrc.<wm> somewhere under /etc/X11.

Assuming your commands are in ~/.Xmodmap, the command would be like this

xmodmad ~/.Xmodmap

For global use you could put it in, say, /etc/X11 then all users could access it with

xmodmap /etc/X11/.Xmodmap
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
three quick questions... honda_ricer Linux - Newbie 9 11-30-2005 07:53 AM
A few quick questions... gflores Linux - Newbie 3 01-10-2005 12:47 AM
a few quick questions maybbach Linux - General 4 11-05-2004 03:14 AM
2 Quick Questions sonikntails Slackware 2 05-03-2002 04:31 PM
Two quick questions rand07 Linux - Newbie 1 12-09-2001 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration