小编sla*_*ack的帖子

什么可能会阻止 xrandr 屏幕之间的鼠标移动?

我已按照此HowTo 中概述的步骤进行操作。

在我登录到 Gnome 后,我可以来回移动鼠标,但是一旦任务栏加载,鼠标就会在其所在的屏幕中被监禁(无法在屏幕之间移动)。

这是我的 xorg.conf:

 Section "ServerLayout"
            Identifier     "Layout0"
            Screen      0  "DisplayLinkScreen" 0 0
            Screen   1  "Screen0" LeftOf "DisplayLinkScreen"
            InputDevice    "Keyboard0" "CoreKeyboard"
            InputDevice    "Mouse0" "CorePointer"
            Option     "Xinerama" "0" #Could not get this to work it has to be disable
EndSection

Section "Files"
 ModulePath   "/usr/local/lib/xorg/modules/drivers"
 ModulePath      "/usr/lib/xorg/modules/drivers"
 ModulePath      "/usr/local/lib"

 ModulePath   "/usr/lib/xorg/modules"
 FontPath     "/usr/share/fonts/X11/misc"
 FontPath     "/usr/share/fonts/X11/cyrillic"
 FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
 FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
 FontPath     "/usr/share/fonts/X11/Type1"
 FontPath     "/usr/share/fonts/X11/100dpi"
 FontPath     "/usr/share/fonts/X11/75dpi"
 FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath     "built-ins"
EndSection

Section "Module"
 Load  "dbe"
 Load  "dri"
 Load …
Run Code Online (Sandbox Code Playgroud)

xrandr displaylink mouse 10.04

10
推荐指数
1
解决办法
1723
查看次数

如何修复内核被删除的系统?

因为我想在我的硬盘上获得更多可用空间,所以我删除了旧内核(不要问我为什么这么生气。)。我也不小心删除了活动内核(Ubuntu 12.04 上的 3.2.0-27)。

首先我无法启动。我通过实时系统安装了内核 3.2.0-23 和 3.2.0-27(请参阅此处)。

现在,当我现在启动系统时,我只得到以下几行:

mountall: Event failed
fsck from util-linux 2.20.1
/dev/sda1: clean, 832254/40099840 files, 21092083/160394239 blocks
 * Stopping Flush boot log to disk
 * Stopping Enabling additional executable binary formats
 * Starting bluetooth daemon
Run Code Online (Sandbox Code Playgroud)

其他电脑规格:

  • 英特尔 i5 2500K 4x 3.3 GHz
  • 8 GB 内存
  • /dev/sda1 是 Ubuntu,大约 1400GB
  • 索泰英伟达 GTX 560
  • 华擎 Z68 Pro3

先感谢您!

编辑:在这里您可以从 /var/log 中找到一些日志文件:kern.log boot.log

startup boot kernel

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

update-initramfs 卡住了

今天我想在 Ubuntu 12.10 中安装 virtualbox (4.2) 并去了软件中心。单击 USC virtualbox 中的“安装”按钮后,正在下载和安装。我等了五分钟多但什么也没发生,进度条也没有变化。等待大约一小时后,我关闭了 USC 并重新启动了 PC。

现在我遇到的问题是,每当我想通过安装软件时,sudo apt-get install <software>都会出现以下错误:

quantal@Flubuntu:~$ sudo apt-get install <whatever-package>
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Run Code Online (Sandbox Code Playgroud)

在终端 ( sudo killall dpkg) 中杀死 dpkg或重新启动后,我收到下一个错误:

quantal@Flubuntu:~$ sudo apt-get install <whatever-package>
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct
Run Code Online (Sandbox Code Playgroud)

当我尝试执行sudo dpkg --configure …

virtualbox kernel initramfs

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

标签 统计

kernel ×2

10.04 ×1

boot ×1

displaylink ×1

initramfs ×1

mouse ×1

startup ×1

virtualbox ×1

xrandr ×1