-
Senior Member
registered user
Hm.
I don't know what will work and what will not work.
I wouldn't recommend deletion, but perhaps you find a hint where the desktop-logos are created, and - after making a backup of course - comment that section out.
-
Junior Member
registered user
Originally Posted by
GuyLeDouche
I did install the Knoppix way. Can I just get rid of that file/edit it?
Yes you could edit it. The file (knoppix-autoconfig or whatever the name was) is very well documented (in the file!). Just search for the word "icons" and you will find it.
The comment it out by putting a # at the start of the lines which are responsible for creating the icons.
If you need further help, please ask.
PS: And don't forget to make a backup (= a copy) of the file you edit!!
-
Junior Member
registered user
Thank you all very much. For the record, the file was called /etc/init.d/knoppix-hd-autoconfig. There was a function called update_desktop_hdicons(). In it, there was an if statement that said if the user was root to make the icons. I had to comment out the whole if statement. It looked something like this:
Code:
if [ "$user" != "root ]; then
su "$user" -c mkdesktophdicons
fi
I just commented that out with "#". And shabam it's fixed. Thanks again all.[/code]
-
Junior Member
registered user
Originally Posted by
GuyLeDouche
... there was an if statement that said if the user was root to make the icons.
Code:
if [ "$user" != "root ]; then
su "$user" -c mkdesktophdicons
fi
Only for the sake of completeness:
= means is
!= means not is or is not. Because ! is the Symbol for not
So the if statement means: If the User is NOT root, then...
Ok, that was it.
-
This is what I did
you can try this....type:
chmod /usr/bin/mkdesktophdicons -x
worked for me....it just sets the file that re-creates the icons as not being executable
Cheers
-
Senior Member
registered user
Similar Threads
-
By marilbil in forum General Support
Replies: 1
Last Post: 08-24-2005, 03:40 AM
-
By oganika in forum Customising & Remastering
Replies: 3
Last Post: 05-27-2005, 10:45 AM
-
By Lion in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-13-2005, 10:45 PM
-
By matbehns in forum General Support
Replies: 3
Last Post: 02-10-2005, 11:20 AM
-
By Tortoise in forum Ideas
Replies: 3
Last Post: 08-01-2003, 01:33 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro
$115.00
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU
$399.04
Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3
$17.99
Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7
$17.99
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$44.99
Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5
$46.00
INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6
$99.99
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98