Reloading screen-profiles reopens all configured windows

Bug #368786 reported by Rocco Stanzione
4
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Low
Dustin Kirkland 
screen-profiles (Ubuntu)
Fix Released
Low
Dustin Kirkland 
Karmic
Fix Released
Low
Dustin Kirkland 

Bug Description

There's no obvious way to add to the list of windows. If I edit ~/.screen-profiles/windows like so:

screen -t chat 0 irssi
screen -t shell 1 motd+shell

It has the desired effect when I start screen, but it creates additional windows and launches additional instances of irssi when I do <F5>. If this is the expected behavior, I think it should be documented, because the inuitive behavior is different. If I've gone about adding windows the wrong way (or even if I haven't) the procedures for doing that need to be documented as well.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Rocco-

Thanks for the bug report.

You can add to the list of windows using the screen-profiles helper (if that's available to you), by hitting F9 and launching the configuration menu. If it's not available to you, then, yes, you edit your ~/.screen-profiles/windows file like any other screenrc file. It accepts the same syntax defined by screen's manpage:
 * http://manpages.ubuntu.com/manpages/jaunty/en/man1/screen.1.html

However, the issue you bring up about F5 is a real one ... F5 re-sources your configuration file, which re-sources the windows file, so all of your windows will get re-opened. I have experienced this, so I am marking your report confirmed (though I'll probably change the title to this effect). I'm not sure how to solve this just yet ...

:-Dustin

Changed in screen-profiles:
importance: Undecided → Low
status: New → Confirmed
summary: - Need documentation for window management
+ Reloading screen-profiles reopens all configured windows
Revision history for this message
Rocco Stanzione (trappist) wrote :

Possibly F5 could re-source all but the windows file? Anyway I know there's a menu for managing windows, but if there's a way to add one from there, there's no indication how to do it. As far as I can tell it's a missing feature, but if the feature exists (to add windows from the menu) it lacks documentation.

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 368786] Re: Reloading screen-profiles reopens all configured windows

F9 -> Create new window(s)

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

See this attachment.

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

And this one.

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'm not sure we can make the window creation more clear ...

Otherwise, please refer to the screen(1) manpage.

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Fix committed, r384, will be in the 1.52 release.

:-Dustin

Changed in screen-profiles:
assignee: nobody → Dustin Kirkland (kirkland)
status: Confirmed → Fix Committed
Changed in screen-profiles (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Low
milestone: none → karmic-alpha-1
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screen-profiles - 1.52-0ubuntu1

---------------
screen-profiles (1.52-0ubuntu1) karmic; urgency=low

  * bin/updates-available: drop leading "Inst" in detailed report
  * bin/logo: add logo for altlinux
  * screen: drop the -t title, causes hangs if user defines shelltitle,
    LP: #368925
  * profiles/profile.skel: swap the position of ip-address and menu
  * screen-profiles.1: document all notifications, LP: #369040
  * profiles/common, screen: create a temp file to use on screen launch,
    consisting of the profile plus the windows, but don't source default
    windows otherwise as this breaks F5-refresh, LP: #368786
  * screen-profiles: ensure that all registered keybindings get updated
    if the user changes their escape sequence, LP: #368937
  * screen-launcher-install, screen-launcher-uninstall: support
    screen-by-default installation for zsh users, LP: #368960

 -- Dustin Kirkland <email address hidden> Wed, 29 Apr 2009 02:28:48 -0500

Changed in screen-profiles (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in screen-profiles:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.