Controlling Xterm
I have two computers. Both run arch,openbox and Xfe. On computer one when I click the terminal icon on the tools toolbar xterm always opens with path in $HOME. On computer two when I click on the terminal icon xterm opens in the path to what ever directory I happen to be in. I have searched both computers, read everything I can think of and cannot find where this difference is being called from. I want computer one to emulate computer two. Thanks for your solutions
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 5gu4lu
6 comments
It depends on where you started X from. If you start it from $HOME it will launch to $HOME. If you start it from another path it will launch to that path.
That is the way it works on computer two but on computer one it always opens in $HOME makes no difference what directory it is opened from and then you have to cd to your location. I want one to emulate two cannot find out what config file or what is causing this difference in execution.
You could always just put a
cd ~/in your.bashrcNot sure where that would be affected. Maybe check /etc/profile.d/ and see if there is anything in there.
Deleted before we saved it.
Thanks for the comment. Xfe is a file manager so I am not dealing with desktop icons. Right clicking the toolbar icon brings up nothing. This comment did lead me to check out the desktop file in /usr/share /applications. Nothing there that would lead to this.