Public bug reported: When I run a script from the desktop, it thinks it's running in /home/user rather than /home/user/Desktop
For example the following: #!/bin/bash zenity --info --text=$PWD exit in a file /home/musther/Desktop/test executed graphically (double click) on the desktop and hit run or 'run in terminal', gives the output '/home/musther' rather than '/home/musther/Desktop' If run from the command line, the correct output is given, ie the directory from which it is run. ProblemType: Bug Architecture: i386 Date: Thu Apr 5 14:38:59 2007 DistroRelease: Ubuntu 7.04 Uname: Linux dominus 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux ** Affects: Ubuntu Importance: Undecided Status: Unconfirmed -- scripts running from desktop : $PWD = /home/user https://bugs.launchpad.net/bugs/103144 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs