lvleow wrote:not quite what I was looking for, but it pointed me in the right dir. thank you. renaming startx in /usr/bin to startxx worked more permanently (alias only works for current session?).
lvleow wrote:If I edit the bashrc and still put in startx, it'll work right? I don't want that. I want to script a custom error when the input is startx. Besides, what applications might use startx? If you're in the GUI, there's no need for it. And if you're in command, what kind of program wants to interrupt what it's doing and start the GUI? I'm kind of curious, cause I'd prefer not to get that error while doing something in either, so I can just avoid those kinds of apps?
Also, is there a way to rename "ls" to lets say "lss"? Also having ls playback a custom script error? Are there any applications that might use this command as well?
I know, I'm weird. hahaha
alias startx="echo do not use startx"
alias ls="echo do not use ls"
Users browsing this forum: No registered users and 2 guests