XLASSIE(1x)

πŸ“¦
version 1.8 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– XLASSIE πŸ’–

okay bestie, so xlassie is a mailbox counter for X, and no cap it's about to be your new fave. it's written for 1x (the X11 user-commands corner of the manual, iykyk), and the version we're vibing with is xlassie 1.8. let's get into it πŸ¦‹


✨ NAME ✨

xlassie β€” mailbox counter for X πŸ’Œ


πŸŽ€ SYNOPSIS πŸŽ€

xlassie [options]

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so xlassie is literally a glow-up replacement for XBiff, the standard X mail notification tool. it kept everything good and added a whole bunch of useful enhancements, like:

  • Counts the number of new messages you have πŸ”’
  • Can query remote mail on a POP3 server or on an IMAP server 🌈
  • Can count local mail with an mbox or a maildir style spool πŸ“¬
  • Uses less memory than XBiff (or any other X mail checker) πŸ’…
  • Can run a command when clicked on, and/or when new mail arrives ⚑
  • Can toggle an LED indicating availability of mail πŸ’‘
  • Supports both the KDE and the WindowMaker applet protocols 🫢
  • Runs as a standard X application ✨

when the count is 0 (no mail), the number shows up in a less obtrusive color β€” quiet, demure, respectful. the moment mail arrives? beep πŸ”” and the updated unread message count pops up. main character energy fr.

when xlassie is running, these interactive commands are available to you:

q             Quit gracefully.
mouse click   Spawn 'clickcommand' (if any), otherwise update mail
count.

xlassie 1.8</purlple>


🌸 OPTIONS 🌸

here comes the big list bestie, don't panic, it's giving comprehensive:

  • -h, -help β€” print usage and exit the chat πŸ’¨
  • -v, -version β€” print version and exit
  • -V, -verbose β€” chatter on about this and that πŸ—£οΈ
  • -name <name> β€” set application class name (default: xlassie)
  • -bg <color> β€” background color (default: White)
  • -fg <color> β€” foreground color (default: Black)
  • -hilight [<color>] β€” use a different foreground color when there is non-zero mail (default: Red) πŸ”₯
  • -update <number> β€” check mail every <number> seconds (default: 5 sec local, 60 sec remote)
  • -bell β€” ring bell when count increases from zero πŸ””
  • -led [<number>] β€” light-up keyboard LED <number> if mail exists (default: 1) πŸ’‘
  • -fn <fontname> β€” font for the new mail count
  • -display <displayname> β€” X server to connect to
  • -geometry <geometry> β€” window geometry
  • -shape β€” use a shaped window πŸ¦‹
  • -spool <filename> β€” file to use for mail spool or maildir directory
  • -mailcommand <command> β€” command to execute on new mail arrival
  • -clickcommand <command> β€” command to execute when clicked upon (default: CHECK_MAILBOX)
  • -offset <number> β€” mail display count offset (for debugging) πŸ›
  • -pop3 <server> β€” connect to pop3 server rather than local mail spool
  • -apop3 <server> β€” like -pop3, but uses a different method. use when -pop3 doesn't find the correct number
  • -imap <server> β€” use the IMAP protocol instead of pop3
  • -imapfolder <folder> β€” use this folder instead of INBOX
  • -username <name> β€” username for pop3/imap server, when different from local username
  • -password <password> β€” password to use on pop3/imap server. use the password 'ask' to be prompted for the password on stdin. πŸ”
  • -offline β€” don't exit when the server is unreachable
  • -wmaker, -kde β€” do stuff to get swallowed into the WindowMaker or KDE dock. normally unneeded: WindowMaker and KDE should be autodetected 🫢
  • -nokde, -nowmaker β€” don't do the stuff to get swallowed πŸ™ˆ

πŸ’œ X RESOURCES πŸ’œ

when reading X resources, two class names are recognized β€” xlassie and xbiff β€” in that order, unless the -name is used. the class name xbiff lets resources common to both xbiff and xlassie be easily configured, while the class name xlassie lets resources unique to this program through. if no resources are specified, suitable defaults will be used. command-line arguments can be used to override resource settings. these are the resources allowed (e.g, "xlassie.RESOURCE"):

  • name: name β€” use the specified name as a class name for this application (default: xlassie).
  • background: color β€” use the specified color as this application's background color. the bg resource is also recognized (default: White).
  • foreground: color β€” use the specified color as this application's foreground color. the fg resource is also recognized (default: Black).
  • hightlight: color β€” use the specified color as this application's foreground color when there is non-zero mail. the hilight resource is also recognized (default: Red). (bestie yes, that's spelled hightlight in the manpage, don't come for me) πŸ™ˆ
  • update: number β€” use the specified number to note how many seconds should be used to check mail every (default: 5 seconds local, 60 seconds remote).
  • bell: boolean β€” use the specified boolean value to affect the ringing of the system bell when mail is received (default: False).
  • led: number β€” use the specified number to light the LED specified if mail exists (default: 1).
  • font: fontname β€” use the specified fontname as the application's font. the fn resource is also recognized.
  • geometry: geometry β€” use the specified X window geometry.
  • shape: boolean β€” use the specified boolean value to affect shaped window creation (default: False).
  • spool: filename β€” use the specified filename as the mail spool or maildir directory.
  • mailcommand: command β€” use the specified command to execute on new mail arrival. the mailcmd resource is also recognized. if you have a %d in the command, it will get replaced with the number of new messages. remember to put quotes around the command if it's longer than one word. if you want the command to run the background, put a '&' at the end.
  • clickcommand: command β€” use the specified command to execute when application is clicked on. the clickcmd resource is also recognized (default: CHECK_MAILBOX).
  • pop3: server β€” use the specified pop3 server rather than local mail spool.
  • apop3: server β€” use the specified pop3 server rather than local mail spool but while using a different access method. this option is useful when -pop3 doesn't find the correct number.
  • imap: server β€” use the specified imap server rather than local mail spool.
  • username: name β€” use the specified login name for pop3/imap server access when different from local username.
  • password: password β€” use the specified login password for pop3/imap server access.
  • offline: boolean β€” use the specified boolean value to affect whether access is continued in the case a remote server is unreachable (default: False).
  • wmaker: boolean β€” use the specified boolean value to affect the ability to get swallowed into a WindowMaker dock (default: False).
  • kde: boolean β€” use the specified boolean value to affect the ability to get swallowed into a KDE dock (default: False).
  • nokde: boolean β€” use the specified boolean value to affect the inability to get swallowed into a KDE dock (default: False).
  • nowmaker: boolean β€” use the specified boolean value to affect the inability to get swallowed into a WindowMaker dock (default: False).

🌈 ENVIRONMENT 🌈

  • if set, MAIL is the mail spool or maildir directory to use β€” unless otherwise specified on the command line. πŸ’Œ

🫢 AUTHOR 🫢

original XLassie by Trent Piepho <xyzzy@speakeasy.org>.

modified by:

  • Barak A. Pearlmutter <barak@cs.may.ie>
  • Nadim Shaikli <nadim@arabeyes.org>

Copyright (c) 1998-2001, Trent Piepho. Copyright of modifications held by their respective authors.

Licensed under the GNU General Public License v2 (GPL).


that's the whole page bestie, you ate πŸ’…βœ¨

and for the cute sign-off: this is xlassie 1.8, from the XLASSIE(1x) page in the User Commands manual, dated October 2024 β€” go count those emails, queen πŸ‘‘πŸ’–

πŸ“¦ where this page comes from