unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35424: Gnome terminal doesn't keep current working directory in new tab
@ 2019-04-25  5:28 Ben Sturmfels
  2019-07-22  8:50 ` bug#35424: Gnome terminal doesn't keep current working directory in new tab/window Ben Sturmfels
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Sturmfels @ 2019-04-25  5:28 UTC (permalink / raw)
  To: 35424

Hi Folks,

Just minor thing, but on other systems I use, when you open subsequent
Gnome Terminal tabs, the current working directory is maintained in the
new tab. On my Guix System, new tabs start up back at /home/ben.

Very low priority of course.

Regards,
Ben

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#35424: Gnome terminal doesn't keep current working directory in new tab/window
  2019-04-25  5:28 bug#35424: Gnome terminal doesn't keep current working directory in new tab Ben Sturmfels
@ 2019-07-22  8:50 ` Ben Sturmfels
  2019-07-22 19:09   ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Sturmfels @ 2019-07-22  8:50 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: 35424

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

On Thu, 25 Apr 2019, Ben Sturmfels wrote:

> Hi Folks,
>
> Just minor thing, but on other systems I use, when you open subsequent
> Gnome Terminal tabs, the current working directory is maintained in the
> new tab. On my Guix System, new tabs start up back at /home/ben.

I've found that sourcing vte.sh fixes the issue, and the working
directory is retained:

`source /gnu/store/...-vte-0.52.2/etc/profile.d/vte.sh`

I've tested in a `guix system vm` to make sure it wasn't related to
my .bashrc and it's not. It's exactly the same aside from that the Gnome
details open a new terminal window, not a tab.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#35424: Gnome terminal doesn't keep current working directory in new tab/window
  2019-07-22  8:50 ` bug#35424: Gnome terminal doesn't keep current working directory in new tab/window Ben Sturmfels
@ 2019-07-22 19:09   ` Ricardo Wurmus
  2019-07-23  6:35     ` Efraim Flashner
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-07-22 19:09 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: 35424


Hi Ben,

>> Just minor thing, but on other systems I use, when you open subsequent
>> Gnome Terminal tabs, the current working directory is maintained in the
>> new tab. On my Guix System, new tabs start up back at /home/ben.
>
> I've found that sourcing vte.sh fixes the issue, and the working
> directory is retained:
>
> `source /gnu/store/...-vte-0.52.2/etc/profile.d/vte.sh`

Interesting.  Is this file installed to /etc/profile.d/vte.sh on other
systems?  Or is it otherwise sourced?

-- 
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#35424: Gnome terminal doesn't keep current working directory in new tab/window
  2019-07-22 19:09   ` Ricardo Wurmus
@ 2019-07-23  6:35     ` Efraim Flashner
  2019-07-23  6:40       ` Ben Sturmfels
  0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2019-07-23  6:35 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 35424

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

On Mon, Jul 22, 2019 at 09:09:13PM +0200, Ricardo Wurmus wrote:
> 
> Hi Ben,
> 
> >> Just minor thing, but on other systems I use, when you open subsequent
> >> Gnome Terminal tabs, the current working directory is maintained in the
> >> new tab. On my Guix System, new tabs start up back at /home/ben.
> >
> > I've found that sourcing vte.sh fixes the issue, and the working
> > directory is retained:
> >
> > `source /gnu/store/...-vte-0.52.2/etc/profile.d/vte.sh`
> 
> Interesting.  Is this file installed to /etc/profile.d/vte.sh on other
> systems?  Or is it otherwise sourced?
> 

