虚拟机linux有黑边,ubuntu 14.04 窗口四周出现很大的黑边

0818b9ca8b590ca3270a3433284dd417.png

http://askubuntu.com/questions/360598/13-10-black-borders-black-terminal

https://wiki.ubuntu.com/Mir/Installing

Removing the system-compositor-testing PPA

Should you have been using the system-compositor-testing PPA you will have to remove the PPA and it's content from your system prior to installing XMir from archive.

$> sudo apt-get update

$> sudo apt-get install ppa-purge

$> sudo ppa-purge ppa:mir-team/system-compositor-testing

$> sudo rm /etc/apt/preferences.d/50-pin-mir.pref

Then, follow "Installing from Archive".

Installing from Archive

Prior to landing Mir and related packages in the Ubuntu archive, we offered XMir via the system-compositor-testing ppa (ppa:mir-team/system-compositor-testing). As of August 9, 2013 XMir can be installed directly from archive via

$> sudo apt-get update

$> sudo apt-get dist-upgrade

$> sudo apt-get install unity-system-compositor

$> sudo apt-get install ubuntu-desktop-mir

$> sudo restart lightdm

Verifying that unity-system-compositor is running

You can check in 3 ways whether unity-system-compositor is running:

$> ps aux | grep unity-system-compositor

$> grep -i xmir /var/log/Xorg.0.log

$> ls -l /var/log/lightdm/unity-system-compositor.log

Removing unity-system-compositor

Temporarily

If you want to temporarily switch back to using X.org on your system, run following commands:

$> sudo vi  /usr/share/lightdm/lightdm.conf.d/10-unity-system-compositor.conf

and add a comment to the second line:

[SeatDefaults]

#type=unity;xlocal

and restart lightdm

$> sudo restart lightdm

If you want to enable XMir back again, you simply remove the comment:

[SeatDefaults]

type=unity;xlocal

and restart lightdm

$> sudo restart lightdm

Permanently

In order to remove unity-system-compositor permanently from your system, run following command:

$> sudo apt-get remove unity-system-compositor

$> sudo restart lightdm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值