shaligm

With reference to this gedit bug, I found the foll. link useful
https://bbs.archlinux.org/viewtopic.php?id=120283

The link advises editing the line in gedit.desktop to

Exec=gedit "$1" < /dev/null

I used Jedit to edit gedit.desktop. Any other text editor (other than
gedit in this instance, obviously) would work as well.

When I did as advised, double clicking to open any text file, resulted
in four open tabs titled: $1, < , null and the file in question. Files
$1, > and null are non-existent! But left click on trash bin functioned
normally!! It was a partial success.

But this gave me the idea of editing the file
/usr/share/applications/gedit.desktop with some changes.

On Ubuntu 12.04 LTS system
1) Open a terminal
2) cd /usr/share/applications
3) sudo jedit gedit.desktop (give password)
4) scroll to line 6 
5) It reads Exec=gedit %U
Edit the line to delete %U
Save
Exit jedit
Close terminal

After this edit, left click on trash icon opened trash folder. Also
double clicking on any text file icon, opens only that file in Gedit (no
multiple tabs). Problem solved entirely!

shaligm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357452

Title:
  left click trash bin opens gedit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1357452/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to