villapromotion.blogg.se

Gtk gnutella
Gtk gnutella











gtk gnutella
  1. GTK GNUTELLA ARCHIVE
  2. GTK GNUTELLA CODE
gtk gnutella

It is recommendable to use this local socket whenever possible instead of the TCP socket to access the shell interface remotely. You can disable this feature by setting the property "enable_local_socket" to FALSE. The socket is in a dedicated directory because apparently not all systems honor the access permissions on sockets as seen through the filesystem. The socket is only accessible by the user running gtk-gnutella which is enforced by filesystem permissions. This socket is located at "$GTK_GNUTELLA_DIR/ipc/socket", thus normally "~/.gtk-gnutella/ipc/socket". Gtk-gnutella -ping || gtk-gnutella -shell When this option is used to connect to an already running gtk-gnutella process over a local unix domain socket.

GTK GNUTELLA CODE

This allows you to use the following code to start gtk-gnutella from a cron job or window manager menu and avoid starting it twice: This option returns with a success code when gtk-gnutella is already running, and with a failure code when it is not. ping This option allows you to check whether gtk-gnutella is currently running. pause-on-crash Pause the process on crash, so that a debugger may be attached to inspect the current state for instance. no-xshm Disable MIT shared memory extension, when running with the X graphical user-interface. After moving or deleting the log files, you can send gtk-gnutella a SIGHUP signal to create new log files.

GTK GNUTELLA ARCHIVE

Of course, log files can become large and you might want to archive them or delete them periodically. Redirecting these log messages also works without -daemonize. log-stderr, -log-stdout These options allow you to log everything which is written to stderr respectively stdout to some files. help Show a summary of all supported options. This option is a traditional command-line switch supported by most X11 applications. Note that none of this can be guaranteed, your window manager has the last word on this. geometry This option can be used to force the main window of the GUI to a certain location on your screen and/or give it certain dimensions.įor example, the following would position the window in the lower right corner with a width of 800 pixels and a height of 600 pixels: exec-on-crash path Execute command specified in path when gtk-gnutella crashes. The options -log-stderr and -log-stdout can be used to redirect log output in this case.

gtk gnutella

Please note that when gtk-gnutella is started as a daemon all output which is normally send to the standard output and standard error output (usually your terminal or a common log file such as ~/.xsession-errors), is sent to /dev/null. Thus you might want to add the -daemonize option in this case. This is mainly meant for headless mode but you can also use it if the Gtk+ GUI is enabled.įor example, if you do not start gtk-gnutella from a terminal but from a window manager menu, there's little reason to not daemonize gtk-gnutella.

gtk gnutella

It also changes it working directory to the root directory i.e., "/" so that it doesn't block a mount point for example. It detaches from the terminal (if started from one) and forks itself into the background. daemonize This options causes gtk-gnutella to become a daemon. OPTIONS -compile-info Tell gtk-gnutella to output a list of variables describing compile-time configuration information that was gathered when the program was built. Great care has been devoted into making gtk-gnutella powerful, efficient and reliable. The addition of Gnutella-specific HTTP headers makes each Gnutella client a powerful file swarmer where even firewalled hosts can contribute. The Gnutella network allows users to search for files and to advertise files shared locally, but is not handling file transfers which is done through HTTP. It supports both searching and sharing with the 0.6 version of the Gnutella protocol and includes support for numerous protocol improvements and additions that have been added to the Gnutella network since. NAME gtk-gnutella - A Gnutella client for Gtk+ SYNOPSIS gtk-gnutella DESCRIPTION gtk-gnutella is a GTK+ Gnutella client for Unix.













Gtk gnutella