我最近从 14.04 LTS 升级到 16.04 LTS,虽然系统运行正常并且总体稳定,但有一个问题困扰着我。
对于具有菜单栏的窗口,无论“菜单可见性”设置中选择的值如何,它都会始终显示。见下图:
在我也升级的另一个系统上,选择设置时菜单会正确隐藏。
什么会导致这种行为?有什么我可以做的来修复它吗?
我尝试使用unity --reset, withsudo apt install --reinstall ubuntu-desktop和 withsudo apt install --reinstall unity和没有运气重置我的统一设置。
dpkg -l indicator-appmenu命令的结果是:
$ dpkg -l indicator-appmenu
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
rc indicator-appm 13.01.0+14.0 amd64 Indicator for application menus.
Run Code Online (Sandbox Code Playgroud) 在我的笔记本电脑上安装 Windows 10 升级后,它破坏了 grub 启动管理器,我只能在 Windows 10 中启动。我使用带有该boot-repair工具的 live cd 修复了启动管理器,但它只能识别 Ubuntu 分区,而不是窗户一。
所以我编辑了/etc/grub.d/40_custom文件并添加了以下内容:
menuentry "Windows 10" {
set root='(hd0,3)'
chainloader +1
}
Run Code Online (Sandbox Code Playgroud)
运行后sudo update-grub2,我在启动菜单中有一个条目,但分区没有加载。它给出了以下错误:
Error: Invalid signature.
Run Code Online (Sandbox Code Playgroud)
有谁知道如何克服这个错误?
我最近的引导修复转储在这里:http : //paste.ubuntu.com/11965327/,我想引导的分区是这个:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
Run Code Online (Sandbox Code Playgroud) 计算机锁定的一半时间,聚焦窗口的语言未设置为英语,因此我在锁定屏幕中以错误的语言输入密码。
是否可以将锁定屏幕的语言保持为锁定屏幕中的前一种语言,而不是上次使用的语言?
我已经启用了
允许每个窗口使用不同的源
输入源选项中的选项。
编辑:根据评论中的要求,这些是以下内容/etd/default/keyboard:
$ cat /etc/default/keyboard
XKBLAYOUT="us,gr"
XKBVARIANT=","
BACKSPACE="guess"
XKBMODEL="pc105"
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
Run Code Online (Sandbox Code Playgroud)