Results 1 to 8 of 8

Thread: xfce4-session segfault, suspend and hibernate not working

  1. #1
    Join Date
    Feb 2013
    Beans
    42

    xfce4-session segfault, suspend and hibernate not working

    Hello everyone! I am experiencing some critical bugs during a critical time (finals week) and could really appreciate some life-saving help. I have posted about it at https://bugzilla.xfce.org/show_bug.cgi?id=10068, but have yet to receive a response from a xfce developer.
    Last edited by cariboo907; May 10th, 2013 at 08:02 PM. Reason: normalize font to comply with forum C of C

  2. #2
    Join Date
    Feb 2013
    Beans
    42

    Re: xfce4-session segfault, suspend and hibernate not working

    I just added some important information to the bug report. Please check it out if you can. Photo also available here at tinypic.com/view.php?pic=2lp4iu&s=5 if more convenient.
    Last edited by cariboo907; May 10th, 2013 at 08:03 PM. Reason: normalize font to comply with forum C of C

  3. #3
    Join Date
    Feb 2013
    Beans
    42

    Re: xfce4-session segfault, suspend and hibernate not working

    The xfce-session segfault was due to xfce bug #9709:

    http://git.xfce.org/xfce/xfce4-session/commit/?id=ab391138cacc62ab184a338e237c4430356b41f9
    .

    There is a patch which fixed it for me:

    http://git.xfce.org/xfce/xfce4-session/commit/?id=ab391138cacc62ab184a338e237c4430356b41f9
    .

    Suspend and hibernate are still not working from action button item on my xfce panel. I also tried to run the command `pmi action suspend` and received the following:


    Sorry, command-not-found has crashed! Please file a bug report at:
    https://bugs.launchpad.net/command-not-found/+filebug
    Please include the following information with the report:


    command-not-found version: 0.3
    Python version: 3.3.1 final 0
    Distributor ID: Ubuntu
    Description: Ubuntu Saucy Salamander (development branch)
    Release: 13.10
    Codename: saucy
    Exception information:


    unsupported locale setting
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
    callback()
    File "/usr/lib/command-not-found", line 69, in main
    enable_i18n()
    File "/usr/lib/command-not-found", line 40, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
    File "/usr/lib/python3.3/locale.py", line 541, in setlocale
    return _setlocale(category, locale)
    locale.Error: unsupported locale setting

  4. #4
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,657
    Distro
    Ubuntu Development Release

    Re: xfce4-session segfault, suspend and hibernate not working

    As your using Saucy: thread moved to Ubuntu +1.

    You're taking a gamble using Saucy during your finals week.

    EDIT:

    pmi is not installed by default.

    Code:
    matthew-S206:/home/matthew/thunar_dbus % bash
    matthew@matthew-S206:~/thunar_dbus$ pmi
    The program 'pmi' is currently not installed. You can install it by typing:
    sudo apt-get install powermanagement-interface
    matthew@matthew-S206:~/thunar_dbus$ exit
    exit
    matthew-S206:/home/matthew/thunar_dbus %
    Looks like you may have a locale problem as well.

    locale.Error: unsupported locale setting
    Last edited by matt_symes; May 10th, 2013 at 12:35 AM.
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  5. #5
    Join Date
    Feb 2013
    Beans
    42

    Re: xfce4-session segfault, suspend and hibernate not working

    Quote Originally Posted by matt_symes View Post
    You're taking a gamble using Saucy during your finals week.
    I know I meant to upgrade to Raring but skipped that Ubuntu altogether and now can't downgrade without a clean reinstall.

    Quote Originally Posted by matt_symes View Post
    Looks like you may have a locale problem as well.
    Don't locale settings just manage language settings and package installation? Could this be a Saucy bug.

  6. #6
    Join Date
    Feb 2013
    Beans
    42

    Re: xfce4-session segfault, suspend and hibernate not working

    Thought I should add that my laptop does suspend when I close the lid.

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: xfce4-session segfault, suspend and hibernate not working

    Quote Originally Posted by fowlslegs View Post
    Don't locale settings just manage language settings and package installation?
    Locales customize programs to your language and country. When you installed Ubuntu, you answered some simple questions such as specifying your country and language. Ubuntu used the answers to those questions, in part, to choose a suitable locale for your installation.

  8. #8
    Join Date
    Feb 2013
    Beans
    42

    Re: xfce4-session segfault, suspend and hibernate not working

    Solved locale problem by editing
    Code:
    /etc/default/locale
    . The problem was xfce4-power-manager wasn't able to launch because of incomplete locale settings. Strange that Ubuntu changed this file itself during upgrade as I never touched it.

    Before

    Code:
    LANG="en_US.UTF-8"
    After:

    Code:
    LANG="en_US.UTF-8"
    LANGUAGE="en_US:en"
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE=en_US.UTF-8
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES=en_US.UTF-8
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •