【问题标题】:ARD - Setting Users Desktop Background to a file stored on clients desktopARD - 将用户桌面背景设置为存储在客户端桌面上的文件
【发布时间】:2021-01-14 22:31:45
【问题描述】:

请有人告诉我哪里可能出错了。我已将一个名为“ESSADB2020.png”的文件复制到成功的客户端桌面。现在我正在尝试通过 ARD unix 命令将该文件设置为用户桌面。这是我的代码;

osascript -e 'tell application "Finder" to set desktop picture to "~/Desktop/ESSADB2020.png" as POSIX file'

检索以下错误。

33:48: execution error: Finder got an error: AppleEvent handler failed. (-10000)

如果有更好的方法,任何建议都非常感谢!

【问题讨论】:

    标签: macos unix desktop remote-desktop


    【解决方案1】:

    您可以转到系统偏好设置 -> 桌面和屏幕保护程序 -> 桌面。有一个下拉菜单允许用户选择背景图像。单击下拉菜单并选择要用于桌面图片的文件。

    【讨论】:

    • 感谢您的回复,但我希望在整个学校网络中实现这一目标。即通过 ARD 向所有员工的 macbooks 发送 png,然后运行命令,将其设置为背景
    猜你喜欢
    • 2012-03-17
    • 1970-01-01
    • 2013-04-26
    • 1970-01-01
    • 2019-01-10
    • 2011-06-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多