nZain, I'm not sure what's wrong with your setup, because replacing /etc/apparmor.d/abstractions/evince with the file I attached worked flawlessly for me after restarting apparmor. Did you try using my exact file, rather than editing your own file? I did not modify usr.bin.evince.
Also, I rejected the most recent evince update with the newer apparmor profile.
To change default player, you have to do it by extension. Find and AVI file in nautilus. Right-click, properties, open with, select your media player (totem or vlc). You have to repeat this with each type of file (mp4, mpg, etc.)
And I still think the state of the evince apparmor profile has not been well thought out. You should not be restricting the helper applications that a user can call from evince. What if I want to make a presentation that views a .XYZ file with my special graphics program renderXYZ (not at all uncommon for scientific presentations)? I have to have root access so I can edit that abstraction file? This is a poor design choice.
nZain, I'm not sure what's wrong with your setup, because replacing /etc/apparmor. d/abstractions/ evince with the file I attached worked flawlessly for me after restarting apparmor. Did you try using my exact file, rather than editing your own file? I did not modify usr.bin.evince.
Also, I rejected the most recent evince update with the newer apparmor profile.
To change default player, you have to do it by extension. Find and AVI file in nautilus. Right-click, properties, open with, select your media player (totem or vlc). You have to repeat this with each type of file (mp4, mpg, etc.)
And I still think the state of the evince apparmor profile has not been well thought out. You should not be restricting the helper applications that a user can call from evince. What if I want to make a presentation that views a .XYZ file with my special graphics program renderXYZ (not at all uncommon for scientific presentations)? I have to have root access so I can edit that abstraction file? This is a poor design choice.