gtk-options(7)

โœจ NAME โœจ

gtk-options โ€” the standard command line options that literally every GTK program out there speaks ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

program [standard options] [specific options] arguments

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Okay bestie, so โ€” this manual page is the rundown on the command line options that are common to all GTK based applications. Every GTK program you meet is gonna accept these. Learn them once, use them everywhere. No cap. โœจ


๐Ÿ’– OPTIONS ๐Ÿ’–

๐ŸŒˆ GTK OPTIONS

  • --gtk-module=MODULE โ€” Load an additional Gtk module. Just. Load it. Extra module, extra vibes ๐ŸŽ€
  • --gtk-debug=FLAGS โ€” A colon separated list of GTK debugging flags to set. The valid flags are objects, misc, signals, dnd, and plugsocket. And there's a special value, all, which enables all the flags โ€” the "give me everything" button, lowkey iconic ๐Ÿ‘‘
  • --gtk-no-debug=FLAGS โ€” GTK debugging flags to unset. Use this option to override the GTK_DEBUG environment variable. So if your env is being loud, this is how you tell it to sit down ๐Ÿซถ
  • --g-fatal-warnings โ€” Make all warnings fatal. Not a drill. Every warning becomes a whole fatal situation ๐Ÿ’€

๐ŸŒŸ GDK OPTIONS

  • --display=DISPLAY โ€” Set the X display to use. Use this option to override the DISPLAY environment variable.
  • --screen=SCREEN โ€” X screen to use. Use this option to override the screen part of the DISPLAY environment variable (peep the DISPLAY NAMES section of the X(7x) manual page for the deets).
  • --sync โ€” Make X calls synchronous. Fr fr this slows down the program considerably, but it may be useful for debugging purposes. Slow and correct > fast and mysterious ๐Ÿ˜ญ
  • --no-xshm โ€” Do not use the X server's XSHM shared memory extension. This slows down the program.
  • --name=NAME โ€” Program name as used by the window manager.
  • --class=CLASS โ€” Program class as used by the window manager.
  • --gxid_host=HOST
  • --gxid_port=PORT
  • --xim-preedit
  • --xim-status โ€” these four control the X input method ๐Ÿ’œ
  • --gdk-debug=FLAGS โ€” A colon-separated list of GDK debugging flags to set. Heads up: this only works if your GDK library was compile with debugging support. The valid flags are events, misc, dnd, color-context, and xim. And the special value all enables all valid flags โ€” the whole menu, bestie ๐Ÿ“
  • --gdk-no-debug=FLAGS โ€” A colon-separated list of GDK debugging flags to unset. Use this option to override the GDK_DEBUG environment variable. Bye to those flags, not me being the one to turn them off ๐Ÿ™ˆ

โญ SEE ALSO โญ

X(7x), the GTK documentation, and the GDK documentation.

For most GTK programs there will be additional command line options, which are specific to the program. These will be explained in the application's documentation โ€” so like, check the individual app's page too, iykyk ๐Ÿงš


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

This manual page was written by Jochen Voss <voss@debian.org>. Legend behaviour, honestly ๐ŸŽ€


And that's the whole page, bestie!! It's from GTK 2, dated 2003-10-20 โ€” vintage but still serving. Slay, go forth, and pass --sync responsibly. ๐Ÿ’…โœจ๐Ÿฆ‹