Ubuntu 12.04 - gnome-settings-daemon 崩溃以及 fn 键问题

Ubuntu 12.04 - gnome-settings-daemon 崩溃以及 fn 键问题

我知道有很多类似的问题,我已经阅读它们并搜索解决方案两天了,但到目前为止还没有运气。

我有一台三星 NP550P5C 笔记本电脑,刚刚12.04.3在上面安装了 Ubuntu。第一次安装时没有任何问题,所有功能键(如亮度和音量调节)都工作正常。然后我运行了更新,包括内核更新。突然我的Fn按键停止工作,甚至在我重新启动之前。我花了几个小时试图解决这个问题,但没有用。所以我又重新安装了一次。我从某处读到可能是内核更新导致了这个问题,所以这次我没有进行内核更新。这次一切都很好,直到我更新后重新启动,但重新启动后它们再次停止工作。现在只有触摸板启用/禁用和屏幕截图键可以工作。

我尝试安装samsung-toolssamsung-laptop,但什么都没变。此外,当我进入System Settings-> Keyboard->Shortcuts并编辑快捷方式时,它实际上会识别该键,例如,当我按下Fn+时F8,它会显示为“音频提高音量”。

另外,当功能键出现问题时,图形总会有轻微的变化,例如在 Firefox 和 VLC 播放器中,按钮比以前更加尖锐。看起来就像是主题出了问题之类的。

提前致谢

编辑:当我运行它时gnome-settings-daemon,它会返回下面的输出并崩溃。

=== xinerama setup Configuration ===
  Clone: false
  Output: Laptop attached to LVDS-0
     status: on
     width: 1600
     height: 900
     rate: 60
     primary: true
     position: 0 0
  Output: (null) attached to VGA-0
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
  Output: (null) attached to HDMI-0
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
  Output: (null) attached to DisplayPort-0
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
=== Applying Configuration Configuration ===
  Clone: false
  Output: Laptop attached to LVDS-0
     status: on
     width: 1600
     height: 900
     rate: 60
     primary: true
     position: 0 0
  Output: (null) attached to VGA-0
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
  Output: (null) attached to HDMI-0
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
  Output: (null) attached to DisplayPort-0
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1

(gnome-settings-daemon:2955): Gdk-WARNING **: The program 'gnome-settings-daemon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 274 error_code 8 request_code 140 minor_code 30)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

附加命令和输出:

sudo uname -u

Linux yunus-550P5C-550P7C 3.8.0-31-generic #46~precise1-Ubuntu SMP Wed Sep 11 18:21:16 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

sudo lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.3 LTS
Release:        12.04
Codename:       precise

sudo dpkg -l | grep xserver-xorg-video-intel

ii xserver-xorg-video-intel-lts-raring 2:2.21.6-0ubuntu4.1~precise1 X.Org X server -- Intel i8xx, i9xx display driver

cat /etc/X11/default-display-manager

/usr/sbin/lightdm

sudo apt-get install lightdm

Reading package lists... Done
Building dependency tree       
Reading state information... Done
lightdm is already the newest version.
The following packages were automatically installed and are no longer required:
  xbindkeys thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

答案1

第一种方法

尝试重新配置 lightdm(如果它不能解决你的问题,那么去第二方法)

  • 打开终端(CTRL++ ALTT并执行以下命令:

    sudo dpkg-reconfigure lightdm
    
  • lightdm然后从列表中选择。

光
(来源:akamaihd.net

  • 重新启动系统:

    sudo reboot now
    

这可能会解决您的问题。如果没有解决,请按照第二种方法

第二种方法

安装新的显示管理器可以解决您的问题。安装步骤妊娠期糖尿病(显示管理器很像光调制):

  • 打开终端(CTRL++ ALTT并执行以下命令:

    sudo apt-get install gdm
    sudo dpkg-reconfigure lightdm
    

    gdm然后从列表中选择:

孕期
(来源:akamaihd.net

    sudo reboot now
  • 如果仍未修复,请尝试lightdm安装后删除gdm

    sudo apt-get remove --purge lightdm
    sudo reboot
    

希望这些方法能解决您的问题。回复以获取进一步帮助。

相关内容