markdown rabu上的ubuntu 18

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown rabu上的ubuntu 18相关的知识,希望对你有一定的参考价值。

# nvidia rtx

using nvidia as compute accelerator only 

`/lib/modprobe.d/blacklist-nvidia.conf`
```
# Do not modify
# This file was generated by nvidia-prime
blacklist nvidia
blacklist nvidia-drm
blacklist nvidia-modeset
#alias nvidia off
#alias nvidia-drm off
#alias nvidia-modeset off
```

after sleep

```
# sudo killall nvidia-persistenced
# sudo rmmod nvidia_modeset nvidia_uvm nvidia
# sudo modprobe nvidia
```


# apple keyboard

https://wiki.sabayon.org/index.php?title=HOWTO:_Make_The_Function_Keys_Work_On_An_Apple_Keyboard

`# echo "2" > /sys/module/hid_apple/parameters/fnmode`
OR
`# echo "2" | sudo tee /sys/module/hid_apple/parameters/fnmode`

# apple magic mouse 2 

scroll
doesnt work:
https://github.com/robotrovsky/Linux-Magic-Trackpad-2-Driver

works:
https://github.com/rohitpid/Linux-Magic-Trackpad-2-Driver

reinsert magic mouse driver
```
# sudo rmmod hid_magicmouse
# sudo insmod /lib/modules/`uname -r`/updates/dkms/hid-magicmouse.ko
```

test input events

`sudo evtest`

# key bindings

list all "Super" keybinding

`# gsettings list-recursively | grep Super`

edit settings/keybindings

`dconf-editor` 

# Text size

https://vitux.com/how-to-change-text-size-in-ubuntu/

`$ gsettings set org.gnome.desktop.interface text-scaling-factor 1.6`

# nfs

`# sudo apt install nfs-common`

`# sudo vim /etc/fstab`

```
kote.local:/storage  /media/zhukov/storage nfs user,soft,nocto,retrans=6,timeo=20,retry=0,noauto 0   0
kote.local:/svlk   /media/zhukov/svlk nfs user,soft,nocto,retrans=6,timeo=20,retry=0,noauto 0   0
blender.local:/bstorage   /media/zhukov/bstorage nfs user,soft,nocto,retrans=6,timeo=20,retry=0,noauto 0   0

```

https://askubuntu.com/questions/748397/how-do-i-mount-nfs-through-nautilus

force unmount

```
# sudo umount -f -l /media/zhukov/storage
# sudo umount -f -l /media/zhukov/svlk
```

# firefox java plugin icedtea

`javaws -nosecurity start.jnlp`

以上是关于markdown rabu上的ubuntu 18的主要内容,如果未能解决你的问题,请参考以下文章

markdown 在Ubuntu 18上安装Froxlor

markdown 适用于Ubuntu 18.04的软件

markdown 安装mariadb ubuntu 19.04,18.04

markdown LAMP和PHPMyAdmin在Ubuntu 18.04

markdown 升级的Ubuntu 18.04突然慢慢启动?读这个。

markdown ubuntu18.04系统启动时自动连接蓝牙键盘