Hook Into Xfce4-Terminal Functionality via API, DBUS, something else?

Matthew Brush mbrush at codebrainz.ca
Thu Nov 21 02:17:45 CET 2019


On 2019-11-20 10:59 a.m., Druid Peter wrote:
> Let's say I wanted to create a terminal application that would detect if it
> was being run on xfce4-terminal and, if so, change the background image and
> shading options according to various internal application logic on my end.
> Since I'm writing the source for the terminal application myself, it would
> be nice and useful to have an API where I could adjust the settings from
> within my application. Failing that, using some sort of userspace bus
> (DBUS? Something else?) or interprocess communication would also be an
> option.
> 
> Does anyone know if such an API exists? How would I go about implemented
> the above functionality? Thank you for your time.
> 

Depending on your use case, it would probably be a lot easier and more 
robust to just make your own GTK+ window and stick a libvte VteTerminal 
widget in it to make your own terminal GUI to do what you need, if you 
aren't set on depending on xfce4-terminal.

Regards,
Matthew Brush



More information about the Xfce4-dev mailing list