User forums > General (but related to Code::Blocks)
Linux distro for devs?
Pecan:
Does anyone know how to turn that andLinux startup sound off?
If I forget to turn the sound off at power-down, that andLinux noise makes me jump out of my skin at power-up. it's so damn loud.
thanks
pecan
tiwag:
--- Quote from: Pecan on January 01, 2007, 05:06:57 pm ---Does anyone know how to turn that andLinux startup sound off?
If I forget to turn the sound off at power-down, that andLinux noise makes me jump out of my skin at power-up. it's so damn loud.
thanks
pecan
--- End quote ---
--- Code: ---andLinuxPreBeta\Sound>esd --help
Esound version 0.2.36
Usage: esd [options]
-v --version print version information
-d DEVICE force esd to use sound device DEVICE
-b run server in 8 bit sound mode
-r RATE run server at sample rate of RATE
-as SECS free audio device after SECS of inactivity (-1 to disable)
-unix use unix domain sockets instead of tcp/ip
-tcp use tcp/ip sockets instead of unix domain
-public make tcp/ip access public (other than localhost)
-promiscuous start unlocked and owned (disable authenticaton) NOT RECOMMENDED
-terminate terminate esd daemon after last client exits
-noterminate do not terminate esd daemon after last client exits
-nobeeps disable startup beeps
-beeps enable startup beeps
-trust start esd even if use of /tmp/.esd can be insecure
-port PORT listen for connections on PORT (only for tcp/ip)
-bind ADDRESS binds to ADDRESS (only for tcp/ip)
Possible devices are: /dev/dsp, /dev/dsp2, etc.
--- End code ---
edit your "settings_static.txt"
from
exec1="sound\esd","-tcp -public"
to
exec1="sound\esd","-tcp -public -nobeeps"
brgds
--tiwag
Pecan:
RE: esd
Thanks, that did the trick.
Pecan:
Has anyone been successful running a program from within CB on andLinux.
I dont seem to have an xterm on andLinux, so I changed Setting/Environment Terminal to
--- Code: ---/usr/bin/xfce4-terminal -T $TITLE -e
--- End code ---
I see the console quickly flash by and get the following messages:
--- Code: ---Checking for existence: /home/pecan/proj/Hello/Hello
Executing: /usr/bin/xfce4-terminal -T 'Hello' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /home/pecan/devel/trunk/src/devel/cb_console_runner "/home/pecan/proj/Hello/Hello" ' (in /home/pecan/proj/Hello/.)
Process terminated with status 0 (0 minutes, 0 seconds)
--- End code ---
with the following error message in my andLinux terminal window
--- Code: ---pecan@andLinux:~/devel/trunk/src/devel$ ./run.sh
-------------- Build: Debug in Hello ---------------
g++-4.0 -Wall -g -c main.cpp -o obj/main.o
g++-4.0 -o ./Hello obj/main.o
Process terminated with status 0 (0 minutes, 4 seconds)
0 errors, 0 warnings
Unable to register terminal service: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
Process terminated with status 0 (0 minutes, 0 seconds)
Unable to register terminal service: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
Process terminated with status 0 (0 minutes, 0 seconds)
--- End code ---
I installed the dbus stuff with synaptic, rebooted andLinux and started the dbus-daemon:
--- Code: ---andLinux:~# dbus-daemon
No configuration file specified.
dbus-daemon [--version] [--session] [--system] [--config-file=FILE] [--print-address[=DESCRIPTOR]] [--print-pid[=DESCRIPTOR]] [--fork] [--nofork] [--introspect]
--- End code ---
top shows the daemon running, but it all made no difference at all.
I think I'm now over my head here.
Is there another way to get CB to run a program under andLinux?
tiwag:
--- Quote from: Pecan on January 04, 2007, 01:24:47 am ---Has anyone been successful running a program from within CB on andLinux.
I dont seem to have an xterm on andLinux, so I changed Setting/Environment Terminal to
--- Code: ---/usr/bin/xfce4-terminal -T $TITLE -e
--- End code ---
...
Is there another way to get CB to run a program under andLinux?
--- End quote ---
just install xterm
and use Setting/Environment Terminal
--- Code: ---xterm -T $TITLE -e
--- End code ---
works fine for me :D
brgds,
--tiwag
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version