hello koskoz,

On Fri, Dec 12, 2014 at 09:13:10AM -0000, koskoz wrote:
> Using ARandR 0.1.7.1-1 with Ubuntu 14.04 and XFCE, I need to run ARandR
> with sudo from the command line to get it save the config file in my
> home directory (the file having root:root as user:group).
> 
> If I run it with the GUI ARandR is not able to write the config file and
> no warning or error is prompted.

like other x applications, arandr should not be run as root.

there are two possible situations in which arandr could not save the
file:

* your home directory is not writable by your user (and thus,
  ~/.screenlayout can't be created). this situation is pretty much
  beyond the scope of arandr -- all kinds of things stop working when
  you can't write to your own home directory.

* your ~/.screenlayout directory is not writable by your user. (this
  might, for example, happen when the first screen layout you save was
  saved by root). again, arandr can't do much about it.

i've added a todo item to the bug tracker on alioth[1] with respect to
the lack of proper error messages, but to solve your issue, please check
that your home and/or ~/.screenlayout directories are user owned and
writable.

best regards
chrysn

[1]
https://alioth.debian.org/tracker/?func=detail&atid=413123&aid=314907&group_id=100834


** Bug watch added: alioth.debian.org/ #314907
   http://alioth.debian.org/support/tracker.php?aid=314907

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401814

Title:
  ARandR needs to bu run as root to write config file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arandr/+bug/1401814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to