[SOLVED] sed works in arch, but in os x it's different?

Hello, I have a quick question about sed and using newlines.
Say I have a file with one line in it like so:
va.artofwarcentral.com
I want to split each of the parts separated by periods into new lines.
I used sed to do this:
sed 's/\./\n/g' filename
and it works without incident.  The output is this:
va
artofwarcentral
com
However, when I try this on OS X I get this unexpected output:
vanartofwarcentralncom
Am I mistaken in thinking that the newline character in OS X is \n ?  I have tried several different escape characters, and they all give me back the same thing...it ignores the escape and just prints the character.
So, I guess my question is this:  am I doing something wrong or is this something that OS X is doing retardedly?  I know this might not be the best place to ask this since it's really more of an OS X question, but hopefully someone knows the answer.  I'm new to sed and regular expressions and all that jazz, so odds are I'm just doing something wrong.  Any help is appreciated.
Last edited by jordanmthomas (2007-11-18 12:35:56)

jordanmthomas wrote:
Heh, sorry for posting it here.
Anyway, to get around the issue I have just separated it with spaces and used awk to get each word out, which seems to work on Arch and OS X.
So problem solved anyway now.
If you are still interested, there is some relevant information here (see Hal Itosis' post(s) especially):
http://forums.macosxhints.com/archive/i … 62778.html
Summary:
- update or change your version of sed
- use Perl
- use currently installed sed with some of the tricks supplied by Hal Itosis
- or stick with what you already did.

Similar Messages

  • [SOLVED] Sound works at GDM but once logged in does not

    Arch has me stumped.
    When my Macbook boots to GDM there is the sound icon and sound works.
    Once I log in the sound icon disappears and there is no sound.
    If I log back out sound works again at the GDM login screen
    My output for pulse audio and pulse audio -v is:
    $ pulseaudio
    E: [pulseaudio] socket-server.c: bind(): Address already in use
    E: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
    E: [pulseaudio] main.c: Module load failed.
    E: [pulseaudio] main.c: Module load failed.
    E: [pulseaudio] main.c: Failed to initialize daemon.
    $ pulseaudio -v
    I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
    I: [pulseaudio] core-util.c: Successfully gained nice level -11.
    I: [pulseaudio] main.c: This is PulseAudio 5.0
    I: [pulseaudio] main.c: Page size is 4096 bytes
    I: [pulseaudio] main.c: Machine ID is d9244e7a847c40c4bcb63aa228acfb21.
    I: [pulseaudio] main.c: Session ID is c4.
    I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
    I: [pulseaudio] main.c: Using state directory /home/mark/.config/pulse.
    I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-5.0/modules.
    I: [pulseaudio] main.c: Running in system mode: no
    I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
    I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3
    I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
    I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
    I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
    I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
    I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
    I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
    I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/mark/.config/pulse/d9244e7a847c40c4bcb63aa228acfb21-device-volumes'.
    I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
    I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/mark/.config/pulse/d9244e7a847c40c4bcb63aa228acfb21-stream-volumes'.
    I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
    I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/mark/.config/pulse/d9244e7a847c40c4bcb63aa228acfb21-card-database'.
    I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
    I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
    I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
    I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HDA Intel/HDA Intel.conf
    I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HDA Intel
    I: [pulseaudio] (alsa-lib)main.c: error: failed to import HDA Intel use case configuration -2
    I: [pulseaudio] alsa-ucm.c: UCM not available for card HDA Intel
    I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL iec958:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer iec958:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL surround40:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer surround40:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
    I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
    I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround41:0: Invalid argument
    I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
    I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
    I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround50:0: Invalid argument
    I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround51:0: Invalid argument
    I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround71:0: Invalid argument
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL iec958:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer iec958:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
    I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
    I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM dca:0
    I: [pulseaudio] alsa-util.c: Error opening PCM device dca:0: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D3p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D3p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D7p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,1: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D7p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,1: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D8p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,2: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D8p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,2: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D9p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,3: No such file or directory
    I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D9p' failed (-2)
    I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,3: No such file or directory
    I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card alsa_card.pci-0000_00_1b.0.
    I: [pulseaudio] card.c: Created 0 "alsa_card.pci-0000_00_1b.0"
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
    I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
    I: [pulseaudio] alsa-sink.c: Successfully opened device front:0.
    I: [pulseaudio] alsa-sink.c: Selected mapping 'Analog Stereo' (analog-stereo).
    I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
    I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling mode.
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] sink.c: Created sink 0 "alsa_output.pci-0000_00_1b.0.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
    I: [pulseaudio] sink.c: alsa.resolution_bits = "16"
    I: [pulseaudio] sink.c: device.api = "alsa"
    I: [pulseaudio] sink.c: device.class = "sound"
    I: [pulseaudio] sink.c: alsa.class = "generic"
    I: [pulseaudio] sink.c: alsa.subclass = "generic-mix"
    I: [pulseaudio] sink.c: alsa.name = "ALC889A Analog"
    I: [pulseaudio] sink.c: alsa.id = "ALC889A Analog"
    I: [pulseaudio] sink.c: alsa.subdevice = "0"
    I: [pulseaudio] sink.c: alsa.subdevice_name = "subdevice #0"
    I: [pulseaudio] sink.c: alsa.device = "0"
    I: [pulseaudio] sink.c: alsa.card = "0"
    I: [pulseaudio] sink.c: alsa.card_name = "HDA Intel"
    I: [pulseaudio] sink.c: alsa.long_card_name = "HDA Intel at 0x90700000 irq 44"
    I: [pulseaudio] sink.c: alsa.driver_name = "snd_hda_intel"
    I: [pulseaudio] sink.c: device.bus_path = "pci-0000:00:1b.0"
    I: [pulseaudio] sink.c: sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
    I: [pulseaudio] sink.c: device.bus = "pci"
    I: [pulseaudio] sink.c: device.vendor.id = "8086"
    I: [pulseaudio] sink.c: device.vendor.name = "Intel Corporation"
    I: [pulseaudio] sink.c: device.product.id = "284b"
    I: [pulseaudio] sink.c: device.product.name = "82801H (ICH8 Family) HD Audio Controller"
    I: [pulseaudio] sink.c: device.form_factor = "internal"
    I: [pulseaudio] sink.c: device.string = "front:0"
    I: [pulseaudio] sink.c: device.buffering.buffer_size = "352800"
    I: [pulseaudio] sink.c: device.buffering.fragment_size = "176400"
    I: [pulseaudio] sink.c: device.access_mode = "mmap+timer"
    I: [pulseaudio] sink.c: device.profile.name = "analog-stereo"
    I: [pulseaudio] sink.c: device.profile.description = "Analog Stereo"
    I: [pulseaudio] sink.c: device.description = "Built-in Audio Analog Stereo"
    I: [pulseaudio] sink.c: alsa.mixer_name = "Realtek ALC889A"
    I: [pulseaudio] sink.c: alsa.components = "HDA:10ec0885,106b3600,00100103"
    I: [pulseaudio] sink.c: module-udev-detect.discovered = "1"
    I: [pulseaudio] sink.c: device.icon_name = "audio-card-pci"
    I: [pulseaudio] source.c: Created source 0 "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
    I: [pulseaudio] source.c: device.description = "Monitor of Built-in Audio Analog Stereo"
    I: [pulseaudio] source.c: device.class = "monitor"
    I: [pulseaudio] source.c: alsa.card = "0"
    I: [pulseaudio] source.c: alsa.card_name = "HDA Intel"
    I: [pulseaudio] source.c: alsa.long_card_name = "HDA Intel at 0x90700000 irq 44"
    I: [pulseaudio] source.c: alsa.driver_name = "snd_hda_intel"
    I: [pulseaudio] source.c: device.bus_path = "pci-0000:00:1b.0"
    I: [pulseaudio] source.c: sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
    I: [pulseaudio] source.c: device.bus = "pci"
    I: [pulseaudio] source.c: device.vendor.id = "8086"
    I: [pulseaudio] source.c: device.vendor.name = "Intel Corporation"
    I: [pulseaudio] source.c: device.product.id = "284b"
    I: [pulseaudio] source.c: device.product.name = "82801H (ICH8 Family) HD Audio Controller"
    I: [pulseaudio] source.c: device.form_factor = "internal"
    I: [pulseaudio] source.c: device.string = "0"
    I: [pulseaudio] source.c: module-udev-detect.discovered = "1"
    I: [pulseaudio] source.c: device.icon_name = "audio-card-pci"
    I: [pulseaudio] alsa-sink.c: Using 2.0 fragments of size 176400 bytes (1000.00ms), buffer size is 352800 bytes (2000.00ms)
    I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
    I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
    I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -179.00 dB to 0.00 dB.
    I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
    I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
    I: [pulseaudio] alsa-sink.c: Using hardware mute control.
    I: [alsa-sink-ALC889A Analog] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
    I: [alsa-sink-ALC889A Analog] alsa-sink.c: Starting playback.
    I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
    I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
    I: [pulseaudio] alsa-source.c: Successfully opened device front:0.
    I: [pulseaudio] alsa-source.c: Selected mapping 'Analog Stereo' (analog-stereo).
    I: [pulseaudio] alsa-source.c: Successfully enabled mmap() mode.
    I: [pulseaudio] alsa-source.c: Successfully enabled timer-based scheduling mode.
    I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
    I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
    I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
    I: [pulseaudio] source.c: Created source 1 "alsa_input.pci-0000_00_1b.0.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
    I: [pulseaudio] source.c: alsa.resolution_bits = "16"
    I: [pulseaudio] source.c: device.api = "alsa"
    I: [pulseaudio] source.c: device.class = "sound"
    I: [pulseaudio] source.c: alsa.class = "generic"
    I: [pulseaudio] source.c: alsa.subclass = "generic-mix"
    I: [pulseaudio] source.c: alsa.name = "ALC889A Analog"
    I: [pulseaudio] source.c: alsa.id = "ALC889A Analog"
    I: [pulseaudio] source.c: alsa.subdevice = "0"
    I: [pulseaudio] source.c: alsa.subdevice_name = "subdevice #0"
    I: [pulseaudio] source.c: alsa.device = "0"
    I: [pulseaudio] source.c: alsa.card = "0"
    I: [pulseaudio] source.c: alsa.card_name = "HDA Intel"
    I: [pulseaudio] source.c: alsa.long_card_name = "HDA Intel at 0x90700000 irq 44"
    I: [pulseaudio] source.c: alsa.driver_name = "snd_hda_intel"
    I: [pulseaudio] source.c: device.bus_path = "pci-0000:00:1b.0"
    I: [pulseaudio] source.c: sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
    I: [pulseaudio] source.c: device.bus = "pci"
    I: [pulseaudio] source.c: device.vendor.id = "8086"
    I: [pulseaudio] source.c: device.vendor.name = "Intel Corporation"
    I: [pulseaudio] source.c: device.product.id = "284b"
    I: [pulseaudio] source.c: device.product.name = "82801H (ICH8 Family) HD Audio Controller"
    I: [pulseaudio] source.c: device.form_factor = "internal"
    I: [pulseaudio] source.c: device.string = "front:0"
    I: [pulseaudio] source.c: device.buffering.buffer_size = "352800"
    I: [pulseaudio] source.c: device.buffering.fragment_size = "176400"
    I: [pulseaudio] source.c: device.access_mode = "mmap+timer"
    I: [pulseaudio] source.c: device.profile.name = "analog-stereo"
    I: [pulseaudio] source.c: device.profile.description = "Analog Stereo"
    I: [pulseaudio] source.c: device.description = "Built-in Audio Analog Stereo"
    I: [pulseaudio] source.c: alsa.mixer_name = "Realtek ALC889A"
    I: [pulseaudio] source.c: alsa.components = "HDA:10ec0885,106b3600,00100103"
    I: [pulseaudio] source.c: module-udev-detect.discovered = "1"
    I: [pulseaudio] source.c: device.icon_name = "audio-card-pci"
    I: [pulseaudio] alsa-source.c: Using 2.0 fragments of size 176400 bytes (1000.00ms), buffer size is 352800 bytes (2000.00ms)
    I: [pulseaudio] alsa-source.c: Time scheduling watermark is 20.00ms
    I: [pulseaudio] alsa-source.c: Successfully enabled deferred volume.
    I: [pulseaudio] alsa-source.c: Hardware volume ranges from -16.00 dB to 30.00 dB.
    I: [pulseaudio] alsa-source.c: Fixing base volume to -30.00 dB
    I: [pulseaudio] alsa-source.c: Using hardware volume control. Hardware dB scale supported.
    I: [pulseaudio] alsa-source.c: Using hardware mute control.
    I: [alsa-source-ALC889A Analog] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
    I: [alsa-source-ALC889A Analog] alsa-source.c: Starting capture.
    I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #6; argument: "device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"").
    I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:1b.0/sound/card0 (alsa_card.pci-0000_00_1b.0) module loaded.
    I: [pulseaudio] module-udev-detect.c: Found 1 cards.
    I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
    I: [pulseaudio] module.c: Loaded "module-jackdbus-detect" (index: #7; argument: "channels=2").
    I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #8; argument: "").
    I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #10; argument: "").
    I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #9; argument: "").
    E: [pulseaudio] socket-server.c: bind(): Address already in use
    E: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
    E: [pulseaudio] main.c: Module load failed.
    E: [pulseaudio] main.c: Failed to initialize daemon.
    I: [pulseaudio] module.c: Unloading "module-bluez5-discover" (index: #10).
    I: [pulseaudio] module.c: Unloaded "module-bluez5-discover" (index: #10).
    I: [pulseaudio] module.c: Unloading "module-bluetooth-discover" (index: #9).
    I: [pulseaudio] module.c: Unloaded "module-bluetooth-discover" (index: #9).
    I: [pulseaudio] module.c: Unloading "module-bluetooth-policy" (index: #8).
    I: [pulseaudio] module.c: Unloaded "module-bluetooth-policy" (index: #8).
    I: [pulseaudio] module.c: Unloading "module-jackdbus-detect" (index: #7).
    I: [pulseaudio] module.c: Unloaded "module-jackdbus-detect" (index: #7).
    I: [pulseaudio] module.c: Unloading "module-alsa-card" (index: #6).
    I: [pulseaudio] sink.c: Freeing sink 0 "alsa_output.pci-0000_00_1b.0.analog-stereo"
    I: [pulseaudio] source.c: Freeing source 0 "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor"
    I: [pulseaudio] source.c: Freeing source 1 "alsa_input.pci-0000_00_1b.0.analog-stereo"
    I: [pulseaudio] card.c: Freed 0 "alsa_card.pci-0000_00_1b.0"
    I: [pulseaudio] module.c: Unloaded "module-alsa-card" (index: #6).
    I: [pulseaudio] module.c: Unloading "module-udev-detect" (index: #5).
    I: [pulseaudio] module.c: Unloaded "module-udev-detect" (index: #5).
    I: [pulseaudio] module.c: Unloading "module-switch-on-port-available" (index: #4).
    I: [pulseaudio] module.c: Unloaded "module-switch-on-port-available" (index: #4).
    I: [pulseaudio] module.c: Unloading "module-augment-properties" (index: #3).
    I: [pulseaudio] module.c: Unloaded "module-augment-properties" (index: #3).
    I: [pulseaudio] module.c: Unloading "module-card-restore" (index: #2).
    I: [pulseaudio] module.c: Unloaded "module-card-restore" (index: #2).
    I: [pulseaudio] module.c: Unloading "module-stream-restore" (index: #1).
    I: [pulseaudio] module.c: Unloaded "module-stream-restore" (index: #1).
    I: [pulseaudio] module.c: Unloading "module-device-restore" (index: #0).
    I: [pulseaudio] module.c: Unloaded "module-device-restore" (index: #0).
    I: [pulseaudio] main.c: Daemon terminated.
    $
    A search of the forums/google/duckduckgo has yielded no similar situations or solutions.
    Any ideas?
    Last edited by kramlegan (2014-08-10 03:55:59)

    Solved my own problem....
    After a day of poking around and thinking about the error message I figured there is a socket is left open or being used somewhere  and pulseaudio does not know how to handle this. I found a socket file in /tmp/.esd-UID/socket that I rm'd. 
    Rebooted my laptop and logged into my Gnome desktop and there is now sound.
    Furthermore I removed the line in /etc/pulse/default.pa that loads module-esound-protocol and have not ran in to any issues.

  • [SOLVED]Netcfg works great manually, but when using the daemon it wont

    I installed netcfg a really long time ago following the arch wiki. When I first installed it and set everything up, it was all working perfectly.
    For the past three or four months Ive been having problems where netcf daemon is failing to connect (home wireless network 256bit wep). It takes about 20 seconds just waiting and eventually says failed. If I log in and run the command manually (sudo netcfg home-wifi) it connect perfectly fine every time.
    Ive tried everything I can think of including different QUIRKS and changing permissions on the profiles but nothing works. I also tried using the netcfg menu but it doesnt work like that either. I went over the wiki page again thinking something might have chnaged, but its all the same. I even reinstalled and configured again but still nothing.
    heres my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(acpi-cpufreq cpufreq_ondemand vboxdrv loop)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="Arch"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="dhcp"
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    NETWORKS=(home-wifi)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng crond hal cpufreq !network net-profiles @netfs @alsa @sensors @mpd)
    What gets me is that it actually takes longer to fail then it does when I manually connect. It times out for like 20 seconds, but when I manually connect its almost instantaneous.
    Last edited by tjwoosta (2010-03-02 05:31:37)

    I had arch installed on my Sony VAIO, had this problem, and then fixed it somehow.  That was several months ago, recently I fried the laptop so I just reinstalled and can't remember.  But now I have a "solution"  haha
    this is kind of silly how I got it to work, though.
    I created another profile "home-wifi-boot" with a short timeout, this is called from rc.conf.
    then I put "/usr/bin/netcfg home-wifi" in my /etc/rc.local  , which is exactly the same but has a 30 sec timeout.
    This just does the same thing as I was doing manually, runs netcfg a second time.  It works for me!
    Last edited by jamba (2010-02-14 15:30:58)

  • Wireless USB doesn't work in Arch, but works in Ubuntu.

    Hello. I've had Arch installed (including wireless) on my laptop for about a month, no problem. i just followed the guide and it worked. When I tried to do the same on my desktop, wlan0 don 't show up. That's it, it's not there according to arch. The loopback interface and my build in ethernet (eth1 I think) shows up, but nothing else. I have a belkin FSD7050. Any ideas?
    Oh, it works perfectly in Ubuntu no questions asked. In fact, I'm typing this on a live cd of gOS, which isn't nearly as customizable as Arch .

    otacon wrote:
    you sure you got
    pacman -S wireless_tools
    then
    pacman -S madwifi
    then you restarted
    and checked to see if you got a wlan?
    dhcpcd wlan
    ding -c 3 www.google.com
    Yes. Just did both.  Only eth0 and lo show up. No wireless interface is ever listed.
    Edit: If I do a 'lspci | grep -i net', only my ethernet controller shows up. So my belkin adapter is not being detected?
    Last edited by killsto (2008-12-09 21:55:12)

  • {SOLVED} Wicd works in KDE but not in Enlightenment

    Greetings all,
    I searched the Wiki as well as Google for this issue and though I have found a few random forum questions pop up, none of them reflected the issue that I am having.
    I have both KDE and Enlightenment installed.  Easy to switch between the two of them but I like Enlightenment more and want to use it.  Problem I have is, when I first ran Enlightenment, it prompts you with a selection of various programs to install.  Amongst others, I chose Wicd because that is what I having up and running great in my KDE desktop.
    When I click on Wicd in Enlightenment, I automatically get an error stating that Wicd error cannot connect to dbus.  When I run ifconfig wlan0 up, my wireless light came on and I know that it is working but I still get the same error.  It also states that no error was put in the log so there is nothing for me to look at and investigate.  When I go back in and log in with KDE, Wicd comes up, asks me for my password and alas I have a good connection to my router.
    Any and all suggestions will be most appreciated.
    All the best,
    Ian
    Last edited by ichase (2011-02-17 12:56:23)

    Greetings FarmerF,
    I start by selecting wicd in my "internet" list of programs.  In other words, I select the icon.  In KDE wicd automatically comes up and prompts me for my password.  Would like to get that happening in E17 as well
    I don't have wicd in my DAEMONS list in my /etc/rc.conf file because it autostarts in KDE.  But it might be a good idea to add it. 
    I have "exec ck-launch-session start_enlightenment" in my .xinitrc file.  I just uncomment it and comment my KDE then in my DAEMONS of my rc.conf I blacklist KDE so it does not attempt to start.
    I have both dbus and hal installed and both are listed in my DAEMONS
    It only occurs once I manually start wicd.  As previously mentioned, when I type ifconfig wlan0 up the wifi light comes on.  Strange. 
    Ian

  • [SOLVED] MySQL working w/all but myth (can't connect to DB)

    Just did ye ol' upgrade and
    > sudo tail -f /var/lib/mysql/mythbox.err
    091121 18:29:38 [Note] /usr/sbin/mysqld: Shutdown complete
    091121 18:29:38 mysqld_safe mysqld from pid file /var/lib/mysql/mythbox.pid ended
    091121 18:30:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    091121 18:30:53 [Note] Plugin 'FEDERATED' is disabled.
    091121 18:30:53 [Note] Plugin 'ndbcluster' is disabled.
    091121 18:30:54 InnoDB: Started; log sequence number 0 193508
    091121 18:30:55 [Note] Event Scheduler: Loaded 0 events
    091121 18:30:55 [Note] /usr/sbin/mysqld: ready for connections.
    Version: '5.1.41' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution
    No errors from mysql after some db checking and upgrading (and was all OKs from that). Mythfrontend output:
    2009-11-21 18:39:52.271 Testing network connectivity to '192.168.1.100'
    2009-11-21 18:39:52.278 Closing DB connection named 'DBManager0'
    2009-11-21 18:39:52.279 Unable to connect to database!
    2009-11-21 18:39:52.279 Driver error was [1/2003]:
    QMYSQL: Unable to connect
    Database error was:
    Can't connect to MySQL server on '192.168.1.100' (111)
    2009-11-21 18:39:52.279 Cannot login to database?
    I keep getting this, and mythbackend.log shows nothing helpful, just proper log entries/no errors or anything. My /etc/mysql/my.cnf is here if of any use: http://pastebin.ca/1681585
    I do have some other web apps using mysql that are functioning properly, so I'm pretty sure it's not mysql (?).
    Thanks for any help
    Last edited by colbert (2009-11-22 03:21:49)

    Got it! Just edit your /etc/mysql/my.cnf and find the line
    skip-networking
    Comment the line out and it connects just fine from a remote FE

  • [SOLVED] Just got my Arch! Can /home be moved to different partition?

    Hello everybody, after three days of work I've finally got my Arch running correctly, and I'm very thrilled about moving on and use it on a regular basis.
    Now I have a doubt: during installation I selected to install home in the same partition as file sistem, because I have a home partition for Ubuntu and Fedora and was unsure if setting it would simply create a new folder for Arch, or it would be automatically formatted, which would have meant the destuction of all my data. That means all Arch data is inside the same partition.
    So, question is, is there any way to move to that home partition now?
    Last edited by Daerun (2011-02-08 22:33:24)

    I don't know how many times I have seen this problem - and the solution is oh so easy ...
    Forget about /home as such - make it just part of the root filesystem and don't put any data in there.
    Instead - mount /myhome  (or whatever you want to call it) on a partition on its own and have all of your users (ie all the usernames you use) rwx-access to it - use it as your 'real' home.
    This way, you don't have the clutter of dot-files/directories if you should have more than one distro. To use a common /home for more than one distro is a big fallacy (at least in _my_ eyes) unless you make sure that uid and gid is the same (which is seldom the case if you're a newbie - old hands know better!)
    Even if you have the same uid/gid - the dot-files may not be completely compatible and you're heading for troubles.
    Another advantage - you can replace a distro with some other distro without thinking twice about it - your 'real' home is safe.
    Oh - and while I'm at it.
    Why all the different partitions for each distro? (/var, /usr, /home etc). That is OK if you only use one distro - the second you try to install another one you will be heading for troubles.
    Just use the root filesystem and give it 20 gigs - 20 gigs for each distro and you will not have any problems - ever (almost). Hey - in these days of terabyte disks for $50, what's the problem?
    Then - a final /myhome as a common home partition for all distros.
    Another 'mistake' I often see is playing around with different filesystems, trying to wring the last ounce of effort out of a poor diskdrive. Make a /testing partition and experiment to your heart's content with all kind of weird and wonderful filesystem, but keep the root filesystem and your /myhome safe. ext3 and/or reiserfs are excellent filesystems and have been so for years - they are as safe as the bank. ext4 is getting there.
    Just my 2c worth ...
    Last edited by perbh (2011-02-08 17:38:51)

  • [SOLVED]Printer working in Ubuntu, and not in Arch

    Hello,
    Well, it's a little bit weird I bought a new printer, it's a Epson SX415.
    Cups detects it as a Epson SX410, I tried to make it work with the following drivers:
    So, with the CUPS+gutenprint drivers, it seems to work (cups says job sent) but the printer doesn't make a move. With the foomatic drivers, cups says:
    stopped
    "/usr/lib/cups/filter/foomatic-rip failed"
    If it works with Ubuntu 10.10, I guess I'll be able to make it work under Arch, but currently I don't know how to do that :s
    Thanks
    Last edited by Lowra (2010-10-26 17:19:42)

    Ubuntu is using the following driver:
    Epson Stylus SX410 - CUPS+Gutenprint v5.2.6 Simplified (color, 2-sided printing)
    I'll check AUR
    EDIT:
    [david@desktop ~]$ sudo packer -S epson-inkjet-printer-escpr
    warning: epson-inkjet-printer-escpr is flagged out of date
    Aur Targets    (1): epson-inkjet-printer-escpr
    Proceed with installation? [Y/n] y
    Edit epson-inkjet-printer-escpr PKGBUILD with $EDITOR? [Y/n] n
    ==> Making package: epson-inkjet-printer-escpr 1.0.0-1 (Thu Oct 21 23:00:30 CEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
      -> Downloading epson-inkjet-printer-escpr-1.0.0-1lsb3.2.src.rpm...
    --2010-10-21 23:00:30--  http://linux.avasys.jp/drivers/lsb/epso … .2.src.rpm
    Resolving linux.avasys.jp... 202.41.220.57
    Connecting to linux.avasys.jp|202.41.220.57|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-10-21 23:00:31 ERROR 404: Not Found.
    ==> ERROR: Failure while downloading epson-inkjet-printer-escpr-1.0.0-1lsb3.2.src.rpm
        Aborting...
    The build failed.
    [david@desktop ~]$
    Last edited by Lowra (2010-10-21 18:53:10)

  • [SOLVED] hp tx2000 tablet pc works in ubuntu but not arch

    im running arch64 on my hp pavilion tx2000 tablet pc.  the wacom is configured as a usb wacom in ubuntu and works perfectly
    (i used this thread and that is how i got it work in ubuntu http://ubuntuforums.org/showthread.php? … st5469447)
    i installed linuxwacom using yaourt without any problems, however when i type
    cat /proc/bus/input/devices
    the wacom doesnt appear.  i tried both the wiki guides from arch (tablet pc and wacom tablet) as well as the troubleshooting, but i cant detect my wacom  i also tried copying over my xorg.conf from ubuntu (i am dual booting ubuntu and arch) but that isnt working either.
    wacdump -f tpc /dev/ttys0
    12:16:16.936 ERROR: Failed to open /dev/ttys0: No such file or directory
    WacomOpenTablet: No such file or directory
    xidump -l
    Virtual core keyboard keyboard
    Virtual core pointer disabled
    Generic Keyboard extension
    Configured Mouse extension
    xidump -u stylus
    Unknown ui option stylus; was it configured?
    here is the output of some suggestions from the "wacom tablet" arch linux wiki - the tablet does appear under lsusb
    lsusb
    Bus 002 Device 006: ID 056a:0093 Wacom Co., Ltd
    Bus 002 Device 005: ID 08ff:1600 AuthenTec, Inc.
    Bus 002 Device 004: ID 064e:a110 Suyin Corp.
    Bus 002 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
    Bus 002 Device 001: ID 1d6b:0002
    Bus 001 Device 003: ID 03f0:171d Hewlett-Packard
    Bus 001 Device 001: ID 1d6b:0001
    so next i created 10-local.rules in /etc/udev/rules.d (as suggested) and put this into the file
    KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k", SYMLINK="input/wacom"
    but then when i do /dev/input and then ls...the wacom doesn't appear (even after restarting udev and restarting the computer)
    wacomcpl does work, however there are no buttons for stylus, eraser etc.
    i feel like ive tried eeeeverything (im starting to get confused now) - but i know it has to work because it works in ubuntu, and we all know arch is superior to ubuntu riiiiight???
    what can i try next?? are there any arch users with the tx2000 pavilion?
    thank you
    Last edited by originalsurfmex (2008-11-29 23:51:45)

    okay, i fixed it! i returned to the original ubuntu forum i had used...apparently the pci settings must appear in the xorg file, if you dont know how to do this just go here:
    http://ubuntuforums.org/showthread.php? … ost5469447
    you can download his sample xorg to see it.
    now here's the thing, the archlinux wiki says to add a line that says:
    Option "Device" "/dev/ttyS0"
    and
    Option "ForceDevice" "ISDV4"
    i had to remove those for each stylus, eraser and touch.  i also removed the cursor and made it into touch.  here are my xorg settings:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder58) Wed Oct 1 15:12:53 PDT 2008
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    InputDevice "touch" "SendCoreEvents"
    EndSection
    Section "InputDevice"
    Identifier "stylus"
    Driver "wacom"
    Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
    # Option "Device" "/dev/ttyS0" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
    Option "Type" "stylus"
    # Option "ForceDevice" "ISDV4"
    Option "Button2" "3"
    EndSection
    Section "InputDevice"
    Identifier "eraser"
    Driver "wacom"
    Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
    # Option "Device" "/dev/ttyS0" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
    Option "Type" "eraser"
    # Option "ForceDevice" "ISDV4"
    Option "Button2" "3"
    EndSection
    #Section "InputDevice"
    # Identifier "cursor"
    # Driver "wacom"
    # Option "Device" "/dev/ttyS0"
    # Option "Type" "cursor"
    # Option "ForceDevice" "ISDV4"
    #EndSection
    Section "InputDevice"
    Identifier "touch"
    Driver "wacom"
    Option "Type" "touch"
    Option "USB" "on"
    Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.1-event-"
    EndSection
    Section "Files"
    EndSection
    Section "Module"
    Load "dbe"
    Load "extmod"
    # Load "type1"
    Load "freetype"
    Load "glx"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 150.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "RenderAccel" "true"
    Option "NoLogo" "true"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "True"
    Option "RandRRotation" "on"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    now, im no hacker, so this was a tad tedious, but welllll worth it! im beginning to understand the educational value of arch, and the power/speed you get in regurn.  my wacom has never been so responsive!
    next i have to configure my synaptictouchpad (so the scroll function works), my fingerprint scanner, my webcam and all my extra little buttons (also the screenrotate thing)  if anywone has quickfixes id be happy to know otherwise its back to google.
    nothing like arch!

  • [SOLVED] fbsplash working but have a created future problems?

    I'm new to arch but have managed to successfully install fbcondecor and fbsplash and manipulate them to at least a reasonable degree to get the desired effect.  However my tech-speak is poor so please bear with me. 
    The problem is that my splash screen seems to look fine, initially.  Then, however, when Vesa hands off to inteldrm the graphics get distorted. I believe it is whenever the screen resolution change occurs during the boot (which is why i believe it occurs during the handoff).  I have listed my grub configuration files as well as my daemons and Hooks below in hopes one of you guys may recognize an error.  I have read and attempted to resolve the issue but it is clear I cannot solve it without some assistance from someone with a deeper knowledge.
    This is what my screen looks like https://bbs.archlinux.org/viewtopic.php?id=136819 so I'm guessing it relates to the KMS but I configured the file in accordance with the wiki so...
    Edit:  Another possibly pertinent note is that the splash works perfectly on shutdown.
    /etc/default/grub
    GRUB_GFXPAYLOAD_LINUX=keep
    GRUB_DISABLE_RECOVERY=true
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch Linux"
    GRUB_DEFAULT=saved
    GRUB_GFXMODE=1024x768x32
    GRUB_CMDLINE_LINUX_DEFAULT='quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant'
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    GRUB_TERMINAL_INPUT=console
    GRUB_THEME=/boot/grub/themes/starfield/theme.txt
    GRUB_CMDLINE_LINUX=splash
    GRUB_HIDDEN_TIMEOUT=3
    Hooks   
    HOOKS="base udev uswsusp fbsplash autodetect pata scsi sata filesystems usbinput uresume fsck"
    Daemons 
    DAEMONS=(hwclock dbus !network fbcondecor sshd @netfs @crond acpid @networkmanager laptop-mode !net-profiles syslog-ng !net-auto-wireless @cupsd)
    What should I be looking for to solve this problem?  What occurs that changes the screen from the basic resolution it starts with to the enhanced resolution in the next portion of boot?  Should I post dmesg output?
    Last edited by jallenusn (2012-06-19 20:41:53)

    The question here is, why does it get loaded in the first place, usually it's loaded by the vga= statement. I'm guessing the monstrosity that is grub2 has something to do with it, remove all the GFX stuff from it's config.
    Thanks for your input.  You are correct in your assumption about my screen resolution being 1366x768.  I am having trouble understanding what you mean by "remove all the GFX stuff".  Do you mean for me to change my /etc/default/grub file and leave blank all of the categories that include "GFX" and then mkconfig?  Or are you proposing that I manually modify something in the grub.cfg to disable the graphics mode in grub2? 
    One other quick note.  It seems that before Vesa hands off to inteldrm the splash looks as intended.  It is after this hand off takes place that the splash becomes distorted (4 different occurences of the splash across the screen, all of them appearing shredded and smeared across the screen).
    Edit:  Another possibly pertinent note is that the splash works perfectly on shutdown.
    Also, for further reference I have posted both my /etc/default/grub & /boot/grub/grub.cfg below. 
    GRUB_GFXPAYLOAD_LINUX=keep
    GRUB_DISABLE_RECOVERY=true
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch Linux"
    GRUB_DEFAULT=saved
    GRUB_GFXMODE=1366x768x32
    GRUB_CMDLINE_LINUX_DEFAULT='quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant'
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    GRUB_TERMINAL_INPUT=console
    GRUB_THEME=/boot/grub/themes/starfield/theme.txt
    GRUB_CMDLINE_LINUX=splash
    GRUB_HIDDEN_TIMEOUT=3
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="${saved_entry}"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod btrfs
    set root='hd0,msdos3'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 719a75c8-81fa-4f8d-b06a-b2ab3ba18770
    else
    search --no-floppy --fs-uuid --set=root 719a75c8-81fa-4f8d-b06a-b2ab3ba18770
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=1366x768x32
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
    else
    search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
    fi
    insmod gfxmenu
    loadfont ($root)/grub/themes/starfield/dejavu.pf2
    insmod png
    set theme=($root)/grub/themes/starfield/theme.txt
    export theme
    if sleep --verbose --interruptible 3 ; then
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux GNU/Linux, with Linux fbcondecor kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-fbcondecor kernel-true-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
    else
    search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
    fi
    echo 'Loading Linux fbcondecor kernel ...'
    linux /vmlinuz-linux-fbcondecor root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fbcondecor.img
    menuentry 'Arch Linux GNU/Linux, with Linux fbcondecor kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-fbcondecor kernel-fallback-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
    else
    search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
    fi
    echo 'Loading Linux fbcondecor kernel ...'
    linux /vmlinuz-linux-fbcondecor root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fbcondecor-fallback.img
    menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
    else
    search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-719a75c8-81fa-4f8d-b06a-b2ab3ba18770' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54d38b5e-db10-4162-bfcd-1226ada0d561
    else
    search --no-floppy --fs-uuid --set=root 54d38b5e-db10-4162-bfcd-1226ada0d561
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=719a75c8-81fa-4f8d-b06a-b2ab3ba18770 ro splash quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-elegant
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fallback.img
    if [ "x$default" = 'Arch Linux GNU/Linux, with Linux core repo kernel' ]; then default='Advanced options for Arch Linux GNU/Linux>Arch Linux GNU/Linux, with Linux core repo kernel'; fi;
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    Last edited by jallenusn (2012-06-17 17:57:32)

  • [SOLVED] Warcraft 3 (with Wine) does not work in Arch

    Okay. I played a lot Warcraft III The Frozen Throne with Wine in Ubuntu. When I started to use Arch, of course I wanted to continue playing.
    But, when I started the game for the first time it gets into main screen (with 800x600 resolution, it is default when you start the game for the first time, my xorg.conf supports it) but freezes after about 2 secs. And I have to kill X. But now it even does not start (it changes resolution from 1920x1200 to 800x600, but does not continue)! I'm using KDE4.1 - is this somehow related to nVidia driver bug (I'm using nVidia GeForce 8800 Ultra)?
    Arch 64bit KDE4.1
    Wine 1.1.3 (installed with this, but also tested this - same problem)
    WC3 patched 1.22 - installed MS Visual C 2005 Runtimes in order to get it work (see http://appdb.winehq.org/objectManager.p … n&iId=3126 )
    I'm running the game from NTFS partition.
    Edit: Tested with emulated desktop. Problem remains.
    Edit2: Solved problem with 32bit Arch. Works like a charm!
    Last edited by Exitium (2008-10-07 19:04:01)

    moljac024 wrote:If you're a hardcore gamer then I'll just advise you to keep Windows installed for your gaming needs. There's nothing wrong with dual-booting for that
    I have (nLited) WinXP for games. But WC3 works fine with Wine, that's why I want to play it with Linux. It's faster just click a shortcut without rebooting.
    Rokixz wrote:The best solution for Hardgamers is to buy a xbox360
    I don't prefer consoles. And FPS games (which I play most) are crap on consoles.
    Dheart wrote:Now that I think of...
    Let me guess: You are using hardware acceleration set to "Emulation" and Driver emulation with alsa.
    For some reason WarCraft III doesn't like those (Hardware acceleration in particular...) Set Hardware acceleration to Basic or Full and the game will launch...
    It's set to "Full". And as I said, game launches but freezes after a few secs. But music continues even if a screen is frozen.
    Last edited by Exitium (2008-09-06 10:49:29)

  • Microphone of my iphone is not working when i call anyone nobody can listen but me, its working with headphone but its also working with videocam recording, please help me to solve this probelm.

    microphone of my iphone is not working when i call anyone nobody can listen me its working with headphone. but it is working with videocam recording, please help me to solve this probelm.

    Try this:
    1. Reset the iPhone by pressing and holding the sleep/wake and home buttons and releasing them, when the Apple logo appears on the display. Now test again.
    2. If the issue persists: Restore the iPhone without any of your own content, using this description from Apple: http://support.apple.com/kb/HT4137
    3. If the issue persists, Your iPhone need repair.

  • [SOLVED] Failure when loading modules, but everything works fine

    I've updated Linux from 2.6 to 3.0, everything seems to be working as before, but I'm getting this when booting:
    Loading modules [FAIL]
    I don't see anything relevant in dmesg output, everything seems to be loaded fine. Is anybody else getting the same error since the kernel update?
    Last edited by Camus (2011-08-08 14:07:56)

    What's strange is that Tp smapi's functionality seems to be there anyway... It's a module for battery control in Thinkpads and my battery indeed doesn't charge beyond 80%, the way I want it to be.
    I'm having the same issue. I think you will find that the "functionality" isn't provided, as you said, /sys/devices/platform/smapi doesn't exist, and that your battery is actually remembering the last charge limits you sent to it. Try to remove the battery and put it back, I'm nearly sure that it'll lose them. This is what happens to me on my second battery, the ultra-bay one, which I occasionally have to remove to insert my CD drive.
    No idea why tp_smapi doesn't load when put in MODULES in rc.conf, but workarounds should be easy. Alternatively, if you only use it to update your charge settings, you can just manually load it each time you need to.
    EDIT :
    Have just found out that by manually adding thinkpad_ec before tp_smapi in MODULES in rc.conf, everything loads. Strange, since thinkpad_ec should be loaded automatically with tp_smapi. But hey, it works.
    Last edited by idx (2011-08-19 11:08:08)

  • [SOLVED] Can only boot Arch via CD

    Hi all,
    I've installed 64 bit Arch on the 2nd hard drive of a Dell Optiplex 980.
    It works very nicely, but I have a strange boot issue:
    If I boot from the Arch CD, and select "Boot other OS", hit Tab, and manually edit the grub line to "chain.c32 hd 1 0", I am taken to the grub menu on the hard drive and can select my install which boots and runs fine.
    If I select the 2nd HD in the BIOS boot menu (instead of the CD), I get to the same grub menu, but upon selecting my install, I get an Error 17.
    Has anyone run into this before?
    Thanks in advance!
    Last edited by basementhead (2010-09-24 17:52:11)

    Turns out I misunderstood how grub works.
    When I changed my menu.lst to (hd 0,0) it works.
    I thought that the 2nd drive was (hd 1,0), which was reinforced by the boot CD working with (1,0), but I guess the drives are renumbered when you boot from CD?
    The big clues were that the partition that grub said couldn't boot was 0xde (a Dell partition), and I was sure I'd wiped the entire drive, but I knew that the 1st drive was a default Dell/Windows7 install.
    Then using grub command line menu, I typed "find /sbin/init" and it found it on (hd0,2), and the mystery was solved....
    Anyway - fixed by treating the drive as if it was /dev/sda (hd 0,0) instead of /dev/sdb (hd 1,0)
    Thanks!

  • [solved] Wireless Slow in Arch

    I've noticed that my wireless has slowed down.
    I ran a speed test and am recieving download speeds of about 0.7...whereas my housemates are getting around 15-20mb
    I've realised that this has happened each time that ive installed Arch, where suddenly my internet becomes slow.
    I'm using rt2870 drivers for my ew7717un usb.
    My wireless has been working fine beforehand but is slow all of a sudden and i dont remember changing anything. Im using KDE also.
    Please can you help me...and any advice regarding posting logs, extra details etc.
    Last edited by bubblewrapping (2012-01-30 17:13:21)

    Nevermind, for the moment its solved.
    I managed to get it working using Networkmanager...rather than Wicd which i was using.

Maybe you are looking for