FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-18-2008, 04:05 AM
"Johnny Rosenberg"
 
Default Annoying behavious of Nautilus when drag+drop as link

When, in Nautilus, I drag a file from one map to another and press Ctrl+Shift when releasing the mouse button, a link will be created in the destination folder, but the really annoying thing is that the destination link will be called something like "Link to Myfile.xxx" if the target file is MyFile.xxx. I really have to get rid of this adding-"Link to"-to-every-link-I-create behaviour, because it's a lot of extra work to remove that part of the link name for all of the files (I would guess there will be hundreds of them, all spread out in a lot of different folders, in this particular case since many files could be placed in a few different folders and I don't want any copies of anything except for backup). Of course there is a lot of ways I could solve this afterwards, like writing a script that searches for all those files and removes the first part of their names, but it would really be the most convenient thing to not having that stuff added to the name in the first place.



Well, I suppose there should follow a question to this, so:

How can I, using Nautilus, create a link that has exactly the same name as the target file, that is without the addition of "Link to " in it. I know this is possible in Windows, by changing a setting somewhere, and I really hope this is possible in Ubuntu/Gnome/Nautilus too.


Thanks in advance.

Johnny Rosenberg

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 04:06 AM
"Johnny Rosenberg"
 
Default Annoying behavious of Nautilus when drag+drop as link

And sorry for all the spelling errors, such as "behavious" in the subject line… Of course I mean "behaviour".

J.R.


2008/7/18 Johnny Rosenberg <gurus.knugum@gmail.com>:


When, in Nautilus, I drag a file from one map to another and press Ctrl+Shift when releasing the mouse button, a link will be created in the destination folder, but the really annoying thing is that the destination link will be called something like "Link to Myfile.xxx" if the target file is MyFile.xxx. I really have to get rid of this adding-"Link to"-to-every-link-I-create behaviour, because it's a lot of extra work to remove that part of the link name for all of the files (I would guess there will be hundreds of them, all spread out in a lot of different folders, in this particular case since many files could be placed in a few different folders and I don't want any copies of anything except for backup). Of course there is a lot of ways I could solve this afterwards, like writing a script that searches for all those files and removes the first part of their names, but it would really be the most convenient thing to not having that stuff added to the name in the first place.




Well, I suppose there should follow a question to this, so:

How can I, using Nautilus, create a link that has exactly the same name as the target file, that is without the addition of "Link to " in it. I know this is possible in Windows, by changing a setting somewhere, and I really hope this is possible in Ubuntu/Gnome/Nautilus too.



Thanks in advance.

Johnny Rosenberg



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 06:28 AM
Peter Garrett
 
Default Annoying behavious of Nautilus when drag+drop as link

On Fri, 18 Jul 2008 06:05:28 +0200
"Johnny Rosenberg" <gurus.knugum@gmail.com> wrote:

> When, in Nautilus, I drag a file from one map to another and press
> Ctrl+Shift when releasing the mouse button, a link will be created in the
> destination folder, but the really annoying thing is that the destination
> link will be called something like "Link to Myfile.xxx"

I had never noticed this, since I usually make links with "ln -s" - it
really *is* annoying, isn't it? Not to mention stupid, since among other
things it introduces spaces into the link name... which means more
work/attention if writing scripts etc.

I know that you specified nautilus, but you might consider using a
different file manager for this task. I use the Rox filer:

sudo apt-get install rox-filer

On drag-and-drop, rox offers to make a link, copy or move (you get a
little menu to choose from), and it doesn't do this sort of silly stuff
- it just gives you a symlink as $DEITY intended

Rox is quite small, fast, and configurable, and its help file is
actually helpful ( *gasp* ). As far as I can see it does not create a
menu entry, but you can of course create your own with the menu editor,
or make a custom launcher for it.

You can change the default blue Rox "folder" icons under right-click ->
Options -> Types ( choose "human" or whatever suits you ) There are
lots of other options, but that's more than you asked for anyway

Worth exploring - I have used rox for years now when needing a
graphical file manager, and hardly ever use Nautilus any more...

If you want to create a lot of links graphically, this might be a
solution for you.

--
Peter Garrett <peter.garrett@optusnet.com.au>
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 08:09 AM
"Rutger van Haasteren"
 
