I'd like to use a location different to my home directory for recording videos using SimpleScreenRecorder. However, when I "Browse..." File -> Save as: I get the following error message:
Could not read the contents of media
Error opening directory '/media': Permission denied
as soon as I browse into '/media' folder.
I already changed ownership of the folder from root to $USER, still the same. When I try to launch the application from the terminal using sudo
or gksudo
it fails to launch the application with
sudo
mkdir: cannot create directory '/run/user/0': Permission denied
gksudo
(gksudo:19480): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
No protocol specified
simplescreenrecorder: cannot connect to X server :0
I am using Ubuntu 16.04.
Everything works fine when I use my $HOME directory. I'd prefer to use the application without root permissions if possible.
For testing only I temporarily set /media permissions to 777 and it still did not work.
Please advice, thank you
You can use the
chown
command:Replace
username
with yourusername
.