A
A
Artem_612022-02-06 18:20:58
ubuntu
Artem_61, 2022-02-06 18:20:58

Ubuntu 20.04.2 nautilus won't run bash scripts, how to solve?

Ubuntu 20.04.2 nautilus does not run bash scripts (in 20.10 and the same trouble).
Script executable chmod +x test.sh#!/bin/bash
Swears when launched by double click from nautilus

(nautilus-autorun-software:3590): WARNING **: 18:00:17.377: Unable to find device for URI:
Точка монтирования для файла /home/ansible/script/1/test.sh не найдена

PS the bottom line is that the user runs the script without going into the terminal (too difficult for an ordinary employee),
which will run TeamviewerQuickSupport.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-02-06
@karabanov

Why don't you just make a shortcut (file *.desktop) to launch teamviewer_qs

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Categories=Network;

Name=TeamViewer QuickSupport
Comment=Remote control solution.
Exec=/home/path/to/teamviewerqs/tv_bin/script/teamviewer
Icon=/home/path/to/teamviewerqs/tv_bin/desktop/teamviewer_48.png

What's more, it's automatically created the first time you run it, so you can just copy it somewhere visible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question