LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-23-2010, 01:30 PM   #16
TheMadMoose
Member
 
Registered: Jan 2010
Distribution: Ubuntu Server 12.04
Posts: 30

Original Poster
Rep: Reputation: 15

Well I'm running as root to eliminate any permission problems, I'm just using the default file manager that is with gnome.
 
Old 11-01-2010, 04:52 AM   #17
Always_Learning
LQ Newbie
 
Registered: Nov 2010
Posts: 25

Rep: Reputation: 1
Something's changed

I'm on 10.04 Lucid Lynx and am having the same issue as the original poster.

I suspect that either Nautilus or Gnome itself has changed its drag-and-drop behaviour recently - probably within the last two or three months.

For example, if I'm on the Birthday Reminder page at Thunderbird add-ons, I used to be able to drag-and-drop the favicon from the Location bar, or even from the History tab, into an open Nautilus window and it would create something like a Birthday\ Reminder.desktop file (a "link" file) whose contents were like the following:

[Desktop Entry]
Encoding=UTF-8
Name=Birthday Reminder
Type=Link
URL=https://addons.mozilla.org/en-US/thunderbird/addon/3680/
Icon=gnome-fs-bookmark
Name[en_AU]=Birthday Reminder

When I try to do this now, instead of a nice .desktop file, I get a file named "3680" which is the HTML content of the current page.

Further evidence that this is a change in Nautilus/Gnome: I can drag-and-drop the favicon from Firefox's Location bar into Konqueror and it opens the correct URL. If I then drag-and-drop the favicon from Konqueror's Location bar into Nautilus I again get a HTML file instead of the expected .desktop file.

Can anyone else confirm this behaviour?
 
Old 11-01-2010, 07:29 AM   #18
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Actually, the second behavior makes more sense. Dropping a URL of a remote file copies (downloads) it, just like dropping a local URL (a file on your computer) would copy it.
 
Old 11-01-2010, 11:21 PM   #19
Always_Learning
LQ Newbie
 
Registered: Nov 2010
Posts: 25

Rep: Reputation: 1
Quote:
Originally Posted by MTK358 View Post
Actually, the second behavior makes more sense. Dropping a URL of a remote file copies (downloads) it, just like dropping a local URL (a file on your computer) would copy it.
Actually, it makes no sense at all. Every browser I've used that supports drag-and-drop of the favicon from the location bar has always created a .desktop file (Linux) or .url file (Windows) in the shell.

Nautilus used to do this consistently, but something has changed. For example, I just visited the following URLs in Firefox, waited for the pages to complete loading, and then dragged the favicon from the location bar into a Nautilus window viewing an empty folder...

1. https://addons.mozilla.org/en-US/firefox/

Generates a HTML file named: firefox

2. http://www.amazon.com/

Error while copying "/".
There was an error getting information about "/".
Show more details: HTTP Error: Method Not Allowed

3. http://www.ebay.com/

Error while copying "/".
There was an error copying the file into /home/USER/directory.
Show more details: Error opening file '/': Is a directory

4. http://www.wikipedia.org/

Correctly generates a link file named: Link\ to\ Wikipedia.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Link to Wikipedia
Type=Link
URL=http://www.wikipedia.org/
Icon=gnome-fs-bookmark

That's pretty inconsistent behaviour, but at least the .desktop file generation isn't totally and completely broken. It's just Pot Luck.
 
Old 11-02-2010, 07:47 AM   #20
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
What I meant was that downloading the HTML would be the natural behavior if someone didn't write code to intervene and create a desktop file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kompozer drag&drop images: Not working in KDE as it works in Windows octinum Linux - Desktop 4 11-10-2009 12:15 AM
Drag and Drop PapillonRus Linux - General 1 08-11-2008 09:44 AM
drag and drop seaking Linux - Desktop 0 05-25-2007 12:05 PM
Firefox location drag-n-drop to desktop not working keratos Ubuntu 2 05-16-2007 09:04 AM
drag and drop poeta_boy Programming 4 11-23-2006 08:32 PM


All times are GMT -5. The time now is 04:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration