Skip to content

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

0 points5 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
5gu4lu

Author

2
posts
118
comments
0
media
View profile

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.

1 points

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.

1 points

You could always just put a cd ~/ in your .bashrc

Not sure where that would be affected. Maybe check /etc/profile.d/ and see if there is anything in there.

1 points
unknown author1 hidden

Deleted before we saved it.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.