bug of nautilus scripts setting on Ubuntu 13.10

Bug #1242379 reported by Ningfei Li
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
High
Ding Zhou

Bug Description

Ubuntu 13.10
ubuntu tweak 0.8.6-1~saucy1

in /usr/share/pyshared/ubuntutweak/admins/scripts.py line 39:

    if system.CODENAME == 'raring':
        user_dir = os.path.expanduser('~/.local/share/nautilus/scripts')
    else:
        user_dir = os.path.join(os.getenv('HOME'), '.gnome2', 'nautilus-scripts')

This is obviously a bug...which will make nautilus scripts setting with ubuntu tweak on 13.10 not working

Ningfei Li (ningfei)
description: updated
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: none → 0.8.7
status: New → Confirmed
assignee: nobody → Ding Zhou (tualatrix)
importance: Undecided → High
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
Revision history for this message
aviramof (aviramof) wrote :

it doesn't work i installed ubuntu 14.04 on vmware and installed ubuntu tweak 0.8.7 and it doesn't open at all when i try to open it so the add support to ubuntu 14.04 is not good enaf i guess.

Revision history for this message
aviramof (aviramof) wrote :

you need to fix the support for ubuntu 14.04 again.

Revision history for this message
Ningfei Li (ningfei) wrote :

@aviramof
Hi, could you please try to open ubuntu-tweak from terminal with command rather than from the launcher? Then copy the output in the terminal and paste it here. Let's see what happens.
For me it works well on my 14.04 (not in virtual machine).

Revision history for this message
aviramof (aviramof) wrote :

compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity

now it's works but not from the launcher.

Revision history for this message
Ningfei Li (ningfei) wrote :

it's weird. Seems a problem with the desktop file.
Try:
sudo rm /usr/share/applications/ubuntu-tweak.desktop OR sudo rm /usr/local/share/applications/ubuntu-tweak.desktop
sudo apt-get purge ubuntu-tweak
sudo apt-get install ubuntu-tweak

Revision history for this message
aviramof (aviramof) wrote :

I tried what you said but no luck the launcher still don't work only the terminal command.

Revision history for this message
Ningfei Li (ningfei) wrote :

This is really weird...can be something related to the desktop file, if this just happens to ubuntu-tweak not to other apps in the launcher.

Revision history for this message
aviramof (aviramof) wrote :

are you going to fix it or not?
thanks in advance.

Revision history for this message
Ningfei Li (ningfei) wrote :

I think this might not be a problem of ubuntu-tweak.

check where is the desktop file, find all of them if there are multiple ones, they can be:
/usr/share/applications/ubuntu-tweak.desktop
/usr/local/share/applications/ubuntu-tweak.desktop
~/.local/share/applications/ubuntu-tweak.desktop
......

In terminal:
ls -hl PATH_TO_YOUR_DESKTOP_FILE
paste the output here.

Then:
sudo chmod a+x PATH_TO_YOUR_DESKTOP_FILE
see if the problem still exist.

Attach your desktop file here.

Revision history for this message
aviramof (aviramof) wrote :
Revision history for this message
aviramof (aviramof) wrote :
Revision history for this message
aviramof (aviramof) wrote :

now it's work for some reason but i have no idea why.

Revision history for this message
Ningfei Li (ningfei) wrote :

The first line: #!/usr/bin/env xdg-open should not be there. Simply remove it, then you can run it with the dedault 644 permission.

Revision history for this message
aviramof (aviramof) wrote :

How excally am i suppose to delete it and then recreate a new desktop file?

Revision history for this message
Ningfei Li (ningfei) wrote :

since it works now, you can just left it there.
otherwise:
gksu gedit PATH_TO_YOUR_DESKTOP_FILE
modify it and save.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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