PDA

View Full Version : [ubuntu] Gnome problems



HeroXx
January 6th, 2009, 10:57 PM
Hiya!

I am trying to run srcds under gnome through a launch shortcut that runs the command xterm -e cd /home/administrator/css1 however when I run that command it will give an error:

xterm: cannot execvp cd: No such file or directory

Then when I run cd /home/administrator/css1 in that same window it will work...

blazemore
January 7th, 2009, 01:10 AM
xterm -e "cd /home/administrator/css1"

HeroXx
January 7th, 2009, 05:33 PM
When I set that it just flashes up and disappears :S

blazemore
January 7th, 2009, 06:09 PM
xterm -e "cd /home/administrator/css1 &&"

HeroXx
January 7th, 2009, 10:47 PM
Same result.

HeroXx
January 8th, 2009, 01:31 AM
Anyone?

blazemore
January 8th, 2009, 11:14 AM
Why don't you use gnome-terminal instead of xterm?

gnome-terminal -e "cd /home/administrator/css1 &&"

HeroXx
January 11th, 2009, 05:52 PM
This gives a strange problem:

http://www.rush-gaming.co.uk/wtf.jpg

HeroXx
January 12th, 2009, 04:02 AM
Help :(

tonytr
January 12th, 2009, 08:25 AM
How about something like this:


xterm -e "cd /tmp; /bin/bash" &

HeroXx
January 14th, 2009, 03:19 AM
xterm: cannot execvp cd: No such file or directory

tonytr
January 14th, 2009, 05:36 AM
Very odd. "cd" is a built-in utility in the shell. What is your default shell?

Does this work or produce a similar error?

xterm -e "pwd ; /bin/bash" &

HeroXx
January 15th, 2009, 04:10 AM
xterm: Can't execvp pwd ; /bin/bash: No such file or directory

HeroXx
January 15th, 2009, 05:08 PM
Bump

HeroXx
January 16th, 2009, 03:54 AM
:(

HeroXx
January 16th, 2009, 02:29 PM
No-one has had this problem before?

HeroXx
January 18th, 2009, 09:48 PM
Still bumping, anyone know anywhere else to look for help?