As I hinted at in this post, I'm working on a nice frontend to edit the values in /etc/mce/mce.ini (There's some neat stuff in there!) I realize this should normally be left to advanced users, but there are some options that should be exposed in a frontend.
The problem I'm running into is this: I can't write to /etc/mce/mce.ini when running the application as user (as it would run from the application launcher). Any ideas? I'd like to stay away from using something like rootsh, or running the whole application as root, and really find a pure-python solution, but I'd go for something else if need be.
[edit] False alarm! I decided to create a sudoers entry, and another python script to do the dirty work. Seems to work well, doesn't require the user to install anything extra, and is (mostly) python.
The problem I'm running into is this: I can't write to /etc/mce/mce.ini when running the application as user (as it would run from the application launcher). Any ideas? I'd like to stay away from using something like rootsh, or running the whole application as root, and really find a pure-python solution, but I'd go for something else if need be.
[edit] False alarm! I decided to create a sudoers entry, and another python script to do the dirty work. Seems to work well, doesn't require the user to install anything extra, and is (mostly) python.
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
Last edited by TrueJournals; 2009-03-24 at 17:32. Reason: Figured it out...