Default Annoying behavious of Nautilus when drag+drop as link

many files could be placed in a few different folders and I don't want any copies of anything except for backup). Of course there is a lot of ways I could solve this afterwards, like writing a script that searches for all those files and removes the first part of their names, but it would really be the most convenient thing to not having that stuff added to the name in the first place.

Hi Johnny,



I am not a Nautilus expert as I do not use it, so no help there, but
mass-renaming is simple. There are many gui apps out there that are
able to do it, but I usually use this in a shell. For you something
like this should do the trick:



$ rename 's/Link to //' *.xxx



Better than writing a script, but hopefully there is a Nautilus option... Look up man rename.


Rutger
*


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 03:25 PM
"Johnny Rosenberg"
 
Default Annoying behavious of Nautilus when drag+drop as link

2008/7/18 Peter Garrett <peter.garrett@optusnet.com.au>:

On Fri, 18 Jul 2008 06:05:28 +0200

"Johnny Rosenberg" <gurus.knugum@gmail.com> wrote:



> When, in Nautilus, I drag a file from one map to another and press

> Ctrl+Shift when releasing the mouse button, a link will be created in the

> destination folder, but the really annoying thing is that the destination

> link will be called something like "Link to Myfile.xxx"



I had never noticed this, since I usually make links with "ln -s" - it

really *is* annoying, isn't it? Not to mention stupid, since among other

things it introduces spaces into the link name... which means more

work/attention if writing scripts etc.



I know that you specified nautilus, but you might consider using a

different file manager for this task. I use the Rox filer:



sudo apt-get install rox-filer



On drag-and-drop, rox offers to make a link, copy or move (you get a

little menu to choose from), and it doesn't do this sort of silly stuff

- it just gives you a symlink as $DEITY intended



Rox is quite small, fast, and configurable, and its help file is

actually helpful ( *gasp* ). As far as I can see it does not create a

menu entry, but you can of course create your own with the menu editor,

or make a custom launcher for it.



You can change the default blue Rox "folder" icons under right-click ->

Options -> Types ( choose "human" or whatever suits you ) There are

lots of other options, but that's more than you asked for anyway



Worth exploring - I have used rox for years now when needing a

graphical file manager, and hardly ever use Nautilus any more...



If you want to create a lot of links graphically, this might be a

solution for you.



--

Peter Garrett <peter.garrett@optusnet.com.au>




Thanks! I might just try it!


J.R.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 03:40 PM
 
Default Annoying behavious of Nautilus when drag+drop as link

On Fri, 18 Jul 2008 17:25:06 +0200, "Johnny Rosenberg"
<gurus.knugum@gmail.com> wrote:

>>
>> I know that you specified nautilus, but you might consider using a
>> different file manager for this task. I use the Rox filer:
>>
>> sudo apt-get install rox-filer
>>
>> On drag-and-drop, rox offers to make a link, copy or move (you get a
>> little menu to choose from), and it doesn't do this sort of silly stuff
>> - it just gives you a symlink as $DEITY intended
>>
>> Rox is quite small, fast, and configurable, and its help file is
>> actually helpful ( *gasp* ). As far as I can see it does not create a
>> menu entry, but you can of course create your own with the menu editor,
>> or make a custom launcher for it.
>>
>> You can change the default blue Rox "folder" icons under right-click ->
>> Options -> Types ( choose "human" or whatever suits you ) There are
>> lots of other options, but that's more than you asked for anyway
>>
>> Worth exploring - I have used rox for years now when needing a
>> graphical file manager, and hardly ever use Nautilus any more...
>>
>> If you want to create a lot of links graphically, this might be a
>> solution for you.
>>
>> --
>> Peter Garrett <peter.garrett@optusnet.com.au>
>>
>>
>> Thanks! I might just try it!
>
> J.R.

I know it comes with the QT overhead but Dolphin takes some beating now.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 05:37 PM
NoOp
 
Default Annoying behavious of Nautilus when drag+drop as link

