Questions tagged [vte]

VTE is a library that provides a terminal widget implementation in GTK, functions for starting a new process on a new pseudo-terminal and for manipulating pseudo-terminals.

45 questions
7
votes
2 answers

Guake terminal with 256 colors?

Is it possible to make Guake terminal to use 256 colors instead of just 8? The only info that I found on the internet is this post https://bbs.archlinux.org/viewtopic.php?id=173707 but it didn't work.
vasilakisfil
  • 2,279
  • 4
  • 24
  • 31
3
votes
0 answers

Overwrite or reset widget style in GTK3

I use the gnome-terminal which uses the vte library, which in turn provides the VteTerminal widget. Using an appropriate gtk.css file, I have added a padding around the VteTerminal widget. I embed the VteTerminal in a seperate GTK3 application,…
vprsm
  • 31
  • 1
3
votes
1 answer

Python Gtk2 & Vte wait for the process Pid is finish

I'm using the VTE module in a GTK window, to run and show the result of a bash script. adresse = self.champ.get_text() pid = self.v.fork_command(None, ['/bin/bash', "./pluzz.sh", adresse]) if pid == None: #pseudocode …
Guillaume
  • 2,752
  • 5
  • 27
  • 42
3
votes
1 answer

Why the method set_color_foreground and its companions set_color_XXX don't work in Vte ( Python - Gtk3)?

I am writing an application using Vte in Python + Gtk3. I am not able to change all the color. For example, for the foreground color, I tried this code, but the text color doesn't change: class Shell(Gtk.Box): def…
Irr
  • 656
  • 1
  • 9
  • 19
3
votes
1 answer

Embed vte. How to do the same as this PyGtk app with wxPython?

It's my first post. I read a lot of subjects per day on Stackoverflow, and i appreciate to find there some help. And today it's my turn to ask a question because i didn't find solution to my need. I want to have a terminal in the app i'm writing;…
shtefh
  • 51
  • 5
2
votes
1 answer

What is the color order for vte_terminal_set_colors palette?

I want to implement Solarized color palette for a VTE Terminal. In the GTK+ documentation I can find the method how to set all colors. But there is no info about the color order in the…
lzap
  • 16,417
  • 12
  • 71
  • 108
2
votes
0 answers

vte background image workaround

I'm using libvte-2.91 in debian stretch for my terminal application written in c using gtk3. Now that they have removed the direct ability to apply a background image to the terminal, what creative workarounds have been devised for accomplishing…
nomadicME
  • 1,389
  • 5
  • 15
  • 35
2
votes
1 answer

python VTE Terminal weirdness

i'm trying to use the terminal from python VTE binding (python-vte from debian squeeze) as a virtual terminal emulator (just for ANSI/control chars text processing) in interactive python console, everything looks (almost) all right: >>> import…
mykhal
  • 19,175
  • 11
  • 72
  • 80
2
votes
0 answers

Is there a terminal widget compatible with lablgtk?

Good morning, I'm implementing a software in labgtk and I'd like to embed a terminal-like widget in the interface, similarly the terminal embedded in gedit (example:…
2
votes
0 answers

cannot select text in VTE using keyboard

I'm writing my own terminal application in C using the VTE library. Everything works great except I cannot select text with the keyboard. For example if I have just typed something, in most terminals you can hold down the shift key and select the…
nomadicME
  • 1,389
  • 5
  • 15
  • 35
2
votes
0 answers

Monitor command input on python VTE terminal widget

I am looking to monitor every command input on python VTE widget so I can pass it to the my program for processing on commands that match a certain regex. Is it possible, I am thing connecting signals and all that but I just don't know anything…
nmvictor
  • 1,109
  • 1
  • 15
  • 30
1
vote
1 answer

PyGtk : I cant use vte library functions?

I am trying to send commands to the Vte terminal but I keep getting the same error. Also, I could not find any other working examples on the internet. Since my code is not complete at the moment, I am showing you an example from stackoverflow. It…
1
vote
3 answers

How to implement a Linux terminal in a PyGtk app like VScode and PyCharm has?

Problem statement: Embed a terminal Emulator for linux in GUI and feed custom commands to it by GUI components. using: Python 3 Gtk+3 Vte.get_minor_version(): 58 Vte.get_major_version(): 0 Vte.get_macro_version(): 2 I have been trying to embed a…
raven_seven
  • 19
  • 1
  • 5
1
vote
2 answers

Get current working directory from Vte (GTK Terminal Widget) in Python

Hey, How can I get the current working directory of a VTE widget in Python? Thanks.
user542603
1
vote
2 answers

Virtual python shell with Vte.Pty.spawn_async()

I would like add virtual python shell with Vte to my GTK3.0 python3 app and I am able to do this with spawn_sync() method, but this method is deprecated, so I would like to do it with preferred way with Vte.Pty.spawn_async(), but I dont understeand…
Jiří
  • 43
  • 7
1
2 3