我启动了Windows并调整了Windows分区,所以我有100GB的空闲空间。
(如果需要:在这里您可以找到带有屏幕截图的详细说明,完成后回到这里并继续第4步)
它配备了一个在电源按钮旁边的小按钮,用于启用BIOS编辑和引导顺序... 当您按下它时,计算机将以配置菜单启动。然后,您需要编辑BIOS以取消安全的UEFI模式。
选择"Legacy Boot"
要启动Ubuntu,您必须在quiet
参数之前编辑grub的启动行,添加:acpi_backlight=vendor
。
(我使用UNetbootin创建的USB闪存驱动器进行安装。在UNetbootin启动菜单中按下[TAB]键以编辑选项并将该参数添加到启动行中。)
从USB(或外部光驱)启动Ubuntu并选择"试用Ubuntu"
当从USB启动Ubuntu时,打开控制台使用sudo rmmod ideapad_laptop
来启用WiFi。然后连接到一个WiFi网络并安装Ubuntu
重新启动后一切正常(无需进一步调整grub)。唯一剩下的问题是,到目前为止我每次系统启动都需要启用WiFi。
sudo rmmod ideapad_laptop
sudo service network-manager restart
sudo su
echo '#added to enable WiFi on Yoga 2 Pro'>>/etc/modprobe.d/blacklist.conf
echo 'blacklist ideapad_laptop'>>/etc/modprobe.d/blacklist.conf
现在在Ubuntu 14.04上使用Unity一切都正常。而且,Ubuntu似乎更适合触摸屏。我只需要在“系统设置”-“显示”-“菜单和标题栏的缩放”中将屏幕DPI调整到2.0即可 + 设置截图
如果您使用Pidgin,请查看如何将Ubuntu适配到高DPI分辨率屏幕
请按照以下指示进行操作:
将Firefox和Thunderbird调整为高DPI触摸屏显示(retina)
/usr/share/X11/xorg.conf.d/50-synaptics.conf
并编辑“touchpad catchall”部分,使其如下所示:Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
Option "FingerLow" "46"
Option "FingerHigh" "46"
Option "ClickFinger1" "1"
Option "ClickFinger2" "2"
Option "ClickFinger3" "3"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "AreaBottomEdge" "85%"
Option "SoftButtonAreas" "60% 0 85% 0 40% 60% 85% 0" # Btn2 LRTB - Btn3 LRTB
Option "EmulateMidButtonTime" "75"
EndSection
(来源: http://memobadz.wordpress.com/2014/02/16/lenovo-yoga-pro-2-on-ubuntu/ )
由于屏幕在您旋转笔记本电脑时不会转动,请创建脚本/usr/local/bin/rotate-screen.sh
来自rotate-screen.sh
/usr/local/bin/rotate-screen.sh
/usr/local/bin/rotate-screen.sh -n
能够从启动器手动转动屏幕 添加一个类似这里描述的.desktop
文件
注意:现在似乎由新内核解决了一个问题 Lenovo Yoga 2 Ubuntu 14.04 偶尔出现空白屏幕
sudo dpkg-reconfigure console-setup
sudo apt-get install xbacklight
xbacklight -set 50
为了启用所有可能的省电设置,安装powertop
。apt-get install powertop
使用sudo gedit /etc/rc.local
编辑您的rc.local启动脚本,使其最后部分如下:
# By default this script does nothing.
#####################################################
# tune all power save settings to >good<
powertop --auto-tune
# all power save settings are fine but the one for the touchpad
# disable powertop >good<-setting for touchpad
echo 'on' > '/sys/bus/usb/devices/2-7/power/control'
#####################################################
# optional disable bluetooth and wifi on each start
# this can always be re-enabled in the top appletts if you need it
# disable bluetooth at start: (uncomment the following line)
#rfkill block bluetooth
# disable wifi at start: (uncomment both following lines)
#sed s/^WirelessEnabled=true/WirelessEnabled=false/ -i /var/lib/NetworkManager/NetworkManager.state
#rfkill block wifi
exit 0
sudo su
echo "options iwlwifi 11n_disable=1" >> /etc/modprobe.d/iwlwifi.conf
(更改后需要重新启动)
但我仍在调查中...
gsettings set org.gnome.settings-daemon.plugins.power button-power 'suspend'
将电源按钮选项设置为“挂起”我买了一个“HooToo HT-UE01 USB 3.0 HUB 3-Port with RJ45 10/100/1000 Gigabit Ethernet LAN”,在我的Yoga 2 Pro上测试良好(在Ubuntu 32位上测试)
grub-efi
来解决了无线问题,请参考http://superuser.com/a/867538/160420。 - rubo77quiet
参数之前编辑grub的引导行,添加:acpi_backlight=vendor
。/etc/default/grub
文件中,你需要在第11行左右添加相同的ACPI配置:GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor quiet splash"
sudo update-grub2
。cp /run/resolvconf/resolv.conf /etc/
/etc/resolv.conf
。请参考http://askubuntu.com/questions/239169/how-to-edit-etc-resolv-conf-on-ubuntu-12-04。 - guntbertsudo rmmod ideapad_laptop
ideapad_laptop
添加到黑名单中来使其持久化,但这可能会导致某些兼容性问题(尽管我还没有遇到这些问题)。ideapad_laptop
是什么,为什么它会阻碍进展? - Amandasudo nano /etc/default/grub
layout.css.devPixelsPerPx
是什么作用?也许Firefox插件NoSquint和Fix for zoomed default-font可以解决你的问题。 - rubo77我刚刚安装了Kubuntu 13.10 32位(也尝试过64位,但会出现内核恐慌!),以下是我安装Kubuntu所需执行的步骤:
1. 我启动了Windows并调整了Windows分区,所以有了100GB的空闲空间。 (如果您计划连接高分辨率显示器,在Windows上安装PowerStrip以使显示器正常运行,并获取正确的Linux模型参数。)quiet
参数之前编辑grub的引导行,添加:acpi_backlight=vendor
(我使用UNetbootin创建的USB驱动器进行安装。在UNetbootin启动菜单中按下[TAB]键以编辑选项,并在引导行中添加该参数。)sudo rmmod ideapad_laptop
命令启用WiFi
(为了在安装过程中更方便操作,请将触摸板的速度调慢一些:设置->"输入设备"->将"光标运动"->"加速系数"设置为0.02,并在设置->"外观"->"字体"中将字体dpi设置为250 dpi)。
然后我选择了"安装KDE"。
在分区菜单中,我选择手动分区并创建了两个分区:
- 100 MB用于引导所需的特殊分区(不是/boot分区,而是一些特殊类型:"biosgrub"称为"保留BIOS引导区")
- 100GB用于根目录/
,使用ext4文件系统
- 由于有8GB的RAM,不需要交换分区(但如果需要,稍后可以添加交换文件)sudo rmmod ideapad_laptop
命令启用WiFi,因此我将其添加到modprobe黑名单中:
sudo su
echo '#added to enable WiFi on Yoga 2 Pro'>>/etc/modprobe.d/blacklist.conf
echo 'blacklist ideapad_laptop'>>/etc/modprobe.d/blacklist.conf
8. 由于现在一切都非常小,我调整了一些字体设置:
- 设置Settings->"外观"->"字体"中的dpi为250 dpi,然后注销并重新登录。
- 调整Firefox和Thunderbird以适应高DPI触摸屏显示器(Retina)
- 使用底部控制栏右侧的按钮调整KDE控制栏的高度,然后所有图标都会随高度增长。apt-get install ubuntu-desktop
命令安装Ubuntu桌面环境;P。我启动了Windows并调整了Windows分区,所以我有100GB的空闲空间。
(如果需要:在这里您可以找到带有屏幕截图的详细说明,在结束后回到这里并继续第4步)
它配备了一个位于电源按钮侧面的小按钮,用于启用BIOS编辑和引导顺序... 当您按下它时,计算机将以配置菜单启动。然后您需要编辑BIOS以取消安全的UEFI模式。
选择"Legacy Boot"和"Legacy First"
从USB(或外部CD驱动器)启动Ubuntu并按下"尝试Ubuntu"。我使用UNetbootin创建的USB闪存进行安装。
如果您不喜欢安装过程中的小字体,请在开始之前(如§4中所述)在此试用模式中也放大字体。
如果Ubuntu Studio无法启动,请选择“扩展选项”并选择upstart内核条目。然后安装ubuntu-desktop中的所有软件包:
sudo apt-get update
sudo apt-get install ubuntu-desktop
LANG=c xfce4-settings-manager
)。(没有双指缩放这样的功能,但有一个简单的方法可以使用:您可以使用三指触摸来选择活动窗口并移动它)
或者:使用Chrome。我在Chrome版本41.0.2272.76 Ubuntu 14.10中进行了测试:在那里,触摸屏按预期工作得很好,甚至捏合缩放也能正常工作,所有菜单的大小都正确。
6. 调整Lenovo Yoga 2 Pro的触摸板xfce4-settings-manager
)->“鼠标和触摸板”中选择触摸板。
由于笔记本电脑在旋转时屏幕不会跟随旋转,因此创建脚本/usr/local/bin/rotate-screen.sh
从rotate-screen.sh
在设置管理器
->键盘
->应用程序快捷键
中
/usr/local/bin/rotate-screen.sh
/usr/local/bin/rotate-screen.sh -n
.desktop
文件
https://askubuntu.com/a/553721
sudo apt-get install xbacklight
xbacklight -set 50
为了启用所有可能的省电设置,请安装powertop
。apt-get install powertop
sudo gedit /etc/rc.local
命令,使最后一部分看起来像这样:# By default this script does nothing.
#####################################################
# tune all power save settings to >good<
powertop --auto-tune
# all power save settings are fine but the one for the touchpad
# disable powertop >good<-setting for touchpad
echo 'on' > '/sys/bus/usb/devices/2-7/power/control'
#####################################################
# optional disable bluetooth and wifi on each start
# this can always be re-enabled in the top appletts if you need it
# disable bluetooth at start: (uncomment the following line)
#rfkill block bluetooth
# disable wifi at start: (uncomment both following lines)
#sed s/^WirelessEnabled=true/WirelessEnabled=false/ -i /var/lib/NetworkManager/NetworkManager.state
#rfkill block wifi
exit 0
sudo su
echo "options iwlwifi 11n_disable=1" >> /etc/modprobe.d/iwlwifi.conf
syndaemon -i 1 -K -R -d
来启用手掌检测。我购买了一款"HooToo HT-UE01 USB 3.0 HUB 3-Port with RJ45 10/100/1000 Gigabit Ethernet LAN",在我的Yoga 2 Pro上运行良好(在Ubuntu 64位系统上进行了测试)。
还有一件事:
如果你购买了瑜伽2 Pro,请注意其3200x1800的显示分辨率!
Gnome、KDE和Xfce还没有准备好支持如此疯狂的分辨率。对我来说唯一的解决方法是将分辨率降低到全高清,这样文本仍然可读。
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Profile" 2
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 4
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Adaptive Deceleration" 4
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Velocity Scaling" 8
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Finger" 35 45 0
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Coasting Speed" 5 15
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Time" 120
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Move" 300
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Noise Cancellation" 20 20
xrandr --output eDP1 --scale 0.7x0.7
xinput list-props "SynPS/2 Synaptics TouchPad"
命令查看所有属性。 - rubo77Kubuntu在Lenovo Yoga 2 Pro上的安装
(我根据rubo77提供的出色答案以及其他一些资料整理了以下步骤)
关闭快速启动并禁用安全启动
安装
注意:我使用Ubuntu Server安装以获取对磁盘加密的完全支持,然后还安装了kubuntu-desktop包以及其他我喜欢使用的程序,将其打造成一个正常的桌面环境。如果您不需要磁盘加密,这些说明同样适用于普通的Kubuntu安装程序(我发现Kubuntu安装程序的磁盘加密支持非常不稳定)。
修复WiFi和其他问题(每次内核更新后都需要进行此操作)
假设您已将文件下载到Downloads/文件夹,请运行以下命令来构建和安装修复的ideapad-laptop模块:
cd ~/Downloads/
unzip yoga-laptop-master.zip
cd yoga-laptop-master
make ideapad-laptop
sudo make ideapad-laptop-install
GRUB_CMDLINE_LINUX_DEFAULT="video.use_native_backlight=1 quiet splash"
update-grub
options psmouse proto=imps
创建一个文件/etc/X11/xorg.conf.d/50-synaptics.conf,内容如下:
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
Option "FingerLow" "46"
Option "FingerHigh" "46"
Option "SoftButtonAreas" "60% 0 85% 0 40% 60% 85% 0" # Btn3 LRTB - Btn2 LRTB
Option "EmulateMidButtonTime" "75"
EndSection
修复高分辨率下一切都太小的问题
我认为当前版本的X和KDE对3200x1600分辨率的支持不够好。我增加了DPI并将分辨率降低到1920x1080:
编辑/etc/lightdm/lightdm.conf以添加:
xserver-command=X -dpi 120
linux-firmware
是否解决了无线网络问题,但我刚刚又遇到了一个新的故障,不得不重新启动我的笔记本电脑。 - rubo77tim@hostname:~$ sudo efibootmgr BootCurrent: 0002 Timeout: 0 seconds BootOrder: 0002,0001,0000,2001,2002,2003 Boot0000* Lenovo Recovery System Boot0001* Windows Boot Manager Boot0002* ubuntu Boot2001* EFI USB Device Boot2002* EFI DVD/CDROM Boot2003* EFI Network
- happyskeptic