On 07/17/2008 11:28 PM, Peter Garrett wrote:
> On Fri, 18 Jul 2008 06:05:28 +0200
> "Johnny Rosenberg" <gurus.knugum@gmail.com> wrote:
>
>> When, in Nautilus, I drag a file from one map to another and press
>> Ctrl+Shift when releasing the mouse button, a link will be created in the
>> destination folder, but the really annoying thing is that the destination
>> link will be called something like "Link to Myfile.xxx"
>
> I had never noticed this, since I usually make links with "ln -s" - it
> really *is* annoying, isn't it? Not to mention stupid, since among other
> things it introduces spaces into the link name... which means more
> work/attention if writing scripts etc.
>
> I know that you specified nautilus, but you might consider using a
> different file manager for this task. I use the Rox filer:
>
> sudo apt-get install rox-filer
>

Xubuntu comes with Thunar which has a bulk renamer:
http://thunar.xfce.org/pwiki/documentation/bulk_renamer

sudo apt-get install thunar

It will pull in the dependencies and take up about 15.4MB:

$ sudo apt-get install thunar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dbus-x11 libexo-0.3-0 libthunar-vfs-1-2 libxfce4mcs-client3
libxfce4mcs-manager3 libxfce4util4 libxfcegui4-4 thunar-data xfce4-panel
Suggested packages:
thunar-archive-plugin thunar-media-tags-plugin thunar-volman
The following NEW packages will be installed:
dbus-x11 libexo-0.3-0 libthunar-vfs-1-2 libxfce4mcs-client3
libxfce4mcs-manager3 libxfce4util4 libxfcegui4-4 thunar thunar-data
xfce4-panel
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 6180kB of archives.
After unpacking 15.4MB of additional disk space will be used.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 06:01 PM
Mario Vukelic
 
Default Annoying behavious of Nautilus when drag+drop as link

On Fri, 2008-07-18 at 16:28 +1000, Peter Garrett wrote:
> Not to mention stupid, since among other
> things it introduces spaces into the link name... which means more
> work/attention if writing scripts etc.

Whatever the merits of the Nautilus behavior, but come on!
Any script that barfs on spaces is broken.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 07:01 PM
"Brad De Vries"
 
Default Annoying behavious of Nautilus when drag+drop as link

On Fri, Jul 18, 2008 at 12:05 AM, Johnny Rosenberg
<gurus.knugum@gmail.com> wrote:
> When, in Nautilus, I drag a file from one map to another and press
> Ctrl+Shift when releasing the mouse button, a link will be created in the
> destination folder, but the really annoying thing is that the destination
> link will be called something like "Link to Myfile.xxx" if the target file
> is MyFile.xxx. I really have to get rid of this adding-"Link
> to"-to-every-link-I-create behaviour, because it's a lot of extra work to
> remove that part of the link name for all of the files (I would guess there
> will be hundreds of them, all spread out in a lot of different folders, in
> this particular case since many files could be placed in a few different
> folders and I don't want any copies of anything except for backup). Of
> course there is a lot of ways I could solve this afterwards, like writing a
> script that searches for all those files and removes the first part of their
> names, but it would really be the most convenient thing to not having that
> stuff added to the name in the first place.
>
> Well, I suppose there should follow a question to this, so:
>
> How can I, using Nautilus, create a link that has exactly the same name as
> the target file, that is without the addition of "Link to " in it. I know
> this is possible in Windows, by changing a setting somewhere, and I really
> hope this is possible in Ubuntu/Gnome/Nautilus too.
>
> Thanks in advance.
>
> Johnny Rosenberg

There is a bug report on this with a patch available, if you feel like
getting your hands a bit dirty.
http://bugzilla.gnome.org/show_bug.cgi?id=534432

HTH,
Brad.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-18-2008, 07:46 PM
"Loïc Grenié"
 
Default Annoying behavious of Nautilus when drag+drop as link

2008/7/18 Mario Vukelic <mario.vukelic@dantian.org>:
> On Fri, 2008-07-18 at 16:28 +1000, Peter Garrett wrote:
>> Not to mention stupid, since among other
>> things it introduces spaces into the link name... which means more
>> work/attention if writing scripts etc.
>
> Whatever the merits of the Nautilus behavior, but come on!
> Any script that barfs on spaces is broken.

There are more system scripts than you'd think that barf on
spaces. In addition by default xargs for instance takes spaces
as filename separators and filenames with embedded spaces
are a pain to manipulate with ssh/scp.

Loïc

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org