当您切换工作区时,Gnome-shell 似乎喜欢将一台显示器保留为“固定”。
此外,我的辅助监视器的“活动”视图中没有预览。
此外,在第二台显示器上,应该有空的桌面空间或面板的副本,我只有一个白条。
我怎样才能让 gnome-shell 像对待主监视器一样对待我的辅助监视器?
挂起后以太网不会恢复。
sudo service network-manager restart
Run Code Online (Sandbox Code Playgroud)
不起作用。只有重启才能解决问题。
我打算卖掉我的笔记本电脑。所以我使用磁盘工具格式化了我的磁盘并选择用零覆盖磁盘。
两个问题:
这与使用 覆盖磁盘相同dd吗?
sudo dd if=/dev/zero of=/dev/sda
Run Code Online (Sandbox Code Playgroud)
这种方法是否足够安全,以至于买家无法轻松恢复以前的数据?或者我应该采取其他措施(例如加密磁盘、破坏标头等)?
如何获取文件夹中所有文件的列表,包括所有子文件夹中的所有文件并将输出放入文件中?
注意:旧版 Skype for Linux 应用程序 (v4.*) 现在已停产并从 Canonical 的合作伙伴存储库中删除,因此此问题及其答案已过时。请参阅我们的规范 Skype 安装问题的更新答案。
我在尝试安装 Skype 时收到以下消息:
nidhin@ubuntu:~$ sudo apt-get update
nidhin@ubuntu:~$ sudo apt-get install skype
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may …Run Code Online (Sandbox Code Playgroud) 我最近从 13.04 升级到 13.10,突然通知气泡在右上角没有像往常一样显示主题,而是在左上角显示为蓝底白字。它看起来像这样:
我尝试重新安装unity, notify-osd,ubuntu-desktop删除notification-daemon已安装的,但都没有修复它。
事实上,运行ps aux | grep notify-osd表明notify-osd 甚至没有运行。但是当我尝试通过运行手动启动它时,/usr/lib/x86_64-linux-gnu/notify-osd我得到:
** (notify-osd:4618): WARNING **: Another instance has already registered org.freedesktop.Notifications
** (notify-osd:4618): WARNING **: Could not register instance
Run Code Online (Sandbox Code Playgroud)如果我理解得很好,该实例是由/usr/share/dbus-1/services/org.freedesktop.Notifications.service文件注册的,该文件现在包含:
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/x86_64-linux-gnu/notify-osd
Run Code Online (Sandbox Code Playgroud)
重命名或删除该文件(并重新启动)没有任何影响(并且不会自动重新创建)。
这不是13.10 上来自 notify-osd的无通知的副本(顺便说一下,我gnome-flashback-session和 一起清除了notification-daemon)
我该如何调试?我怎样才能收到恢复正常的通知?
如果需要额外的调试信息,我很乐意添加它(只是我找不到更多)。
我试图重定向都stdout和stderr到文件的今天,我碰到这个就来了:
<command> > file.txt 2>&1
Run Code Online (Sandbox Code Playgroud)
这显然重定向stderr到stdout第一个,然后结果stdout被重定向到file.txt.
但是,为什么不是顺序<command> 2>&1 > file.txt?人们自然会将此解读为(假设从左到右执行)首先执行的命令,然后stderr重定向到stdout,然后将结果stdout写入file.txt. 但以上只重定向stderr到屏幕。
shell 如何解释这两个命令?
如何在 Ubuntu 14.04 LTS 32 位上安装 Opera 和 Safari?任何人都可以帮忙吗?我下载了 Opera,但无法安装。另一方面,我没有尝试 Safari,即使我不知道 Safari 是否有适用于 Ubuntu 的版本。
我正在尝试在此处安装最新的 KDE Plasma,但我得到了
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
kde-telepathy-minimal:
Depends: kde-config-telepathy-accounts (>= 0.9.0) but it is not installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)
当我sudo apt-get -f install按照规定并说Y要获得 122KB 的档案时,我得到:
Preparing to unpack .../kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (15.04.0-0ubuntu1~ubuntu15.04~ppa1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/facebook-im.service', which is also in package account-plugin-facebook 0.12+15.04.20150415.1-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal …Run Code Online (Sandbox Code Playgroud) 我正在尝试.jnlp在 Ubuntu Server 中运行一个(java) 文件。这个文件是比特币铸币厂。当我尝试运行它时,它说访问被拒绝。
command-line ×2
14.04 ×1
18.04 ×1
64-bit ×1
apt ×1
bash ×1
browser ×1
dependencies ×1
directory ×1
disk-utility ×1
dpkg ×1
ethernet ×1
files ×1
gnome ×1
gnome-shell ×1
java ×1
kde ×1
networking ×1
notification ×1
notify-osd ×1
opera ×1
redirect ×1
secure-erase ×1
skype ×1
workspaces ×1