Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have my hard drive split between Mandrake and Windows-XP and I just wanted to have easy access to the documents in Windows. So, I just created a desktop link to: file:/mnt/win c, which works just fine. Now, how do I go about changing the icon from the default folder icon to something more personalized?
When I go to Properties and select the current icon I am allowed to browse my icons and select the one I want. The problem is that when I hit okay I get:
Could not save properties. You do not have sufficient access to write to /home/eek/Desktop/win_c/.directory.
IF you know the root password, you could do the following...
su <password>
chown user:group /home/eek/Desktop/win_c/.directory
where user is your username and group is the group to which you belong. To find out what group(s) you belong to, do the following as your regular user (not root)
groups
so, if groups returned "user" as your group, and your username is dave, then it would look like this
Is it possible that you don't have the partition mounted? Try doing
mount /mnt/win_c
and then re-try the chown command. If it still gives you "No such file or directory" then lets dig a little...
try doing
cd /mnt
ls -al
and post the output in a reply. Then, also post the output of
cd /mnt/win_c
ls -al
I'm trying to determine if the file even exists, and also make sure that you're mounting it correctly. Perhaps, while we're at it, you could also post the output from
less /etc/fstab
you should be able to just highlight everything it shows, and then right click it and copy it, so that you can paste it here without re-typing it...
That info should be all we need to figure out what's going on...
[root@eek eek]# mount /mnt/win_c
mount: /dev/hda1 already mounted or /mnt/win_c busy
mount: according to mtab, /dev/ide/host0/bus0/target0/lun0/part1 is already mounted on /mnt/win_c
Jeff.......thanks for the help, you were right. I've got the thing changed.
Second:
New question to any who would care to take a look...
I have just changed the icon from the default "blue folder" to a custom icon for the Windows partition, but now I cannot see the files that were there previously, even using the terminal.
Well, if you're running KDE then use nedit to edit it, as follows:
nedit /etc/fstab &
If you're using Gnome, just replace nedit with gedit. I find these nice as they are similar to the typical windows text editors in that you can cntl-c and cntl-v and all those nifty keyboard shortcuts, and the GUIs are similar. If you like, here's some you can try by replacing the nedit in the above command:
emacs
xemacs
pico
So, once you've got fstab open, just edit the line in question and save. Then remember to do the umount/mount commands to remount the partition.
Good luck...
<edit>pico is actually a bit different, so don't expect the keyboard shortcuts or GUI in that...
Last edited by jeffreybluml; 07-09-2004 at 07:53 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.