我试图像在 Windows 中一样在 mate 桌面上单击鼠标右键来添加刷新按钮。我正在运行 Parrot 操作系统。
apt-get install nautilus-refresh
sudo apt-get install python-nautilus xautomation wget
这两个命令都返回错误未找到,我也尝试将存储库添加到 sources.list 但失败了。
我试图像在 Windows 中一样在 mate 桌面上单击鼠标右键来添加刷新按钮。我正在运行 Parrot 操作系统。
apt-get install nautilus-refresh
sudo apt-get install python-nautilus xautomation wget
这两个命令都返回错误未找到,我也尝试将存储库添加到 sources.list 但失败了。
这是因为您正在尝试向 nautilus 添加刷新选项,它是 gnome 环境的一部分,而 parrot-os 使用 caja,它是 mate 环境的一部分
要在 mate 中添加工作刷新选项,您需要:
安装xautomation
方式sudo apt install xautomation
(您将需要xte
它提供的功能)
现在打开位置/home/USER/.config/caja/scripts
文件夹(按ctrl+h
主文件夹查看.config
文件夹)
创建一个名为的文件refresh
并在其中添加以下内容:
#!/bin/bash
xte "key F5"
refresh
文件,转到properties
并检查选项卡Execute
内的所有Permissions
选项现在,当您右键单击内部时,您可以看到一个刷新选项scripts -> refresh