one liner GUI to open recent files

Forum Forums General Tips and Tricks one liner GUI to open recent files

  • This topic has 1 reply, 2 voices, and was last updated Dec 1-8:56 pm by Anonymous.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46300
    Member
    PPC

      This one liner is a nice and handy GUI way to open recent files (useful, for example, if you use Fluxbox)

      file=$(yad --center --title="Recent files" --no-buttons --file & sleep 1 && xdotool key Down && xdotool key Down && xdotool key Up && xdotool key Up && xdotool key KP_Enter) && xdg-open "$file"

      P.

      #46309
      Anonymous
        Helpful
        Up
        0
        ::

        Thanks, it’s a clever tip.
        I’ll suggest also injecting –width=1000 –show-hidden
        (b/c at the default width, the autoresized yad columns partially obscure long filenames)

        Many of the programs I use do not register their file accesses with ~/.local/share/recently_used.xbel, but I have never systematically checked which of them do vs which don’t.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.