我可以通过lsb_release -a. 为了记住这个命令,我想知道什么代表lsb?
我在这里找到了“Linux 标准基础” 。这是正确的吗?
我想Guake在正确的显示器上使用。
所以我通过sudo add-apt-repository ppa:cberner/guake, 和sudo apt-get update.
https://launchpad.net/~cberner/+archive/guake/+index?field.series_filter=raring
说明说我可以monitor_index以某种方式设置。但是我找不到如何配置。
有人知道这个吗?
sudo service postgresql start每次在 WSL2 上启动 Ubuntu 时都需要运行。
如何让该服务在启动Ubuntu时自动启动?
WSL 不使用 systemd,因此sudo systemctl enable postgresql不起作用。
$ sudo systemctl status postgresql
System has not been booted with systemd as init system (PID 1).
Can't operate. Failed to connect to bus: Host is down
Run Code Online (Sandbox Code Playgroud)
是否有在启动时启动服务的标准方法?
我想在 Ubuntu 启动时启动该服务,而不是在 Windows 启动时启动该服务。
当我尝试通过coffee -o js -cw coffee.
/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:321
throw e;
^
Error: watch Unknown system errno 28
at errnoException (fs.js:636:11)
at FSWatcher.start (fs.js:663:11)
at Object.watch (fs.js:691:11)
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:287:27
at Object.oncomplete (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:100:11)
Run Code Online (Sandbox Code Playgroud)
我不知道错误是怎么回事。
然后我检查了版本,coffee -v是 1.6.1 和node -vv0.6.12。
根据官方网站(http://coffeescript.org/)的最新版本是1.6.3,所以我想更新coffee的npm update -g coffee-script,但是这个失败也。
npm WARN coffee-script@1.6.1 package.json: bugs['name'] should probably be bugs['url']
npm http GET https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/coffee-script
Run Code Online (Sandbox Code Playgroud)
如何更新咖啡脚本?
编辑 2013/10/11
在我的咖啡脚本目录中,只有一个文件box_wrapper.coffee.
$ ->
$("body").children().wrap ->
"<div id='#{$(@).attr …Run Code Online (Sandbox Code Playgroud) 我出错了 sudo apt-get update
Err:6 https://dl.yarnpkg.com/debian stable InRelease
The following signatures were invalid: KEYEXPIRED 1507181400
Run Code Online (Sandbox Code Playgroud)
根据这个答案,过期的密钥由apt-key list.
$ LANG=C apt-key list | grep expired
$
Run Code Online (Sandbox Code Playgroud)
但它没有被命令显示。
我应该怎么做才能修复这个错误?我正在使用 Ubuntu 16.04.6 LTS。
不知何故,chrome 的标题栏与 Ubuntu 菜单栏重叠,如附加图像。
在这种情况下如何移动这个镀铬窗口?
