I'm setting up Xubuntu (so I'm using the default Desktop Environment xfce) and just changed my default terminal to alacritty by modifying the terminal utility in the "Default Applications" tool.
That worked fine apart from one thing: When I start Alacritty for example from desktop right-click "Open Terminal here", it's started with working directory set to
~/Desktop, I would like for this to be just
~ instead. How do I achieve this?
I tried to modify the application string from
/usr/bin/alacritty "%s" to
/usr/bin/alacritty --working-directory=/home/moberg "%s" but it doesn't seem to have any effect, it still starts up with
~/Desktop as cwd.
I don't want to set the alacritty configuration
working_directory because when I open new terminal windows from elsewhere I would like for them to keep the current working directory.