Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-06-16 01:44:47

dgavenda
Member
Registered: 2007-06-16
Posts: 10

Which file can I put script to run at start?

I am trying to turn off the system beep for a Dell D620 Latitude.  The beep is extremely loud.

This command works:
xset b off


I am not sure which file I should put this is so I don't have to manually type that every time I log in.

Can someone point my in the correct direction?  Had it in Xsession for gnome...need to know which file for Xfce.

Thanks,

Offline

#2 2007-06-16 09:10:29

SimonJ
Member
From: Perth
Registered: 2006-09-06
Posts: 135
Website

Re: Which file can I put script to run at start?

To work all DE put it in ~/.bash_profile as

xset b off &

at the end of the file. The "&" means execute but don't wait.


Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================

Offline

#3 2007-06-16 12:08:23

dgavenda
Member
Registered: 2007-06-16
Posts: 10

Re: Which file can I put script to run at start?

Ok.  That will work but is there a better place so I don't have to put in it every user's bash profile?

I would think there is a file where it will run every time Xfce starts.

Offline

#4 2007-06-28 11:49:57

mdskpr
Member
Registered: 2007-03-06
Posts: 6

Re: Which file can I put script to run at start?

u could try this but u would have to change it for every user

click on the xfce menu then go into settings and click on auto-started applications and then click add and then configure it to however u want..

Offline

#5 2007-06-28 17:35:16

huysmans
Member
From: NL
Registered: 2003-10-08
Posts: 19
Website

Re: Which file can I put script to run at start?

dgavenda wrote:

Ok.  That will work but is there a better place so I don't have to put in it every user's bash profile?

I would think there is a file where it will run every time Xfce starts.

You could Try /etc/profile or add a script to /etc/profile.d/ . Or you could change the startxfce4 script, if that is what you use to start Xfce.

Personally, I have disabled the pcspkr module in the kernel ;-)


Jasper

Offline

#6 2007-06-28 19:20:36

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Which file can I put script to run at start?

Run the xfce4-autostart-editor and add a new task.

Offline

#7 2009-06-23 09:31:09

El_Angelo
Member
Registered: 2004-11-09
Posts: 667

Re: Which file can I put script to run at start?

Append the following line to your /etc/modprobe.d/blacklist so that beep remains off after the system reboot:
blacklist pcspkr

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 535.92 KiB (Peak: 536.77 KiB) ]