[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-19 Thread nZain
tried this the x'th time now - doesn't work for me.

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-12 Thread nZain
Pausanias wrote:
 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.

I used the exact same file, sorry for not beeing clear. I really
appreciate your help. Too sad, it doesn't work for my system, mh.

 Also, I rejected the most recent evince update with the newer apparmor
profile.

A diff of my current file (current upstream + totemvlc entries) to your
posted file shows the changes for tiff extensions:

patr...@dell-xps:launchpad$ diff /etc/apparmor.d/abstractions/evince evince
84d83
   /**.[tT][iI][fF] r,

 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.)

Thanks for the hint, I managed to change the default for mp4 (example
posted above) to vlc. Although evince cannot access
/etc/gnome/defaults.list it knows that vlc is now the default. However,
the error remains. /var/log/kern.log says

Nov 12 10:44:04 dell-xps kernel: [ 1240.946766] type=1503
audit(1258019044.071:23): operation=exec pid=2993 parent=2992
profile=/usr/bin/evince requested_mask=::x denied_mask=::x
fsuid=1000 ouid=0 name=/usr/bin/vlc

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-11 Thread nZain
I rebooted, since I didn't know, how to reload apparmor. I didn't modify
/etc/apparmor.d/usr.bin.evince - maybe this file overrides the other
one?

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-11 Thread nZain
For my previous postings, my file was the same as the one posted by
Pausanias on 2009-11-10. The attached file is the current one (no time
for a diff, its lunchtime - sry).

Just to prevent confusion - today I got some evince-related updates from
the update-manager, and thus the /etc/apparmor.d/abstractions/evince
file changed. It asked me to keep my modified version or to get the
current upstream version. I accepted the current upstream version, so my
current file is not the same as posted by Pausanias on 2009-11-10.
However, the changes were related to browsers and other stuff - totem,
vlc, and videos were not involved. Consequently the problem remains
unsolved. The current upstream version gives me the same errors as
before. I'll now try to add the mystical two lines, again, and reload
apparmor.

Unfortunately, nothing changed. The message in kern.log remains, telling

Nov 11 12:00:31 dell-xps kernel: [ 1098.989525] type=1503
audit(1257937231.565:30): operation=exec pid=2418 parent=2417
profile=/usr/bin/evince requested_mask=::x denied_mask=::x
fsuid=1000 ouid=0 name=/usr/bin/totem

Furthermore evince is unable to read the /etc/gnome/defaults.list

Nov 11 11:59:38 dell-xps kernel: [ 1045.440625] type=1503
audit(1257937178.014:28): operation=open pid=2408 parent=1
profile=/usr/bin/evince requested_mask=::r denied_mask=::r
fsuid=1000 ouid=0 name=/etc/gnome/defaults.list

Anyways, I'm not able to change the default video player.. tried
system-preferences-preferred applications, but the menu only talks
about multimedia in general. In nautilus I can change the applications,
but this is for media-insertion (like cds).

** Attachment added: evince
   http://launchpadlibrarian.net/35529257/evince

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-10 Thread nZain
Unfortunatelly, this did not solve the problem. Comparing my
/etc/apparmor.d/abstractions/evince with yours showed that you added the
following two lines (in the supported archivers paragraph)

  /usr/bin/vlc ixr,
  /usr/bin/totem ixr,

I also added the lines to my evince file and rebooted. However, this
didn't resolve the problem. In /var/log/kern.log I found another entry
that could be related to this problem. After clicking on the movie link
in my pdf file, the following lines appear in /var/log/kern.log

Nov 10 11:37:05 dell-xps kernel: [  468.494963] type=1503 
audit(1257849425.550:24): operation=open pid=2009 parent=1981 
profile=/usr/bin/evince requested_mask=::r denied_mask=::r fsuid=1000 
ouid=0 name=/etc/gnome/defaults.list
Nov 10 11:37:05 dell-xps kernel: [  468.499915] type=1503 
audit(1257849425.554:25): operation=exec pid=2013 parent=1 
profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 
ouid=0 name=/usr/bin/totem

I think, evince first tries to figure out which is the default video
player by accessing /etc/gnome/defaults.list (mask=::r means ready
only, I guess?) - it fails, but evince then uses totem anyways, which is
indeed the default on my almost fresh install of karmic. However, that
fails too. I'm not sure about those masks - but I'm trying to enable
read access to /etc/gnome/defaults.list and report back in a few
minutes.

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-10 Thread nZain
In order to allow the access to the defaults.list, I added

  /etc/gnome/defaults.list r,

but nothing changed. Guess I should stop fishing in this muddy water and
let the pros fix it.

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-09 Thread nZain
This bug affects me, too (Karmic Koala). Links to external files in a
PDF document cannot be opened by evince due to permission problems. I
generated a minimal example pdf using latex (see attachments movie.pdf,
movie.mp4, movie.tex). The movie is required to be in the same directory
as the PDF document.

** Attachment added: the pdf document (requires movie.mp4)
   http://launchpadlibrarian.net/35410360/movie.pdf

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-09 Thread nZain

** Attachment added: movie.mp4
   http://launchpadlibrarian.net/35410406/movie.mp4

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-09 Thread nZain

** Attachment added: LaTeX source code to generate the PDF
   http://launchpadlibrarian.net/35410421/movie.tex

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 462419] Re: evince apparmor profile prevents movies from opening

2009-11-09 Thread nZain
The command
$ grep audit /var/log/kern.log
reveals:

Nov  9 12:02:26 dell-xps kernel: [ 7516.169972] type=1503
audit(1257764546.009:31): operation=exec pid=3890 parent=1
profile=/usr/bin/evince requested_mask=::x denied_mask=::x
fsuid=1000 ouid=0 name=/usr/bin/totem

best regards
   Patrick

-- 
evince apparmor profile prevents movies from opening
https://bugs.launchpad.net/bugs/462419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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


[Bug 373367] Re: Pointer goes offscreen on non-rectangular dual-head

2009-05-15 Thread nZain
I can confirm this problem on my Laptop+ext.VGA combination (Intel
onboard graphic).

Due to another problem with the notify-osd (positioned in the non-
visible area of the virtual screen, see
https://bugs.launchpad.net/bugs/367947), I'm currently forced to align
the top of primary with the top of the secondary screen - resulting in a
non-visible area at the bottom of the second screen. Hitting the window-
list on the bottom gnome-panel is quite tricky with the mouse leaving
the screen. Thus, I'd be really happy if the non-visible area is not
accessible for the mouse. By converting affected mouse coordinates
(vertical ones in my case) to the corresponding screen height (width for
horizontal screen setups), this problem should be resolved.

On screen change (from sc0 to sc1):
mouse.curPos= (mouse.prevPos - sc0.visMin) / (sc0.visMax - sc0.visMin) * 
(sc1.visMax - sc1.visMin) + sc1.visMin
where visMin and visMax is the visible area of the screen.

best
Patrick

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

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