xwininfo xdpinfo xdpinfo -display sunny:0
Herein lie frequently asked questions (and the answers) that are posted to comp.windows.x.apps, a group dedicated to the discussion of applications that run under the X Window System.
This entire FAQ is available, as one single document (updated once a month; meant for hardcopy, caching, etc.), at: http://www.ee.ryerson.ca/~elf/xapps/thefaq.html
Last modified: Tue Jul 30 20:04:54 2002, as of 2002.10.29.
xwininfo xdpinfo xdpinfo -display sunny:0
show x events
To stop: ^C in where it launched.
xfd -fn 6x13
Newsgroups: gmane.linux.debian.user Date: Tue, 10 Jan 2006 14:39:01 -0800
> How would I popup an informative message on X from a crontab entry? > > There is xmessage, but from crontab?
Set your $DISPLAY variable appropriately.
DISPLAY=:0.0 xmessage "My message"
called by same. ":0.0" should work for most circumstances.
Karsten M. Self
$ xprop -font fixed POINT_SIZE POINT_SIZE = 120
$ xprop -root CUT_BUFFER0 CUT_BUFFER0(STRING) = "xprop -root CUT_BUFFER0\n"
$ xprop -root CLIPBOARD CLIPBOARD: not found.
$ xprop -root PRIMARY PRIMARY: not found.
$ xprop -root CUT_BUFFER0 | cut -c23- "NG) = \"xprop -root CU"
$ xprop # then click on a window WM_STATE(WM_STATE): window state: Normal icon window: 0x0 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW WM_CLIENT_LEADER(WINDOW): window id # 0x1c00014 WM_LOCALE_NAME(STRING) = "C" WM_CLASS(STRING) = "xterm", "XTerm" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. WM_NORMAL_HINTS(WM_SIZE_HINTS): user specified size: 583 by 342 program specified size: 583 by 342 program specified minimum size: 25 by 17 program specified resize increment: 6 by 13 program specified base size: 19 by 4 WM_CLIENT_MACHINE(STRING) = "sunshine" WM_COMMAND(STRING) = { "xterm", "-geometry", "94X26", "-cr", "red", "-fg", "darkgreen", "-bg", "#b0c0d0", "-l", "-j", "-s", "-aw", "-rw", "+ls", "-rv", "-si", "-sk", "-sb", "-sl", "2000" } WM_ICON_NAME(STRING) = "xterm" WM_NAME(STRING) = "xterm"
Newsgroups: comp.os.linux.x Date: 8 Feb 2003 21:30:23 +0100
> > I need to know what this property is for mozilla, but I'd like to know > > how to find out for any X application > > [...] I guess you're just supposed to know this junk if you use X ;-).
xprop(1)
The man pages would suggest "xwininfo -all", but I looked at the source and it appears that xwininfo doesn't give you any indication at all if there is no WM_CLASS hint defined for a window. It'll print the WM_CLASS hints if they exist, but it won't give you any explicit indication that the things it's printing *are* the WM_CLASS hints. I guess you're just supposed to know this junk if you use X ;-).
I modified the source a bit so that it'd say "no class hints" if it didn't find anything. I found that for the windows I have running under KDE 3.1, Mozilla doesn't have any WM_CLASS hints, and none of the KDE programs do either.
Matt G
> xprop(1)
*sigh* yeah, what Sven said. It's totally bizarre that xprop and xwininfo -all display different things for the WM_CLASS and WM_NAME properties though. Guess I was misled by "apropos WM_CLASS" returning nothing but references to XGetClassHint (3x), and grep -r within a recent XFree86 source tree returning no references to that function except in xwininfo.
Matt G
Newsgroups: comp.os.linux.misc
> What is your favourite software to use for e-mail, usenet and > web-browsing?
If you're talking gui,
email: spruce, because it has the best support for gpg/pgp that I have found. I haven't tried anything else for a LOOOONG time, so there may be a better selection by now.
usenet: pan
browser: opera. I really wish I could say mozilla, but I have never been able to get it to work properly. It has always had a nasty habit of not wanting to leave a server when clicking links, bookmarks, etc., and instead looks for the target file on the current server, resulting in errors. If I find that this ever gets fixed, I'll switch.
> What is your favourite productivity software for things like > documentation, spreadsheets, presentations?
Documentation? Too vague. If you're talking word proccessing, I like LaTeX, but its not a GUI, although LyX sorta is.
spreadsheets: don't work with them much, but gnumeric has worked just fine for me.
presentations: I hate to say this, but PowerPoint via VMware. Presentations that I do must be portable (ie they must work on a windoze only system) and I am unaware of a linux presentation application that will write self contained presentations that will run on a windoze box. I hear that PowerPoint can be run with Wine. I tried not too long ago and failed. Didn't work at it too hard though since I already purchased VMware.
> What is your favourite productivity software for things like documentation, > spreadsheets, presentations?
I use Applixware-5.00. It is better than Microsoft Office 97 Professional, or whatever it is that I have on my Windows machine. I never tried StarOffice.
I use Lyx or LaTex sometimes instead of a word-processor. It depends if it is just for me, or if I must share it with someone with only a brain-damaged word-processor program.
> And finally, how about database software, what are your favourite servers > and front ends?
I use IBM DB2 UDB V6.1. I guess you would say I use that as a server. I tend to write my own clients, although IBM provide a few general-purpose clients that allow you to manage a database with SQL commands to a CLI.
I tried postgreSQL in about 1998 and it was lousy then. I infer from what I read that it is somewhat better now.
I never tried MySQL: when I looked at it, I did not dare use it because it did not handle transactions.
I switched to Informix-SE for a while, but it would not upgrade from Red Hat Linux 5.0 to RHL 6.0 (I did not even need to upgrade the database, since it would be a simple matter (though time-consuming) to repopulate the database), and Informix would not help me.
That was when I switched to IBM DB2 6.1. It works just fine, but their customer support is non-existant unless you are willing to pay them $210/hour to even answer the telephone or answer e-mails. I refused to do that.
Jean-David Beyer
>What is your favourite productivity software for things like documentation, >spreadsheets, presentations?
StarOffice, Applixware (all categories) and Xess (spreadsheets). If you need a serious spreadsheet that won't waste resources, use Xess. NExS may be comparable to Xess, but I haven't used it. I have WordPerfect Office for Linux on my system too, but it runs through wine so sluggish.
Recurring theme: I've mentioned StarOffice a few times. It offers the best MS Office compatibility, and if it's already running you're better off 'doing everything in one place' because if you try to load anything else your system will crawl.
If I had to recommend one suite, it'd be Applixware if MS Office compatibility isn't an issue; otherwise, StarOffice is the only real option. A la carte, Xess is a very good spreadsheet, WordPerfect is very full-featured, and I don't use presentation software often enough to have an opinion.
> What is your favourite software to use for e-mail, usenet and > web-browsing?
Simple enough:
News: Pan (what I'm writing this reply with) - passable interface, reminds me a bit of Agent which I used for years on some other platform.
Mail: Sylpheed (GTK+ app, doesn't require Gnome). Fast. Lightning fast, with a good feature set. Doesn't do HTML mail directly. Oh, and did I mention FAST?
Browsing: Galeon, unless I need to print (Galeon .9p3 doesn't print yet). If I need to print, Mozilla.
> What is your favourite productivity software for things like > documentation, spreadsheets, presentations?
I use Applixware, because I bought it a while back and it works nicely. I'd use Star Office too, but I haven't tried downloading it over my 56K modem connection - for obvious reasons. Oh, and I use the Gimp for images (who doesn't?) - interfaces nicely with sane for working with scanned images.
Charles E. Taylor,
documented on: 2001.03.03
tk info viewer
command 'info' can bring up the default page /usr/share/info/dir while tkinfo can not.
command 'info grep' can find the grep info page while tkinfo can not.
export INFOPATH=/usr/share/info:/export/pkg/info:/usr/bin/info:/usr/local/share/info
$ export INFOPATH=/export/pkg/info:/usr/bin/info:/usr/local/share/info:/usr/share/info
$ tkinfo &
will bring up /export/pkg/info/dir as the top page
$tkinfo grep &
can find the grep info page
after setting the above INFOPATH, there are still some rudimentary command info not found.
$ evs INFOPATH INFOPATH='/usr/share/info:/export/pkg/info:/usr/bin/info:/usr/local/share/info'
$ tkinfo sort &
— info file not found
give up tkinfo, and use ess to browse info. Emacs provides more functionality. Or even use the text based info command.
TkMan Man page viewer using Tk
xwininfo: Window id: 0x340000d "zkpks00s: bash.nml, 3421 "
Absolute upper-left X: 609 ... Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) ... -geometry 92x30-2-72
xwc: x WinCommander setup: a new GUI env.
xrefresh
refresh all or part of an X screen
useful when system messages have messed up the screen.
Xrefresh is a simple X program that causes all or part of your screen to be repainted. This is useful when system messages have messed up your screen. Xrefresh maps a window on top of the desired area of the screen and then immediately unmaps it, causing refresh events to be sent to all applications. By default, a window with no background is used, causing all applications to repaint “smoothly.”