Questions tagged «windows-subsystem-for-linux»

适用于Linux的Windows子系统(WSL)是一个兼容层,允许Linux ELF64二进制文件在Windows 10上本地运行

0
WSL - 像putty一样的ssh快捷方式
在Putty中,我们可以存储“已保存的会话”,它们本质上是ssh连接的快捷方式。 我通常使用mtPutty,它提供了一个快速下拉,我可以快速点击一个项目来连接到该主机。 linux / WSL上有这样的东西吗? 我知道在终端中我可以在〜/ .ssh / config文件中创建“快捷方式”,但我更多地指的是我可以轻松点击和连接的gui。

2
我可以直接从Windows使用WSL中安装的软件吗?
最近,我安装了WSL并开始使用它。在WSL中,我安装了NVM以便同时具有Node.js 6.11.5和8.9.0,我可以安装NPM软件包并运行在Windows中开发的应用程序而不会出现任何问题。由于NPM正常工作,我从Windows卸载了Node.js(不再使用它)。现在,当我打开VSCode(Windows App)时,它告诉我必须安装NPM。我不想为Windows重新安装Node.js,而是希望VSCode使用WSL中存在的NPM。我该如何实现?

0
如何在Windows Subsystem for Linux上递归地更改文件和目录的权限?
每次使用sudo chmod -R +755 *或时sudo chmod -R +755 .,它都会000将目录和子目录中的所有文件权限重置为。 如果我运行sudo chmod +755 *,它将为文件夹中的所有内容(而不是子文件夹)正确添加权限。 其他变化,例如 sudo find foldername -type d -exec chmod 755 {} ";" 似乎也以这种方式重置权限。 它似乎也忽略了以开头的文件和文件夹.,这也是不希望的行为。 另外,当我尝试使用时sudo chmod 0000 filename,它只会删除写许可权。读取和执行权限保留在那里。当我os.chmod()在Python3(bash shell中的解释器)中使用时,也是如此。 Windows 10操作系统内部版本为17134.165

2
来自Windows 10 Ubuntu shell的GUI程序
我在Windows 10上玩Ubuntu Shell。我在这个环境中创建了一个代码文件,并尝试使用sublime文本编辑器进行编辑。 我注意到在我在Ubuntu shell中安装了sublime文本并尝试启动它之后,它显示了一个错误: Unable to load libgdk-x11-2.0.so Unable to load gdk_cairo_create from libgdk-x11-2.0.so Unable to load gdk_cursor_new_for_display from libgdk-x11-2.0.so Unable to load gdk_cursor_unref from libgdk-x11-2.0.so Unable to load gdk_error_trap_pop from libgdk-x11-2.0.so Unable to load gdk_error_trap_push from libgdk-x11-2.0.so Unable to load gdk_input_add from libgdk-x11-2.0.so Unable to load gdk_input_remove from …
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.