linuxmint / mintdesktop

Desktop configuration tool for MATE and Xfce
http://www.linuxmint.com
56 stars 25 forks source link

Menu item "Create Link" gives unexpected results #42

Open scootergrisen opened 3 years ago

scootergrisen commented 3 years ago

When i right click inside a Thunar window i can see the menu item "Create Link" that seems to be added by Linux Mint.

If i right click inside a Thunar window like the Music folder and select "Create Link" i get a symlink called:

Link to Music

If i do it again i get another symlink called:

Music

Third time does nothing.

In Thunar > Edit > Configure custom actions... the command is:

ln -s %f 'Link to %n'

Seems like adding -T might fix the double "Link to Music/Music" problem.

But the text "Link to" requires translation and it seems not to be nesassary to add the text to a symlink since you already have the little arrow above the icon so i suggest removing "Link to ".

Maybe one of these can be used:

ln -Ts %f %n
ln -Ts %f "Link to"%n

Maybe read about -T in http://www.gnu.org/software/coreutils/manual/html_node/Target-directory.html#Target-directory

Linux Mint 20.1 Xfce 4.14