[Solved] Help needed with getting fonts antialiased.

Greetings.  I'm in the process of installingArch and I must be missing something as fonts just aren't antialiasing.  Any help would be appreciated.  I'm using the Fonts guide on the wiki.  Here's the steps I did:
pacman -Rd libxft
yaourt -S fontconfig-lcd cairo-lcd
pacman -S libxft-lcd
Freetype is installed and I linked what I could to /etc/fonts/conf.d/:
10-autohint.conf 40-nonlatin.conf 65-nonlatin.conf
10-sub-pixel-rgb.conf 45-latin.conf 69-unifont.conf
20-fix-globaladvance.conf 49-sansserif.conf 70-no-bitmaps.conf
20-unhint-small-vera.conf 50-user.conf 80-delicious.conf
29-replace-bitmap-fonts.conf 51-local.conf 90-synthetic.conf
30-metric-aliases.conf 60-latin.conf README
30-urw-aliases.conf 65-fonts-persian.conf
I've tried changing settings in the KDE control center from "System Settings" to Enabled, started a new app.  But no luck.  I've created a basic ~/.fonts.conf that has antialiasing and hinting, logging out and logging in again to no avail.  What got me was that fontconfig didn't install a 10-antialias.conf:
10-autohint.conf 25-unhint-nonlatin.conf 60-latin.conf
10-no-sub-pixel.conf 29-replace-bitmap-fonts.conf 65-fonts-persian.conf
10-sub-pixel-bgr.conf 30-metric-aliases.conf 65-khmer.conf
10-sub-pixel-rgb.conf 30-urw-aliases.conf 65-nonlatin.conf
10-sub-pixel-vbgr.conf 40-nonlatin.conf 69-unifont.conf
10-sub-pixel-vrgb.conf 45-latin.conf 70-no-bitmaps.conf
10-unhinted.conf 49-sansserif.conf 70-yes-bitmaps.conf
20-fix-globaladvance.conf 50-user.conf 80-delicious.conf
20-unhint-small-vera.conf 51-local.conf 90-synthetic.conf
Is this the problem?  Obviously I'm missing a step here.  Any ideas, what do I need to do?
Last edited by Kisha (2009-03-05 01:18:41)

Dallied through the thread and didn't find anything.  No luck thus far.  Looks like this is a system-wide problem as KDM in not antialiasing.  Change to a new ~/.fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
but the problem persists.  Argh, this is tough.  Did I possibly forget something?
Last edited by Kisha (2009-03-05 00:03:19)

