小编Edw*_*lds的帖子

错误地将家中所有文件和文件夹的所有权更改为“root”

chown -R root:root *当我拥有 root 权限时,我错误地在我的主文件夹中运行(实际上我应该在其他文件夹中这样做:-/)我如何恢复?

这不是它显示的内容的重复。我没有任何问题.gvfs; 受影响的文件夹包括桌面、文档、下载、音乐、图片和视频。默认情况下,shell globbing*不包含隐藏文件。

ownership

6
推荐指数
1
解决办法
3927
查看次数

在计算机启动时隐藏 grub

我尝试了谷歌搜索“在计算机启动时隐藏 grub 菜单”中的所有方法,但仍然没有运气,我猜在 Ubuntu 15.04 上的工作方式有所不同?

这是我的 grub

 # If you change this file, run 'update-grub' afterwards to update
 # /boot/grub/grub.cfg.
 # For full documentation of the options in this file, see:
 #   info -f grub -n 'Simple configuration'

 GRUB_DEFAULT=0
 GRUB_HIDDEN_TIMEOUT=0
 GRUB_HIDDEN_TIMEOUT_QUIET=true
 GRUB_TIMEOUT=0
 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
 GRUB_CMDLINE_LINUX_DEFAULT="libahci.ignore_sss=1 vesafb.invalid=1 quite nopat drm.debug=0xe"
 GRUB_CMDLINE_LINUX=""

 # Uncomment to enable BadRAM filtering, modify to suit your needs
 # This works with Linux (no patch required) and with any kernel …
Run Code Online (Sandbox Code Playgroud)

boot grub2 dual-boot

6
推荐指数
1
解决办法
5854
查看次数

unable to mount samba share on boot (ubuntu 15.10)

I am following MountWindowsSharesPermanently to mount a samba share on boot
As said in wiki, I added these lines to /etc/fstab:

# auto-mounting the samba share 'Seagates' on raspberry pi
//192.168.2.2/Seagates /home/edward/samba/raspberry cifs uid=1000,gid=1000,credentials=/home/edward/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 
Run Code Online (Sandbox Code Playgroud)

and after that, since it is a password protected share, I added login credentials in ~/.smbcredentials and rebooted

The mount is failing with these errors, taken from journalctl | grep samba:

Nov 10 22:39:27 flippingbits systemd[1]: Mounting /home/edward/samba/raspberry...
Nov 10 22:39:33 flippingbits …
Run Code Online (Sandbox Code Playgroud)

boot fstab mount samba systemd

6
推荐指数
1
解决办法
3227
查看次数

Apache 2.4.10 在 Ubuntu 14.04 上出现 403 Forbidden 问题

我正在设置 PHP 环境。现在,当我开始从 windows/xampp 备份添加我的站点时(提及以防任何与路径相关的问题)

我创建了新项目 (netbeans) 并创建了测试 inedx.php 并且我可以访问它。但是,当我尝试访问该站点时,它正在为该站点提供403 Forbidden消息。

我从昨晚开始就试图解决这个问题

permissions apache2.4

5
推荐指数
2
解决办法
7万
查看次数

Ubuntu自带的驱动和Intel开源显卡驱动有什么区别?

Ubuntu自带的驱动和Intel开源显卡驱动有什么区别?

安装 Intel 驱动程序会显着提高性能并减少电池消耗吗?

intel-graphics

4
推荐指数
1
解决办法
1495
查看次数

为每个应用程序选择要使用的 GPU

我是 Ubuntu 14.04,运行 NVIDIA 显卡 820m,驱动程序 v331。

在 Windows 上,我们可以选择使用哪个 GPU 来运行应用程序。我们如何在 Ubuntu 上做到这一点?

更新
我的问题被标记为重复这个答案,这没有帮助

  1. 在 Bumblebee 应用程序设置程序中,我设置了几个应用程序在性能模式下运行,但在我关闭应用程序后它会重置为无法识别(见下图) 大黄蜂应用程序设置

  2. 以前,系统设置 > 详细信息中的图形曾经是 Nvidia,但不是 Intel Haswell,这意味着未使用 nvidia :-/

Ubuntu系统设置详情

nvidia hybrid-graphics

4
推荐指数
1
解决办法
3万
查看次数

我什么时候应该使用 < 或 <() 或 << 和 > 或 >()?

我知道<, <(), <<all 用于提供输入, >,>()用于重定向输出。

但我不知道它们之间有什么明显的区别以及何时使用它们。如果可能,请详细解释并附上参考资料。谢谢

command-line bash redirect

4
推荐指数
1
解决办法
295
查看次数

安装 systemd-services 并在启动时更改 init 参数后无法启动

我尝试了两种不同的方法但无法安装 systemd

从第1种方法在这里,从第2个方法,在这里

systemd未安装确认:

edward@computer:~$ file /lib/systemd/systemd
/lib/systemd/systemd: ERROR: cannot open `/lib/systemd/systemd' (No such file or directory)
Run Code Online (Sandbox Code Playgroud)

另一个确认:

我正在遵循https://askubuntu.com/a/420979/294611 中提出的方法(针对此问题已关闭,因为重复),但由于某种原因,我的系统无法启动。

boot kernel systemd

3
推荐指数
1
解决办法
5010
查看次数

每天都出现相同的更新

numix-icons-theme每天都在不断地更新包,如何阻止它?

我已经多次安装该更新,但它仍然不断出现。

updates

1
推荐指数
1
解决办法
425
查看次数