Feather Linux Forum Index Feather Linux
Public Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

strangle these icons!

 
Post new topic   Reply to topic    Feather Linux Forum Index -> Problems
View previous topic :: View next topic  
Author Message
arsenic



Joined: 01 Jan 2005
Posts: 15

PostPosted: Fri Jan 07, 2005 6:10 am    Post subject: strangle these icons! Reply with quote

im at that rip-your-flesh-off stage.
im trying to eradicate the icons from the desktop. what a stupid thing to waste so much time on.
.xtdesktop is obviously the problem. i hate this little program.
If i clear the .xtdesktop folder, linux doesn't finish my .xinitrc script and my keyboard fixes aren't loaded --> i.e. no erase button. rrgh. if i comment out or delete xtdesk from the .xinitrc file, same thing. the screen seems to do this strobe-light disco maneuver every time i startx now too...im *%&ing up this script i think...does anybody see waldo?

---CODE---

#!/bin/sh
### Utility Function(s)

# Simple shell grep
stringinfile(){
case "$(cat $2)" in *$1*) return 0;; esac
return 1
}

# same for strings
stringinstring(){
case "$2" in *$1*) return 0;; esac
return 1
}

# Reread boot command line; echo last parameter's argument or return false.
getbootparam(){
stringinstring " $1=" "$CMDLINE" || return 1
result="${CMDLINE##*$1=}"
result="${result%%[ ]*}"
echo "$result"
return 0
}

# Check boot commandline for specified option
checkbootparam(){
stringinstring " $1" "$CMDLINE"
return "$?"
}
### EOF utility functions

# Read in boot parameters
# This should work, but doesn't with Kernel 2.4.19-rc1
# CMDLINE="$(</proc/cmdline)" This should work, but doesn't with Kernel 2.4.19-rc1
# This works.
CMDLINE="$(cat /proc/cmdline)"

if checkbootparam proxy >/dev/null 2>&1; then
PROXY_IP="$(getbootparam proxy 2>/dev/null)"

export http_proxy=$PROXY_IP
export ftp_proxy=$PROXY_IP

fi



if ! checkbootparam notux >/dev/null 2>&1; then
xsri --center-x --center-y --emblem=/home/knoppix/.fluxbox/tux.png --color=grey19
fi
if checkbootparam notux >/dev/null 2>&1; then
bsetroot -solid grey20
fi


if ! checkbootparam noicons >/dev/null 2>&1; then
/usr/bin/xtdesk& 2>/dev/null
fi



# needed if using XF86_SVGA xserver
xmodmap -e "keycode 22 = BackSpace"
xmodmap -e "keycode 107 = Delete"





if checkbootparam evilwm >/dev/null 2>&1; then
bsetbg -solid black
evilwm
exit
fi

fluxbox

---CODE---

Ive also tried renaming the xtdesk binary - i'd like to delete the damn thing - but that doesnt help either. maybe im ig'nant and xtdesk is a necessary thing?
any input greatly appreciated.
_________________
am i the only one with a signature?
Back to top
View user's profile Send private message
Rob
Site Admin


Joined: 03 Dec 2003
Posts: 1793
Location: United Kingdom

PostPosted: Mon Jan 10, 2005 5:16 am    Post subject: Reply with quote

Just boot with "knoppix noicons", or edit your /etc/lilo.conf append line so that it includes the "noicons" option. It's probably the easiest way to solve this, and it allows you to easily use xtdesk again if you so choose.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
arsenic



Joined: 01 Jan 2005
Posts: 15

PostPosted: Wed Jan 12, 2005 10:20 pm    Post subject: Reply with quote

Thanks Rob, appreciate the response. had solved it another way by running
killall -9 xtdesk
kill Kill KILL
Confused
_________________
am i the only one with a signature?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Feather Linux Forum Index -> Problems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group