Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #261617

Re: automate resumption of session

From Manphiz <manphiz@gmail.com>
Newsgroups linux.debian.user
Subject Re: automate resumption of session
Date 2023-09-13 04:30 +0200
Message-ID <HdnND-8BYV-1@gated-at.bofh.it> (permalink)
References <HdlLP-8AKt-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


"Russell L. Harris" <russell@rlharris.org> writes:

> I am a writer.  I use Emacs and LaTeX markup on a Debian/XFCE system.
> On a typical day, I have in progress three or four articles.  I may
> work for several days on a given article.
>
> Each article is in a separate XFCE workspace.  The text for each
> article resides in its own directory.  For each article, I keep open
> an instance of emacs, a terminal window from which I execute latex and
> xdvi, and the xdvi window.
>
> When I leave the office for the day, I typically shut down the
> computer.  The next morning, the first order of business is to
> recreate the previous working environment or ``session.''  For each
> article, this entails:
>
> (1) Click on the appropriate workspace button.
>
> (2) Open an instance of emacs.
>
> (3) In the emacs window, use the mouse to click on the icon to resize
> the window.
>
> (4) In emacs, open the file in the document directory.
>
> (5) Open a terminal window.
>
> (6) In the terminal window, use the mouse to click on the icon to
> resize the window.
>
> (7) In the terminal, cd to the document directory.
>
> (8) In the terminal, execute ``xdiv ... &'' to display the document.
>
> I would like write a script to automate the process, so that I need
> only boot the computer and type RESUME; but my efforts have been
> unsuccessful.
>
> RLH
>

If hibernation can work reliably on your system it would seem to meet
your requirement.

-- 
Manphiz

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

automate resumption of session "Russell L. Harris" <russell@rlharris.org> - 2023-09-13 02:20 +0200
  Re: automate resumption of session Larry Martell <larry.martell@gmail.com> - 2023-09-13 02:30 +0200
    Re: automate resumption of session "Russell L. Harris" <russell@rlharris.org> - 2023-09-13 02:40 +0200
      Re: automate resumption of session Stefan Monnier <monnier@iro.umontreal.ca> - 2023-09-13 04:50 +0200
        Re: automate resumption of session "Russell L. Harris" <russell@rlharris.org> - 2023-09-13 05:20 +0200
          Re: automate resumption of session Charles Curley <charlescurley@charlescurley.com> - 2023-09-13 06:20 +0200
  Re: automate resumption of session Charles Curley <charlescurley@charlescurley.com> - 2023-09-13 03:20 +0200
    Re: automate resumption of session "Russell L. Harris" <russell@rlharris.org> - 2023-09-13 03:30 +0200
  Re: automate resumption of session Manphiz <manphiz@gmail.com> - 2023-09-13 04:30 +0200
    Re: automate resumption of session Stefan Monnier <monnier@iro.umontreal.ca> - 2023-09-14 18:00 +0200
  Re: automate resumption of session Dieter Rohlfing <dr-erc@gmx.net> - 2023-09-13 11:10 +0200

csiph-web