Results 1 to 3 of 3
Hi all,
I need to build an instalaltion script for my project where I need to access to the Desktop.
The folder in the English installation is $HOME/Desktop, but it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-14-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 18
Where is the Desktop?
Hi all,
I need to build an instalaltion script for my project where I need to access to the Desktop.
The folder in the English installation is $HOME/Desktop, but it varies in installation
in other languages ($HOME/Scrivania in Italian for example).
Is there a way to get the correct directory name?
Something like an environment variable $DESKTOP pointing to the name of
the Desktop in the current installation?
thaks
Giammy
--
Gianluca MoroLast edited by oz; 02-17-2010 at 09:59 PM. Reason: removed spam
- 02-14-2010 #2
There isn't a variable for the desktop, but the
key ~ is a shortcut to the user's home
directory, so maybe ~/Desktop would
be the right expression.
- 02-14-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 18
Hi,
your expression ~/Desktop works correctly on English-configured
systems, but if the system has been installed with another localization,
that directory do not exist.
(For Italian, it is ~/Scrivania, an so on for other languages)
bye
Giammy
--
Gianluca MoroLast edited by oz; 02-17-2010 at 09:47 PM. Reason: removed spam


Reply With Quote
