小编the*_*uri的帖子

挂起后 Ubuntu 14.04 恢复错误

我最近在我的双启动(Windows 7)东芝卫星笔记本电脑中将我的 Ubuntu 从 12.04 更新到 14.04。更新后,只要笔记本电脑暂停一段时间,就无法恢复。当我尝试恢复笔记本电脑时,通过从 Grub 加载程序中选择 Ubuntu,登录屏幕会出现片刻变黑并继续来回几次,最终返回“暂停”。我必须硬启动系统才能进入 Ubuntu。下面我附上了崩溃报告的前几行:

ProblemType: KernelOops
Annotation: This occured during a previous hibernate and prevented it from resuming properly.
Architecture: i386
Date: Wed Apr 30 10:57:56 2014
DistroRelease: Ubuntu 14.04
ExecutablePath: /usr/share/apport/apportcheckresume
ExecutableTimestamp: 1397576330
Failure: hibernate/resume
InterpreterPath: /usr/bin/python3.4
Package: linux-image-3.13.0-24-generic
ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
ProcCwd: /
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
.....
Run Code Online (Sandbox Code Playgroud)

suspend toshiba-satellite

16
推荐指数
2
解决办法
3万
查看次数

根据 16.04 LTS 上的电源更新亮度级别

我最近在东芝 L645 笔记本电脑上从 32 位 14.04 LTS 迁移到 64 位 16.04 LTS。在 14.04 LTS 系统中,我有一个脚本可以根据电源自动更新亮度级别。不幸的是,在覆盖系统之前我没有保存该脚本。目前,我正在使用以下脚本

#!/usr/bin/env bash
#
###########################################################
# Author: Serg Kolo , contact: 1047481448@qq.com 
# Date: February 26 2016 
# Purpose: Brightness control that polls for
#          ac adapter presence. Uses
# Dependencies: on_ac_power script, dbus, Unity/Gnome 
# Written for: http://askubuntu.com/q/739617/295286
# Tested on: Ubuntu 14.04 LTS
###########################################################
# Copyright: Serg Kolo , 2016
#    
#     Permission to use, copy, modify, and distribute this software is hereby granted …
Run Code Online (Sandbox Code Playgroud)

battery bash scripts brightness 16.04

7
推荐指数
1
解决办法
1406
查看次数

“清除孤立的 inode”和休眠恢复时丢失的状态

我安装了一个新的 16.04 LTS。我遇到了一些 Wifi 小程序显示错误(从挂起恢复后)和休眠恢复的问题。我使用此处显示的方法在菜单上启用了休眠。现在休眠恢复不会间歇性地工作。有时它工作正常,有时它会在简历上显示文本,上面写着“清除孤立的 inode”,系统只是重新启动,没有先前的内存状态。

这是一些信息:

$ sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="50921EE4921ECE7A" TYPE="ntfs" PARTUUID="dda192f8-01"
/dev/sda2: LABEL="Primary Disk" UUID="765E305F5E3019F7" TYPE="ntfs" PARTUUID="dda192f8-02"
/dev/sda3: LABEL="Secondary Disk" UUID="E2D42C6AD42C42E1" TYPE="ntfs" PARTUUID="dda192f8-03"
/dev/sda5: UUID="dbaad068-46da-4637-9c45-5c32c20d3cfe" TYPE="swsuspend" PARTUUID="dda192f8-05"
/dev/sda6: UUID="31385b29-f351-4a10-9dcf-c92efd58334b" TYPE="swap" PARTUUID="dda192f8-06"
/dev/sda7: UUID="1f734f56-7328-4029-88a0-fa995426d4d2" TYPE="ext4" PARTUUID="dda192f8-07"

$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=31385b29-f351-4a10-9dcf-c92efd58334b
Run Code Online (Sandbox Code Playgroud)

suspend hibernate power-management 16.04

6
推荐指数
1
解决办法
2万
查看次数