Doesn't work with Nautilus 3.2

Bug #866044 reported by Alin Andrei
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gloobus-preview
Fix Committed
Undecided
Unassigned

Bug Description

After I copy a file and then use the keybinding I've set to run Gloobus Preview, it just shows my home folder, not the file I've copied.

Tested using Nautilus 3.2.

summary: - Doesn't work with Nautilus 3
+ Doesn't work with Nautilus 3.2
Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

the problem is that clipboard checking was removed "because nautilus-elementary supports direct gp launching" (weird)

I've written a python script (attachment) that checks the clipboard and launches gp if finds a file there, just run it with you keybinding

also I've written a script that replaces sushi with gp, so you can preview file with gp using space key. I just need to package it

Revision history for this message
Alin Andrei (nilarimogard) wrote :

The script that replaces Sushi with Gloobus Preview would be great!

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote : Re: [Bug 866044] Re: Doesn't work with Nautilus 3.2

here it is
https://code.launchpad.net/gloobus-sushi
https://aur.archlinux.org/packages.php?ID=52926

I'll try to add it to PPA later

On Tue, Oct 4, 2011 at 10:08 PM, Alin Andrei <email address hidden>wrote:

> The script that replaces Sushi with Gloobus Preview would be great!
>
> --
> You received this bug notification because you are a member of Gloobus
> Developers, which is the registrant for gloobus-preview.
> https://bugs.launchpad.net/bugs/866044
>
> Title:
> Doesn't work with Nautilus 3.2
>
> Status in Gloobus Preview:
> New
>
> Bug description:
> After I copy a file and then use the keybinding I've set to run
> Gloobus Preview, it just shows my home folder, not the file I've
> copied.
>
> Tested using Nautilus 3.2.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gloobus-preview/+bug/866044/+subscriptions
>

Revision history for this message
Alin Andrei (nilarimogard) wrote :

I've debianized Gloobus Sushi (added conflicts and replaces for all the gnome-sushi packages) and uploaded it to this test PPA: https://launchpad.net/~nilarimogard/+archive/test/+packages

In the same PPA I've also uploaded a fixed Gloobus Preview for Ubuntu 11.10 Oneiric Ocelot - the Natty version doesn't work in Oneiric:
- there was an issue with "bool ok" in gloobus-preview-theme.cpp which caused the build to fail on Oneiric due to gcc 4.6
- debian folder: updated "postinst" file for Oneiric (replaced /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders with /usr/bin/gdk-pixbuf-query-loaders)

If you think the packages are ok, you can copy or re-upload them to the Gloobus Preview PPA...

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

thank you, Alin

On Wed, Oct 19, 2011 at 2:02 PM, Alin Andrei <email address hidden>wrote:

> I've debianized Gloobus Sushi (added conflicts and replaces for all the
> gnome-sushi packages) and uploaded it to this test PPA:
> https://launchpad.net/~nilarimogard/+archive/test/+packages<https://launchpad.net/%7Enilarimogard/+archive/test/+packages>
>
> In the same PPA I've also uploaded a fixed Gloobus Preview for Ubuntu 11.10
> Oneiric Ocelot - the Natty version doesn't work in Oneiric:
> - there was an issue with "bool ok" in gloobus-preview-theme.cpp which
> caused the build to fail on Oneiric due to gcc 4.6
> - debian folder: updated "postinst" file for Oneiric (replaced
> /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders with
> /usr/bin/gdk-pixbuf-query-loaders)
>
> If you think the packages are ok, you can copy or re-upload them to the
> Gloobus Preview PPA...
>
> --
> You received this bug notification because you are a member of Gloobus
> Developers, which is the registrant for gloobus-preview.
> https://bugs.launchpad.net/bugs/866044
>
> Title:
> Doesn't work with Nautilus 3.2
>
> Status in Gloobus Preview:
> New
>
> Bug description:
> After I copy a file and then use the keybinding I've set to run
> Gloobus Preview, it just shows my home folder, not the file I've
> copied.
>
> Tested using Nautilus 3.2.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gloobus-preview/+bug/866044/+subscriptions
>

Changed in gloobus-preview:
status: New → Fix Committed
Revision history for this message
Alin Andrei (nilarimogard) wrote :

There is an issue with my Gloobus Package that I overlooked: I've updated the "/usr/bin/gdk-pixbuf-query-loaders" command in the postinst file to work with Ubuntu 11.10, but I didn't realize that this command now requires "libgdk-pixbuf2.0-dev" package. So please either remove the postinst script or add "libgdk-pixbuf2.0-dev" as a dependency (but this brings in quite a few other packages)...

I can do this in my test PPA if you want and you can just copy it to the Gloobus Preview PPA, but let me know if you want me to remove the postinst file or add libgdk-pixbuf2.0-dev as a dependency.

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

sorry, I'm not an ubuntu user, so I understand very little about ubuntu
packaging/etc.
if I remember we had this problem before, but I'm not sure if it was ever
solved
I've looked the files provided by libgdk-pixbuf2.0 and there is
gdk-pixbuf-query-loaders binary in /usr/lib/.../gdk..
http://packages.ubuntu.com/oneiric/amd64/libgdk-pixbuf2.0-0/filelist
on the other side in libgdk-pixbuf2.0-dev gdk-pixbuf-query-loaders is in
/usr/bin but it is just a symlink to the file in libgdk-pixbuf2.0, so we
don't really need the dev package, but I'm not sure if it is possible to use
in postinst the binary from /usr/lib/..
any ideas?

Revision history for this message
Alin Andrei (nilarimogard) wrote :

Initially, the postinst file was calling /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders

But in Oneiric, the file is in different locations for 32bit and 64bit: it's /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders for 64bit and /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders for 32bit.

I've updated the postinst file to use the new location (/usr/lib/...) for Oneiric in my test PPA so you can copy it to the Gloobus PPA: https://launchpad.net/~nilarimogard/+archive/test/+packages

Revision history for this message
Alin Andrei (nilarimogard) wrote :

Can you please read my comment above?

Thanks!

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

it should work I suppose (I don't have an oneiric install right now), I will copy it to the ppa, thank you

Balló György (ballogy)
Changed in gloobus-preview:
milestone: none → 0.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.