这表明Gradle是最新的:
thufir@doge:~$ sudo apt install gradle
Reading package lists... Done
Building dependency tree
Reading state information... Done
gradle is already the newest version (2.10-1).
0 upgraded, 0 newly installed, 0 to remove and 629 not upgraded.
Run Code Online (Sandbox Code Playgroud)
如何升级到Gradle4.x?最好使用umake而不是 SDKMAN!这似乎是他们的建议。
(由于连接速度慢,我不想更新所有软件包。)
我的 Dropbox 中有一个文件夹,我想在我的桌面上添加该文件夹的快捷方式。我想这在 Windows 操作系统中应该非常简单:) 但是,我不知道如何在 Ubuntu 14.04 中做到这一点。
我可以做些什么来在我的桌面上创建一个简单的文件夹快捷方式?
thufir@dur:~$ sudo snap install docker
docker 17.06.1-ce from 'docker-inc' installed
thufir@dur:~$ sudo service docker start
Failed to start docker.service: Unit docker.service not found.
thufir@dur:~$ sudo systemctl status docker
Unit docker.service could not be found.
thufir@dur:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
thufir@dur:~$ snap list
Name Version Rev Developer Notes
core 16-2.29.3 3440 canonical core
docker 17.06.1-ce 171 docker-inc -
hello-world 6.3 27 canonical - …Run Code Online (Sandbox Code Playgroud) 我不明白这个错误Startup Disk Creator:
org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/usb-creator/usb-creator-helper", line 218, in Format
parent_dev = _get_parent_object(udisks, device)
File "/usr/share/usb-creator/usb-creator-helper", line 49, in _get_parent_object
parent = partition.get_cached_property('Table').get_string()
AttributeError: 'NoneType' object has no attribute 'get_cached_property'
Run Code Online (Sandbox Code Playgroud)
这是什么意思?我只想擦除 2GB MP3 播放器以便将 iso 放在那里。磁盘创建者需要此步骤。
以其他用户身份登录后,如何运行 GUI 程序?
thufir@doge:~$
thufir@doge:~$ sudo -u hawat -i
hawat@doge:~$
hawat@doge:~$ whoami
hawat
hawat@doge:~$
hawat@doge:~$ pwd
/home/hawat
hawat@doge:~$
hawat@doge:~$ echo $HOME
/home/hawat
hawat@doge:~$
hawat@doge:~$ firefox
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
hawat@doge:~$
Run Code Online (Sandbox Code Playgroud) 我想在我的电子邮件活动中使用基于终端的邮件客户端。有人建议我使用 alpine。但是我如何在 Ubuntu 中配置它来阅读我的 gmail 邮件?
我看过一个 aptitude教程并阅读了手册页,但我就是不明白。启动 aptitude 后,“安装包 foo”怎么说?或者搜索名称中带有“foo”的所有包?
如何使用 调整 LVM 分区的大小system-config-lvm?根据这个 Ask Ubuntu answer
我点击了分区并尝试调整大小,但从system-config-lvm.
逻辑卷未安装但正在使用中。请关闭所有使用此设备的应用程序(例如 iSCSI)。
有什么问题,我该如何解决?
另请参阅此询问 Ubuntu 答案。
Ubuntu 有 lint 实用程序吗?它是如何安装的?
在计算机编程中,lint 是一种 Unix 实用程序。
https://en.wikipedia.org/wiki/Lint_%28software%29
thufir@mordor:~$
thufir@mordor:~$ gcc program.c -o prog
program.c:5:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main()
^
thufir@mordor:~$
thufir@mordor:~$ ./prog
Hello World
thufir@mordor:~$
thufir@mordor:~$ lint program.c
No command 'lint' found, did you mean:
Command 'line' from package 'util-linux' (main)
Command 'jlint' from package 'jlint' (universe)
Command 'link' from package 'coreutils' (main)
Command 'dlint' from package 'dlint' (universe)
Command 'lift' from package 'lift' (universe)
Command 'tint' from package 'tint' (universe)
Command 'hlint' from …Run Code Online (Sandbox Code Playgroud) 为什么 Firefox 不使用 Google 阅读器订阅某些提要?
一些 RSS 订阅源默认为 Firefox“实时书签”,但提供 Google 阅读器作为选项,其他默认为 Google 阅读器,其他类型的订阅源不提供 Google 阅读器作为选项。
在Firefox的知识基础是在细节上有点潦草:
您可以通过单击内容类型列表中的“Web Feed”并从下拉式菜单。
我想添加的“应用程序”是 Google 阅读器,它不是我认为的“应用程序”(我将 Google 阅读器视为网站或服务、在线聚合器)。我希望 Google 阅读器能够处理所有和任何 RSS 或 Atom 内容类型。
如何将 Google 阅读器添加为“应用程序”?
在这个来自网络的屏幕截图中:

有一个下拉菜单,其中一个选项是“实时书签”。有时谷歌或雅虎是选项,另外还有“选择应用程序”的选项。对于 Google 不在菜单中的那些时候,应该有一种方法可以将 Google 阅读器添加为处理 RSS 提要的“应用程序”。
我知道谷歌做了一个扩展,所以我可以用一个单独的工具栏按钮来做到这一点,但我问的是如何将谷歌阅读器添加为“应用程序”。
Google Reader 工具栏按钮将添加任何类型的提要。
command-line ×4
gui ×2
14.04 ×1
apt ×1
aptitude ×1
c ×1
container ×1
coreutils ×1
docker ×1
email ×1
filesystem ×1
firefox ×1
format ×1
gmail ×1
google ×1
gradle ×1
hard-drive ×1
lvm ×1
mail ×1
mir ×1
mount ×1
mp3 ×1
packaging ×1
partitioning ×1
programming ×1
rss ×1
server ×1
shortcuts ×1
snap ×1
sudo ×1
tee ×1
ubuntu-make ×1
upgrade ×1
usb ×1
users ×1
versions ×1