I can only speak for my own system. I don't have gnome-terminal
installed, but I do have tilda which uses vte. My
~/.guix-profile/etc/profile.d/ only has bash_completion.sh.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#35424: Gnome terminal doesn't keep current working directory in new tab/window
  2019-07-23  6:35     ` Efraim Flashner
@ 2019-07-23  6:40       ` Ben Sturmfels
  2019-07-23  6:54         ` Ben Sturmfels
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Sturmfels @ 2019-07-23  6:40 UTC (permalink / raw)
  To: Efraim Flashner, Ricardo Wurmus; +Cc: 35424

On 23/07/19 16:35, Efraim Flashner wrote:

>> Interesting.  Is this file installed to /etc/profile.d/vte.sh on other
>> systems?  Or is it otherwise sourced?
>>
> 
> I can only speak for my own system. I don't have gnome-terminal
> installed, but I do have tilda which uses vte. My
> ~/.guix-profile/etc/profile.d/ only has bash_completion.sh.

I wonder if it's just a matter of moving vte to the propagated-inputs of
gnome-terminal (and other packages like tilda)? I'll try now and report
back.

Regards,
Ben

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#35424: Gnome terminal doesn't keep current working directory in new tab/window
  2019-07-23  6:40       ` Ben Sturmfels
@ 2019-07-23  6:54         ` Ben Sturmfels
  2019-07-23  8:26           ` Ben Sturmfels
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Sturmfels @ 2019-07-23  6:54 UTC (permalink / raw)
  To: Efraim Flashner, Ricardo Wurmus; +Cc: 35424

On 23/07/19 16:40, Ben Sturmfels wrote:

>>> Interesting.  Is this file installed to /etc/profile.d/vte.sh on other
>>> systems?  Or is it otherwise sourced?
>>>
>>
>> I can only speak for my own system. I don't have gnome-terminal
>> installed, but I do have tilda which uses vte. My
>> ~/.guix-profile/etc/profile.d/ only has bash_completion.sh.
> 
> I wonder if it's just a matter of moving vte to the propagated-inputs of
> gnome-terminal (and other packages like tilda)? I'll try now and report
> back.

Ok, moving vte to propagated-inputs for gnome-terminal makes
~/.guix-profile/etc/profile.d/vte.sh show up if installed with `guix
package` and /etc/profile.d/vte.sh show up if installed with `guix system`.

Neither ~/.guix-profile/etc/profile or /etc/profile source their
respective profile.d files though like Trisquel does. Can someone give
me a lead on how these profiles are generated?

Regards,
Ben

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#35424: Gnome terminal doesn't keep current working directory in new tab/window
  2019-07-23  6:54         ` Ben Sturmfels
@ 2019-07-23  8:26           ` Ben Sturmfels
  0 siblings, 0 replies; 7+ messages in thread
From: Ben Sturmfels @ 2019-07-23  8:26 UTC (permalink / raw)
  To: Efraim Flashner, Ricardo Wurmus; +Cc: 35424

On 23/07/19 16:54, Ben Sturmfels wrote:
> On 23/07/19 16:40, Ben Sturmfels wrote:
> 
>>>> Interesting.  Is this file installed to /etc/profile.d/vte.sh on other
>>>> systems?  Or is it otherwise sourced?
>>>>
>>>
>>> I can only speak for my own system. I don't have gnome-terminal
>>> installed, but I do have tilda which uses vte. My
>>> ~/.guix-profile/etc/profile.d/ only has bash_completion.sh.
>>
>> I wonder if it's just a matter of moving vte to the propagated-inputs of
>> gnome-terminal (and other packages like tilda)? I'll try now and report
>> back.
> 
> Ok, moving vte to propagated-inputs for gnome-terminal makes
> ~/.guix-profile/etc/profile.d/vte.sh show up if installed with `guix
> package` and /etc/profile.d/vte.sh show up if installed with `guix system`.

Whoops, I got that mixed up - `guix system` does NOT create
/etc/profile.d/vte.sh after the move to propagated-inputs.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-23  8:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25  5:28 bug#35424: Gnome terminal doesn't keep current working directory in new tab Ben Sturmfels
2019-07-22  8:50 ` bug#35424: Gnome terminal doesn't keep current working directory in new tab/window Ben Sturmfels
2019-07-22 19:09   ` Ricardo Wurmus
2019-07-23  6:35     ` Efraim Flashner
2019-07-23  6:40       ` Ben Sturmfels
2019-07-23  6:54         ` Ben Sturmfels
2019-07-23  8:26           ` Ben Sturmfels

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).