Similar Messages

  • [SOLVED] Help needed with ACPI accelerometer - Acer Iconia Tab W501

    Hi,
    I am trying to get the accelerometer working on my Acer Iconia Tab W501
    In windows, it reported as a BMA150 device, so I have that driver loading on boot.
    After months of googling and making a mess in /sys, I still have not got the device working. I was working under the assumption that the device hangs off the i2c bus, but a "lucky google" today uncovered that it is showing up through acpi - acpid is present in my daemons array of rc.conf and the kernel module acer_wmi is also loaded.
    The device is certainly sending signals to the kernel. Upon boot, dmesg ends up as follows:
    [ 11.689709] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 12.108374] EXT4-fs (sda2): re-mounted. Opts: commit=0
    [ 12.148026] EXT4-fs (sda3): re-mounted. Opts: commit=0
    [ 17.759006] FS-Cache: Loaded
    [ 17.780371] FS-Cache: Netfs 'cifs' registered for caching
    [ 17.816097] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
    [ 22.459133] wlan0: no IPv6 routers present
    Now, if I rotate the device, and run dmesg again, I have the following:
    [ 1255.189705] acer_wmi: Unknown function number - 5 - 1
    [ 1257.363688] acer_wmi: Unknown function number - 5 - 1
    [ 1268.268809] acer_wmi: Unknown function number - 5 - 1
    [ 1268.409270] acer_wmi: Unknown function number - 5 - 1
    [ 1308.653700] acer_wmi: Unknown function number - 5 - 1
    [ 1308.784623] acer_wmi: Unknown function number - 5 - 1
    acpi -V does not show the device:
    Battery 0: Full, 100%
    Battery 0: design capacity 2865 mAh, last full capacity 2678 mAh = 93%
    Adapter 0: on-line
    Thermal 0: ok, 59.0 degrees C
    Thermal 0: trip point 0 switches to mode critical at temperature 87.0 degrees C
    Thermal 0: trip point 1 switches to mode passive at temperature 77.0 degrees C
    Cooling 0: LCD 0 of 9
    Cooling 1: Processor 0 of 3
    Cooling 2: Processor 0 of 10
    nor is it configured on boot - dmesg | grep ACPI:
    [ 0.404389] pnp: PnP ACPI init
    [ 0.404443] ACPI: bus type pnp registered
    [ 0.405020] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
    [ 0.405295] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.405829] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.406106] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.406268] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.406514] pnp 00:05: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.406613] pnp 00:06: Plug and Play ACPI device, IDs PNP0800 (active)
    [ 0.406774] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.407104] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.407390] system 00:09: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.408373] pnp: PnP ACPI: found 10 devices
    [ 0.408377] ACPI: ACPI bus type pnp unregistered
    [ 4.684770] ACPI: Power Button [PWRB]
    [ 4.685381] ACPI: acpi_idle registered with cpuidle
    [ 4.686148] ACPI: Lid Switch [LID]
    [ 4.692517] ACPI: Power Button [PWRF]
    [ 4.696710] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
    [ 4.719486] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    [ 4.729977] ACPI: AC Adapter [AC0] (on-line)
    [ 4.746949] ACPI: Battery Slot [BAT0] (battery present)
    [ 4.824909] ACPI: Thermal Zone [THRM] (61 C)
    [ 5.220895] acer_wmi: Acer Laptop ACPI-WMI Extras
    Yet, running acpi_listen generates the following when the tablet is rotated:
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    So, it would seem the device is working and sending data to the kernel/drivers, it appears some config is needed to get it properly recognised and an entry in /dev generated.
    Really hoping there is an acpi expert around who may be able to help me get the device properly recognised and configures, ideally, as a /dev/input/js*
    Cheers.
    Last edited by Padfoot (2012-06-07 00:24:31)

    There is no need to patch the kernel anymore as current kernels have the acer wmi accelerometer patch merged.
    Ensure you have the kernel module acer_wmi loading and then the events should be propogated. acpi_listen should show the events.
    Using the code from here: http://www.jezra.net/blog/Python_Joysti … ng_Gobject i have written a little daemon that monitors the accelerometer and automatically rotates the screen based on it's position.
    Cheers.
    [EDIT] Being a laptop, I am guessing the accelerometer is possibly on the hard drive?? used for shock protection?? So if that is the case, I am not sure you will be able to utilise it in the same way as a tablet's accelerometer. There are articles on the web for setting up hard drive accelerometers in linux. The other consideration you need is that the accelerometer may not be on acpi. It could be on the i2c bus (commonly where sensors such as fan speed, core temps etc are located), in which case you will need the i2c driver to get the accelerometer events recognised in the kernel (ensure i2c kernel modules are loaded). So check exactly how the kernel detects the accelerometer, is it on acpi or the i2c bus?[/EDIT]
    Last edited by Padfoot (2013-03-31 08:42:51)

  • [Solved] help needed with wireless setup (ralink 2860 driver)

    Hi,
    I'm new to Arch so please be gentle ;-)
    I recently upgraded hoping to find improved support for my wireless.  I now find that the kernel recognises and loads the appropriate module:
    [root@akoya ~]# uname -a
    Linux akoya 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686 Pentium(R)
    [root@akoya ~]# lspci | grep Net
    05:00.0 Network controller: RaLink RT2860
    [root@akoya ~]# lsmod | grep 2860
    rt2860sta 514808 1
    I checked over the kernel source and the rt2680sta module is the code from ralink cleaned up for the 2.6.29 kernel.  (I tried building the ralink release but it needs patching for 2.6.29)
    However getting the thing to connect using WPA is another thing altogether
    [root@akoya ~]# ifconfig ra0 up
    [root@akoya ~]# wpa_supplicant -B -Dwext -i ra0 -c /etc/wpa_supplicant.conf
    [root@akoya ~]# dhcpcd ra0
    ra0: dhcpcd 4.0.12 starting
    ra0: waiting for carrier
    ra0: timed out
    I'm not even sure if iwconfig is communicating with this driver (though I can find my router using "iwlist ra0 scan"):
    [root@akoya ~]# iwconfig ra0 essid "sodor"
    [root@akoya ~]# iwconfig
    ra0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
    Mode:Auto Frequency=2.412 GHz Access Point: 00:21:91:FE:DA:97
    And if I try to configure using wicd I see the following log when trying to connect to the wireless:
    2009/04/17 01:16:43 :: Connecting to wireless network sodor
    2009/04/17 01:16:43 :: Putting interface down
    2009/04/17 01:16:43 :: ifconfig ra0 down
    2009/04/17 01:16:43 :: Releasing DHCP leases...
    2009/04/17 01:16:43 :: Setting false IP...
    2009/04/17 01:16:43 :: ifconfig ra0 0.0.0.0
    2009/04/17 01:16:43 :: ifconfig eth0 0.0.0.0
    2009/04/17 01:16:43 :: Stopping wpa_supplicant and any DHCP clients
    2009/04/17 01:16:43 :: killall wpa_supplicant
    2009/04/17 01:16:43 :: Flushing the routing table...
    2009/04/17 01:16:43 :: route del dev ra0
    2009/04/17 01:16:43 :: route del dev eth0
    2009/04/17 01:16:43 :: Attempting to authenticate...
    2009/04/17 01:16:43 :: ['wpa_supplicant', '-B', '-i', 'ra0', '-c', '/var/lib/wicd/configurations/002191feda97', '-D', 'wext']
    2009/04/17 01:16:43 :: Putting interface up...
    2009/04/17 01:16:43 :: ifconfig ra0 up
    2009/04/17 01:16:43 :: iwconfig ra0 mode Managed
    2009/04/17 01:16:43 :: ['iwconfig', 'ra0', 'essid', 'sodor', 'channel', '1', 'ap', '00:21:91:FE:DA:97']
    2009/04/17 01:16:43 :: WPA_CLI RESULT IS None
    2009/04/17 01:16:43 :: Failed to find status in wpa_cli result
    2009/04/17 01:16:43 :: exiting connection thread
    It is driving me crazy being tied to a cable so I'd really like to get this working... but I'm really not sure what to try.  Do I need to rebuild wpa_supplicant?  If so is there a package-based way of doing that in arch?
    Thanks in advance.
    Last edited by drandre (2009-04-17 19:40:41)

    drandre wrote:
    If so is there a package-based way of doing that
    OK... to answer my own questions ...
    two questions:
    1. Does this mean support for the ralink driver is included by default or *not* included by default?
    It seems it means *not*
    2. If I uncomment this line then makepkg refuses to build the package because the config file's md5 is no longer valid.  How then am I *meant* to make modifications to the build configuration?
    right or wrong I used makepkg -g to generate checksums for my modified config file and pasted these into PKGBUILD.  It then builds happily.  After installing I can run wpa_supplicant with no args and confirm ralink is in the list of drivers.  Excellent.  But still no success.
    Two things I have noticed:
    1. wicd places quotes "" around my pre-shared key.  If I run wpa_supplicant from the command line and use the conf file created by wicd it reports the PSK as being unparsable.  If I remove the quotes then the file is parsed correctly.
    2. It doesn't solve my problem :-(

  • Help Needed with getting Started With Office 365 Development C# Rest API

    We have a O365 Tenant Setup with a Federated Active Directory Setip we want to be able to right code that will connect to our tenant and perform basic CRUD operations against it (ex. Creating mail boxes)
    The problem is we want this to be contained in a CLR trigger In SQL so say if a new user is added to our user table then we would create a new AD account for that user and also create a mailbox.
    But I cannot find and example on how to connect to Office 365 using the REST API (Not the SDK because you can not add the connected service to a class library) and before the required actions that we need to do. All the example I have found are with the
    SDK API and/or require window 8 and that is also not an option.
    Please help I do not know where to start, and I would love to see some examples done in c# and not using the SDK.
    Thanks,
    Andrew Day

    Hi,
    >> Instead of SharePoint URLs I would use the O365 API URL?
    Yes, in my sample code, I was accessing the File resource by using the O365 File API. In your case, you need to acquire the token to access the Mail resource and use O365 Mail API.
    By the way, I think the article
    Understand Office 365 app authentication concepts will help you to understand the authentication process in Office 365 Development.
    >> Why can I not use the SDK API with a class Library?
    Actually, you are able to reference the Office 365 .NET SDK in the class Library. But the class library project type was not supported by Visual Studio Office 365 Development Tool. As a workaround,
    you can reference the SDK manually in your project.
    Since your original question is about “getting started with Office 365 Development C# Rest API”, if you have more questions about the Office 365 SDK, I will suggest you posting a new thread
    to discuss the Office 365 SDK. It will involve more other community members to share their ideas and experience on a specific a question and for others who had a similar question could also find the valuable information quickly.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [SOLVED] Help needed with iptables rule with unusual setup

    Hi I recently setup hostapd on my netbook so I could share a wireless network with my phone and I'm having trouble because my netbook is also hosting a Jetty sever (Subsonic media streamer).
    My setup is as follows
    [CABLE MODEM]===[WIRED ROUTER]=====[NETBOOK] ))))) [PHONE]
    The wired router provides the DHCP server.
    On my netbook I created a (br0) bridge between eth0 and wlan0 and started hostapd. That all works fine when I'm not trying to host my Jetty server on my netbook.
    The netbook has the IP 192.168.0.8
    The phone has the IP 192.168.0.6
    I do not want to give the Jetty server root permissions just so it can run on port 80. So instead I start it instead on port 4040 and then use a iptables rule to redirect connections to port 80 to port 4040.
    Before I setup hostapd on machine I used to use the following.
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 4040
    However when I'm using hostapd and try to access websites on my phone its web browser is ALWAYS REDIRECTED to my jetty server. I'm not really surprised at this as the rule I mentioned above is for any destination or any source.
    I tried this rule:
    iptables -t nat -A PREROUTING -d localhost -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This didn't work. On my phone I could access websites as expected but nobody (tried external from network and internally) could access the jetty server on port 80. Does anyone know why this rule doesn't work?
    I tried this rule:
    iptables -t nat -A PREROUTING \! -s 192.168.0.6 -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This rule worked (Redirect port 4040 connections to port 80 if the connection isn't from my phone). But this is NOT very good at all as it means I would need a separate rule for every wireless device that connected to my netbook (via hostapd). Also if the IP address of my phone ever changes this rule becomes useless too!
    Does anyone have any ideas?
    Any help would be greatly appreciated.
    Thanks.
    Last edited by delcypher (2010-07-24 20:17:35)

    Well looks like I fixed my own problem.
    I added a LOG target in the PREROUTING chain like so
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j LOG --log-prefix 'cheesy-redirect'
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 80
    When I looked at /var/logs/everything I noticed this.
    dan-netbook kernel: cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:26:18:73:ea:28:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.3 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=51411 DF PROTO=TCP SPT=48219 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    The destination is 192.168.0.3 ! Which is very very weird. This the IP address I had told my router to give my eth0 card in the past when I wasn't using a network bridge (br0). I was connected to the network using 192.168.0.8 on br0. The eth0 interface wasn't assigned an IP address.
    192.168.0.3 was also the IP address I setup for static port forwarding (which I forgot about) so when I accessed my jetty server from outside my network all packets would of been forwarded to 192.168.0.3
    I should never of received those packets as I was 192.168.0.8 not 192.168.0.3 at the time of logging so how I even received these packets is a mystery to me. Maybe the router software is buggy
    Fixing was pretty straight forward I changed the port forward to go to 192.168.0.8 and then tried connecting to the jetty server externally and noted in the log
    cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:25:d3:46:4d:0d:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.8 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=65326 DF PROTO=TCP SPT=33597 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    So the correct redirect rule is
    iptables -t nat -A PREROUTING -p tcp --dport 80 -d 192.168.0.8 -j REDIRECT --to-ports 80
    which works nicely
    One last question though. Does anyone know how I can use a hostname rather than 192.168.0.8 which points to whatever the IP address of br0 is set to? localhost points to 127.0.0.1 so that doesn't work.

  • Help needed with getting Audio signal through to Mac Book Pro (using Logic 9 & Behringer Xenyx 1204USB mixer)

    Ok so I am sure I have everything set up correctly,
    Logic has recognised and is using the mixer, I have sound coming through the headphones when I put in a drum sample onto audio track, no signal going in from audio using the first channel. Audio channel is set up with correct inputs & outputs. USB setting used on mixer......phantom tried on and off with the condenser mic I am using.....still no luck not even changing from mi to guitar. No signal when recording audio...... AAAHHH HELP! Racking my brains!
    Thank you in advance

    Kudos to figuring it out yourself.
    Yes, Logic is geared to the professional user, you will need to set up the program to your particular way of working, Logic was well developed for professional use long before Apple purchased it, it's not an Apple program per se. It's complex and offers a myriad number of choices so that it can be configured to many styles of working, there's often 3 or 4 ways to perform the same function.
    Logic insists the user educate themselves... which is a good thing.
    Here ya go! 
    http://documentation.apple.com/en/logicpro/
    "Exploring Logic Pro" is a good one to start with.
    Also in the main manual... "Setting Up Your System"

  • Actionscript help needed with getting Next Page to work

    I just have a simple question (hopefully).
    Question is:
    I have a web page that displays a flash file that zooms and
    pans, but I cant get the Next Page link to display. (will also want
    1st, last and previous page)
    1. Can the next page work and load the next or previous
    numbered file?
    2. Does it have to have all pages in one file, then it calls
    the next frame?
    Snippet below, or I can e-mail example files.
    Please help, Thank you, Mike
    ============SNIPPET==========
    <!--[if IE]>
    <object id="movie" type="application/x-shockwave-flash"
    width="300" height="500">
    <param name="movie" value="1.swf">
    </object>
    <![endif]--><!--[if !IE]> <-->
    <embed name="movie" type="application/x-shockwave-flash"
    src="1.swf" width="300" height="500">
    </embed>
    <!--> <![endif]-->
    <form name="f" onsubmit="return false;">
    <button name="button" onclick="next()">Next
    Page</button>
    <button onclick="zoom()">Zoom In</button>
    <button onclick="zoom2()">Zoom Out</button>
    <button onclick="pan()">Pan</button>
    <button onclick="setzoomrect()">Rect</button>
    </form>
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    flash.Zoom(50);

    Use the same method you are currently using. The Zoom and Pan
    methods just happen to be exposed to the ActiveX control and
    Plug-in. So to use the the GotoFrame() method for example, just
    change your code from:
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    flash.nextpage();
    To this:
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    flash.GotoFrame(20); // This will jump to frame 19 of your
    main timeline.
    It goes to frame 19 because the method you are using is
    zero-based. Meaning to get to the first frame of your movie you
    would pass the number zero.
    To use the TCallLabel() method it would look like this:
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    // to target the main timeline, use
    flash.TCallLabel("/", "labelName");
    // to target a movieclip on the main timeline use:
    flash.TCallLabel("/MovieClip", "lableName");
    Also, just so you know. These methods are getting antiquated.
    To keep up with the current versions and methods of communicating
    between JS and Flash you should really look into the
    ExternalInterface class in Flash 8.
    Tim

  • [SOLVED] help needed with active window script

    I am trying to receive the current window from a script. it works fine, but when no window is open i get an error.
    i am using this command:
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    error message is "Invalid Window id format: 0x0"
    I tried working around this by using this script:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    title_root () {
    title_window | grep 0x0
    if [[ -z title_root ]]
    then
    title_window
    else
    echo "Desktop"
    fi
    But now it shows "Desktop" for every window.
    Last edited by Rasi (2013-01-22 11:59:46)

    solved.
    solution:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev 2>&1
    title_root () {
    title_window |& grep -q 0x0
    if title_root;
    then
    echo "Desktop"
    else
    title_window
    fi

  • [SOLVED] Help needed with suspend2ram with acpid lid script

    Hello
    I'm hoping someone can help with this, I'm obviously configuing something incorrectly.
    I wish to have my machine suspend to ram upon closing the lid, which I've managed to acomplish with pm-utils and acpid.
    Here's my lm-lid.sh from /etc/acpi/actions:
    #! /bin/sh
    # lid button pressed/released event handler
    #/usr/sbin/laptop_mode auto
    /usr/sbin/pm-suspend
    As you can see; I have commented out the penultimate line, this is what was present in the file as default, this didn't cause the machine to do anything, so I added the bottom line to call pm-suspend.
    My machine suspends fine, however, upon waking again, it resumes for about 3 seconds, then suspends again... after which it wakes up fine.
    So esentially I have to wake it up twice.
    I'm sure it's probably something stupid I'm doing, I'd just appreciate any words on this that may help!
    Last edited by Starfall (2012-06-23 23:31:00)

    LoBo3268715 wrote:
    Hi Starfall, I'm no expert here but what does your /etc/acpi/handler.sh look like? I never had to add "/usr/sbin/pm-suspend" to my lm_lid.sh
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
    maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PBTN|PWRF)
    logger "PowerButton pressed: $2"
    poweroff
    logger "ACPI action undefined: $2"
    esac
    button/sleep)
    case "$2" in
    SLPB|SBTN)
    echo -n mem >/sys/power/state
    logger "ACPI action undefined: $2"
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    echo -n $minspeed >$setspeed
    #/etc/laptop-mode/laptop-mode start
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    logger "ACPI action undefined: $2"
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000)
    logger 'Battery online'
    00000001)
    logger 'Battery offline'
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    logger 'LID closed'
    /usr/sbin/pm-suspend <<<<<<<<<<<<<<<<<<<<<< I put it here
    open)
    logger 'LID opened'
    logger "ACPI action undefined: $3"
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    # vim:set ts=4 sw=4 ft=sh et:
    Awesome! It works perfectly!
    Thanks very much LoBo3268715!

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • Help needed with Vista 64 Ultimate

    "Help needed with Vista 64 UltimateI I need some help in getting XFI Dolby digital to work
    Okay so i went out and I bought a yamaha 630BL reciever, a digital coaxial s/pdif, and a 3.5mm phono plug to fit perfectly to my XFI Extreme Music
    -The audio plays fine and reports as a PCM stream when I play it normally, but I can't get dolby digital or DTS to enable for some reason eventhough I bought the DDL & DTS Connect Pack for $4.72
    When I click dolby digital li've in DDL it jumps back up to off and has this [The operation was unsuccessful. Please try again or reinstall the application].
    Message Edited by Fuzion64 on 03-06-2009 05:33 AMS/PDIF I/O was enabled under speakers in control panel/sound, but S/PDIF Out function was totally disabled
    once I set this to enabled Dolby and DTS went acti've.
    I also have a question on 5. and Vista 64
    -When I game I normally use headphones in game mode or 2. with my headphones, the reason for this is if I set it on 5. I get sounds coming out of all of the wrong channels.
    Now when I watch movies or listen to music I switch to 5. sound in entertainment mode, but to make this work properly I have to open CMSS-3D. I then change it from xpand to stereo and put the slider at even center for 50%. If I use the default xpand mode the audio is way off coming out of all of the wrong channels.
    How do I make 5. render properly on vista

    We ended up getting iTunes cleanly uninstalled and were able to re-install without issue.  All is now mostly well.
    Peace...

  • Help needed with itunes

    help needed with itunes please tryed to move my itunes libary to my external hard drive itunes move ok and runs fin but i have none of my music or apps or anything all my stuff is in the itunes folder on my external hard drive but there is nothing on ituns how do i get it back help,please

    (Make sure the Music (top left) library is selected before beginning this.)
    If you have bad song links in your library, hilite them and hit the delete button. Then locate the folder(s) where your music is located and drag and drop into the large library window in iTunes ( where your tracks show up). This will force the tunes into iTunes. Before you start, check your preferences in iTunes specifically under the"Advanced" tab, general settings. I prefer that the 1st 2 boxes are unchecked. (Keep iTunes Music folder organized & Copy files to iTunes Music folder when adding to library). They are designed to let iTunes manage your library. I prefer to manage it myself. Suit yourself. If there is a way for iTunes to restore broken links other than locating one song at a time I haven't found it yet. (I wish Apple would fix this, as I have used that feature in other apps.) This is the way I do it and I have approx. 25,000 songs and podcasts and videos at present. Hope this helps.

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with Elements 5.0

    Trying to Edit photos.  Click on Edit icon and I get the Message " Attempt to Access invalid address".  Click OK get message "Unable to connect to editor application.
    What is the problem?   I have unenstalled to program and reinstalled, I have tried repairing from CD.  Nothing works.  Please help.

    I have the disc and re-installed a couple of time. No positive result. PSE 09 which I bought thereafter is giving a lot of problems also!!!
    Date: Wed, 8 Jun 2011 10:31:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with Elements 5.0
    Doesn't really help either of us very much but I'm also having the same problem with Elements 5. I downloaded the program so I don't have disks to reinstall. And it seems from the other reply that Adobe has given up with the "old program," which incidentally was working fine until two days ago. Maybe I'll have to think about PSE9!
    >

  • Help needed with BBDM 5.0.1 IP Modem

    Hi I was happily connecting thru the Net via the IP Modem in BBDM ver 5.0.1 all this while. Only this happened yesterday. Accidentally during the connection, my 9500 was disconnected from the USB cable. From that moment on, I cannot access the Net using the IP Modem feature. Tried to reboot the laptop as well as the 9500 but now all I get is the connecting message and then a pop up saying there is a hardware failure in the connecting device (or modem) ie the BB 9500.
    I even uninstalled BBDM 5.0.1 and reinstalled ver 5.0 and also updated back to 5.0.1 - same story. I can still access the Net via the BB browser etc
    Advise please thanks in advance

    I have the disc and re-installed a couple of time. No positive result. PSE 09 which I bought thereafter is giving a lot of problems also!!!
    Date: Wed, 8 Jun 2011 10:31:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with Elements 5.0
    Doesn't really help either of us very much but I'm also having the same problem with Elements 5. I downloaded the program so I don't have disks to reinstall. And it seems from the other reply that Adobe has given up with the "old program," which incidentally was working fine until two days ago. Maybe I'll have to think about PSE9!
    >

Maybe you are looking for

  • NAC Guest Server, How to change the password for a single user?

    We have a NAC Guest Server which creates a complex password for all new users created. We would like to have normal/simple password for a single user. How can I get this done on a NAC Guest Server. Thanks in advance.

  • Why are some of the thumbnails differnt sizes?

    Suddenly noticed that the thumbnails in Pages are two different sizes -- there seems to be no consistency about why some are larger and some are smaller. any ideas?  And does this impact anything in terms of printing, etc.?

  • Unable to delete update rule

    Hello All,          When iam deleting an update rule it is not getting deleted and iam getting message saying underlying infosource does not exists .The underlying infosource is deleted long before any way how come deleting update rule depends on inf

  • Unable to confirm process orders

    Hi, I am getting an error - No open operations requiring confirmations exist for the order. In the control key, I have selected 2 (confirmation required) in the confirmations indicator. In the confirmation parameters, I have + confirmable operations

  • DSLR + lens for the beginning

    Hi guys,  I like photography and feel I am ready for my first DSLR (I used only Point-an-shoot cameras before). Read a lot of reviews and discussions but things are still not clear for me which camera and lens to get. My budget is around $1500. I am