openSUSE 13.1 ISSUES

The proprietary NVIDIA driver requires users to have access to /dev/nvidia* devices

CHECKIT:12.3

Default and new users are no longer added to the video group automatically. But the proprietary NVIDIA driver requires users to have access to /dev/nvidia* devices.

Because the NVIDIA driver does not use the usual kernel methods that allow to install ACLs on the device nodes, users have to be added manually to thevideo group; asroot call (replace$USER with the actual username):

usermod -a -G video $USER

Start-UP:http://activedoc.opensuse.org/book/opensuse-start-up

Parking your hard drive

If your hard drive is clicking many times, the kernel is parking the hard drive's actuator arm (what moves the read/write head). This happens often on laptops (2.5" IDE hard drives). If it happens too often, it could damage your hard drive.

This will just park the reading head when you shut down the computer:

# hdparm -B254 /dev/sda

Default value is -B128. An average value could be-B199 if it is parking too often.

To make this persistent, add a udev rule by creating e.g. /etc/udev/rules.d/11-sda-apm-fix.rules:

ACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 254 /dev/sda"

or if you have more than one hard drive you could make the rule more flexible:

ACTION=="add|change", KERNEL=="[hs]d[a-z]", ATTR{queue/rotational}=="1", RUN+="/usr/bin/hdparm -B 254 /dev/$kernel"

Note that the APM level may get reset after a suspend, so you will probably also have to re-execute the command after each resume. This can be automated with the followingsystemd unit: (adapter from a forum thread)

[Unit]
Description=Local system resume actions
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target

[Service]
Type=simple
ExecStart=/usr/bin/hdparm -B 254 /dev/sda

[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target


Or you could create /usr/lib/systemd/system-sleep/hdparm_set: found here

#!/bin/sh
hdparm -B254 /dev/sda

And make it executable:

chmod +x /usr/lib/systemd/system-sleep/hdparm_set

IBUS

sudo zypper in ibus ibus-sunpinyin

ibus-daemon -d -x -r

GIT

sudo zypper in git

CHROME

sudo zypper in lsb

sudo rpm -ivh *.rpm

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值