GTKTerm - Carregar ttyUSBO na inicialização
Dica publicada em Linux / Software
GTKTerm - Carregar ttyUSBO na inicialização
Para que o GTKTerm inicie com a porta ttyUSB0 logo na inicialização do programa, basta alterar com algum programa de edição de texto (vi, nano e outros) o arquivo chamado .gtkterm, que fica dentro da pasta pessoal do usuário. Lembrado que esta alteração afetará apenas o usuário que fizer a alteração.
Exemplo:
nano ~/.gtktermrc
Obs.: Altere apenas a linha "port = /dev/tty0" para "port = /dev/ttyUSB0":
Rogério Silva
Exemplo:
nano ~/.gtktermrc
Obs.: Altere apenas a linha "port = /dev/tty0" para "port = /dev/ttyUSB0":
[default]
port = /dev/ttyUSB0
speed = 9600
bits = 8
stopbits = 1
parity = none
flow = none
wait_delay = 0
wait_char = -1
rs485_rts_time_before_tx = 30
rs485_rts_time_after_tx = 30
echo = False
crlfauto = False
font = "Nimbus Mono L, 14"
term_transparency = False
term_show_cursor = True
term_rows = 80
term_columns = 25
term_scrollback = 200
term_visual_bell = True
term_foreground_red = 43253
term_foreground_blue = 43253
term_foreground_green = 43253
term_background_red = 0
term_background_blue = 0
term_background_green = 0
term_background_saturation = 0,500000
port = /dev/ttyUSB0
speed = 9600
bits = 8
stopbits = 1
parity = none
flow = none
wait_delay = 0
wait_char = -1
rs485_rts_time_before_tx = 30
rs485_rts_time_after_tx = 30
echo = False
crlfauto = False
font = "Nimbus Mono L, 14"
term_transparency = False
term_show_cursor = True
term_rows = 80
term_columns = 25
term_scrollback = 200
term_visual_bell = True
term_foreground_red = 43253
term_foreground_blue = 43253
term_foreground_green = 43253
term_background_red = 0
term_background_blue = 0
term_background_green = 0
term_background_saturation = 0,500000
Rogério Silva