Ubuntu

Ubuntu用户和开发人员的问答



9
为什么在按键被接受与接受之间存在延迟?
这是我遇到过的最古怪和最奇怪的问题之一。直到昨天在Ubuntu 13.04上,我的键盘才能正常工作。但是,当我今天启动Ubuntu时,突然发现所有按键都起作用,但是我必须按住它们约一秒钟才能使它们起作用。 对于除和键以外的所有其他键Num Lock,此行为都是正确的,一旦按下这些键,键盘上的指示灯就会亮起。Caps LockScroll Lock 在我输入密码的登录屏幕上,键盘可以正常工作。 如果我使用Guest会话而不是普通的用户帐户,键盘也可以正常工作。 我没有进行任何按键映射,也没有使用标准的英语(US)键盘布局。 我在“系统设置”中摆弄了“键盘”的设置,但无济于事。 我将Windows 7设置为双启动,并且键盘在其上可以完美运行。 我为什么要面对这种行为,以及如何规范化? PS:使用Logitech Classic Keyboard K100(USB型号)。
24 keyboard 


4
显示文件的前几行
我有一个包含很多文件的文件夹。我要显示以下内容: filename_1 first line of file1 second line of file1 third line of file1 filename_2 first line of file2 second line of file2 third line of file2 filename_3 first line of file3 second line of file3 third line of file3 等等。我该怎么做?


4
在干净的SSD安装上进行定期dist-upgrade之后,Ubuntu加载/启动屏幕上的启动延迟很长(18.04)
自从正式发行当天就安装干净的SSD以来,我一直在运行18.04,没有任何问题。 开机登录需要几秒钟(最多10秒) 然后,我今天早上做了定期升级: $ sudo apt update && sudo apt dist-upgrade 安装/升级的软件包是: Install: linux-headers-4.15.0-24:amd64 (4.15.0-24.26, automatic), linux-headers-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-modules-extra-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-modules-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-image-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic) Upgrade: gnome-control-center-data:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-headers-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), gnome-control-center:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-image-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), linux-signed-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), gnome-control-center-faces:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-generic:amd64 (4.15.0.23.25, 4.15.0.24.26) …
24 boot  18.04  snap  plymouth 


5
为什么我没有得到Ubuntu 18.04升级?
我一直在尝试升级到Ubuntu 18.04,但是当我尝试时 do-release-upgrade -c 我得到这个输出 Checking for a new Ubuntu release No new release found. 我已经确认发布日期为4月26日,但仍然没有任何更新... 我对Linux有点陌生,所以如果我在任何时候都弄错了,请原谅我。
24 upgrade  18.04 

3
获取应用程序的路径?
用户如何确定启动器中显示的应用程序的路径? 这是针对非程序员或专家的,因此终端命令并不真正适合他们。原因:我们需要使用户能够在我们的应用程序上拖动文件/文件夹,这是Ubuntu完全缺少的标准操作系统功能。
24 launcher  appmenu 


6
为什么可以在Ubuntu中移动正在运行的程序?
我刚刚意识到我能够将正在运行的活动程序移至其他目录。以我的经验,这在MacO或Windows中是不可能的。它在Ubuntu中如何工作? 编辑:我认为这在Mac上是不可能的,但显然可以通过评论进行验证。也许只有在Windows上才有可能。感谢所有的答案。

4
Ubuntu 4K准备好了吗?
我打算购买4k显示器,但听说某些应用程序(通常是所有操作系统)可能尚未准备好使用4k,这会导致非常糟糕的用户体验。 我主要使用标准应用程序(办公室,互联网浏览,最终gimp等...)和开发应用程序(netbeans,mysql工作台,android studio ...)。 我当前正在运行16.04,Unity桌面。


2
Ubuntu 16.04无法关闭电源:poweroff.target已禁用
Ubuntu 16.04无法关闭电源。当我转到屏幕右上方的图标并单击关闭时,它不会关闭。我跑了shutdown -h now,这就是我得到的: tanner@tanner-x151x:~$ shutdown -h now Failed to set wall message, ignoring: Interactive authentication required. Failed to power off system via logind: Interactive authentication required. Failed to start poweroff target: Interactive authentication required. See system logs and 'systemctl status poweroff.target' for details. Failed to open /dev/initctl: Permission denied …
24 16.04  shutdown 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.