xterm does not open in home folder, instead opens in Documents folder
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
xterm does not open in home folder, instead opens in Documents folder
Hello,
xterm, when launched via Alt+F2, and yeahconsole (a quake-like drop down console built upon xterm) open into my documents folder (~/Documents) instead of home (~). This is a minor irritation, but an irritation nonetheless.
Everything I read online says xterm should open to my home folder - any idea why it might not be, where a setting might need to be changed?
I checked /etc/X11/app-defaults/XTerm and found a lot of options about menus and fonts, but nothing that looked like a likely candidate for affecting the default directory on opening.
I read the man page for xterm but didn't see any option listed there either which could be used in that way.
I've determined that it opens to whichever folder is specified as XDG_DOCUMENTS_DIR in my ~/.config/user-dirs.dirs file. So, I can change that value to $HOME, which makes xterm open up in the home directory, but I think this is kind of hacky - I don't want to respecify which folder is my documents folder, I just want xterm to open in $HOME instead of XDG_DOCUMENTS_DIR.
Anybody have any ideas where/how xterm is getting the idea to open into XDG_DOCUMENTS_DIR?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.