Last active
February 24, 2024 02:28
-
-
Save porteusconf/8a17b57fccdc7f6fa0bb7e434f0aea04 to your computer and use it in GitHub Desktop.
create ~/.seeconfig for seeman (GUI "manpage" viewer for X windows) apt install seetxt && seeconfig-for-seeman.sh && seeman seeman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
### https://manpages.debian.org/testing/seetxt/seeman.1.en.html | |
touch ~/seefilelist | |
touch ~/seedata | |
if [ ! -f ~/.seeconfig ]; then | |
echo "text font: helvetica 12" >> ~/.seeconfig | |
echo "filelist: /home/$USER/seefilelist" >> ~/.seeconfig | |
echo "seedata: /home/$USER/seedata" >> ~/.seeconfig | |
echo "dimensions: 900 600" >> ~/.seeconfig | |
fi | |
ls -l ~/.seeconfig | |
cat ~/.seeconfig |
Since seetxt/seeman not updated since 2010, gtkman may be better alternative per: https://askubuntu.com/questions/253705/graphical-user-interface-to-view-man-page (Viewing man pages should not be so convoluted!). Using build_deb.sh from a fork of https://github.com/gapan/gtkman I built the .deb file here:
https://github.com/porteusconf/kiosk/raw/master/gtkman-linux-amd64.tar.gz
By the way, macos for many years had a similar gui man-page viewer called manopen. It has been resurected recently, and even runs on apple-silicon at https://github.com/nickzman/ManOpen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of
xman
tryseeman
to view man pages in scrollable window with bookmarks, history, etc. Tho old and unchanged for years, it works quite well, and is still in most deb repos, including debian 11 (bullseye): https://manpages.debian.org/testing/seetxt/seeman.1.en.html When you run first runseeman
it will warn if "/home/$USER/.seeconfig" file does not exist. This seeconfig-for-seeman.sh creates a minimal ~/.seeconfig file to avoid this warning and other errors/problems.QUICK START:
You can install with apt in debian 12 bookworm and earlier
For debian 13 trixie, apt does not find it on 2024-02-23, but installing the bullseye deb file worked for me. Download the deb file for your arch from https://packages.debian.org/bullseye/seetxt and use
dpgk -i
which, for amd64 looks like:Run the shell script. then, to open a man page, like for ls, instead of
man ls
you might likeseeman ls
better,In seeman window, right-click for menu and shortcuts, such as ctl-N = find next ctl-P = find prev. For man page of seetxt/seeman: