Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have to use gsettings from /opt so that ubuntu maintainers will accept my application.

I may not use /usr or any of the underlying directories so /usr/share/glib-2.0/schemas is not an option.

share|improve this question
add comment

2 Answers

Did you try quickly?

quickly package --extras

This will use the /opt directory.

share|improve this answer
1  
I do not use python. –  Aleksandar Jul 5 '12 at 10:21
    
I use vala and I do not use quickly. –  Aleksandar Jul 5 '12 at 13:50
add comment

I solved this by creating a wrapper script :

GSETTINGS_SCHEMA_DIR=~/.local/share/glib-2.0/schemas /opt/my_app_dir/my_app

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.