我一直在玩弄wmctrl以更好地控制我的窗户。我遇到了一个奇怪的行为,Unity 保留了两倍的空间。
请参阅此屏幕截图:
我打开终端并使用 top 命令移动窗口。它应该在左上角 (X=0 Y=0)。但出于某种原因,终端和 Unity 条之间存在一些余量。
如果我正确理解手册页,它可能与WA: 65,24 有关。
有人可以帮我解决这个问题吗?
我试图将它添加到默认的快捷方式应用程序中,但它super本身不会接受。它会接受Super + X但我只想覆盖超级键。
我正在使用 Mate,所以没有 Unity 冲突。
我尝试搜索并确实找到了一些非常具体的解决方法,但没有使用超级键和自定义命令/脚本。
我想要的例子是:
按 Super
做 bash ~/rearange_windows.sh --all
关闭一周后,我收到此错误。之后,我的亮度键不再起作用。此外,从那时起,我似乎时不时地会出现一些随机数秒的长时间冻结。但我不确定这是否相关。
我可以解决这个问题吗?只是跑步iio-sensor-proxy似乎没有任何作用。
如果那不起作用,我可以安全地卸载它吗?如何卸载?
我只想要我的亮度键回来。我玩过acpi_backlight=vendor和video。grub-update,grub-update2这些似乎有任何帮助。
所以我想要FF55。什么时候会出现在自动更新程序中?
Moslty 我想知道在 repos 中更新 FireFox 的过程。我在哪里可以遵循此流程?
我想知道,尤其是随着即将到来的大型 FF57。
我知道这已经被要求死了。我之前在其他笔记本电脑上处理过它。
我已经尝试了所有这些组合/et/default/grub并运行sudo update-grub重新启动,测试,失败。
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
GRUB_CMDLINE_LINUX="acpi_osi=Linux"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet video.use_native_backlight=1"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi=strict"
GRUB_CMDLINE_LINUX=""
Run Code Online (Sandbox Code Playgroud)
我尝试创建一个/usr/share/X11/xorg.conf.d/20-intel.conf source。
下一个是什么?
~/.bash_aliases我设置 PS1 的地方,并包含在~/.bashrc(默认设置)中
# color PS1
PS1="\[\033[01;90m\]\D{%H:%M} \[\033[01;33m\]Ubuntu\[\033[00m\] \[\033[01;34m\]\w\[\033[01;35m\]$(__git_ps1) \[\033[01;36m\]\$\[\033[00m\] "
Run Code Online (Sandbox Code Playgroud)
但是当我启动终端时出现错误__git_ps1: command not found
但是当我$ __git_ps1在 git 文件夹中运行函数手册时,它会回显当前分支。
另外当我手动运行时
$ PS1="\[\033[01;90m\]\D{%H:%M} \[\033[01;33m\]Ubuntu\[\033[00m\] \[\033[01;34m\]\w\[\033[01;35m\]$(__git_ps1) \[\033[01;36m\]\$\[\033[00m\] "
PS1 得到更新,__git_ps1部分确实得到了添加。
我自己没有安装。我只安装了git。
sudo apt install -y git (git 版本 2.19.1)
__git_ps1在/usr/lib/git-core/git-sh-prompt(github上的文件)中定义
grep __git_ps1 ~/.bashrc ~/.profile ~/.bash_profile ~/bash.login ~/.bash_aliases /etc/bash.bashrc /etc/profile /etc/profile.d/* /etc/environment 2>/dev/null
Run Code Online (Sandbox Code Playgroud)
只显示.bash_aliases文件。
git-sh-promt 的完整 grep 只返回二进制匹配
sudo grep 'git-sh-prompt' -nr /
Run Code Online (Sandbox Code Playgroud)
这里有什么问题?
我想在 Ubuntu 17.04 上测试肉桂,所以我创建了一个 VB 并安装了一个干净的 ubuntu 17.04
然后我找到了16.04 的说明:
sudo add-apt-repository ppa:embrosyn/cinnamon
sudo apt-get update && sudo apt-get install cinnamon
但是安装报错:
Ign:14 http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu zesty/main DEP-11 64x64 Icons
Fetched 89,2 kB in 1s (63,7 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu zesty Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details. …Run Code Online (Sandbox Code Playgroud)