albfan / miraclecast

Connect external monitors to your system via Wifi-Display specification also known as Miracast
Other
3.81k stars 411 forks source link

Can't copy the dbus policy res/org.freedesktop.miracle.conf to /etc/dbus-1/system.d/ #503

Closed TheGitGubGuy closed 8 months ago

TheGitGubGuy commented 9 months ago

How do you do this on Ubuntu l. I have tried so many ways but all of them failed for some reason. Whenever I try to copy it using Thunar file manager It keeps on saying access tonight and I don't know how to open this with super user privileges.

InsertX2k commented 8 months ago

Open a new terminal window in the directory where you've cloned this repository in (right click on any empty place on the folder then click "Open in terminal"), then run the following command:

sudo cp -fv ./res/org.freedesktop.miracle.conf /etc/dbus-1/system.d/

then authenticate with your root password, and that's it.

albfan commented 8 months ago

install steps from different buildsystem do that for you. Not always these files goes to /etc

Look for sysconfdir in the buildsystem you choose (autotools, cmake or meson)