PauloCotrim

Results comments of PauloCotrim

setxkbmap -model abnt2 -layout br -variant abnt2

setxkbmap -model abnt2 -layout br -variant abnt2 do without restarting wsl. If it works, you will probably have to configure it in .wsl config

echo "setxkbmap -model abnt2 -layout br -variant abnt2" >> ~/.bashrc I didn't find any parameters in /etc/wsl.conf so I put it to set when starting bash in the terminal

> setxkbmap -model abnt2 -layout br -variant abnt2 have an error message? Otherwise, open a program and the terminal and force the command: setxkbmap -model abnt2 -layout br -variant abnt2

looking at the log generating by tail -f weston.log, I realized that the problem of changing letters is the "native" layout: [13:32:08.854] convert_rdp_keyboard_to_xkb_rule_names: matching layout=br variant=nativo switching to abnt2 instead...

let output = format!("/home/users/Downloads/tmp/{id}.pdf"); let mut buf_out = Vec::new(); let mut file_output_tmp = File::open(&output)?; file_output_tmp.read_to_end(&mut buf_out)?; fdb_update.execute("update anexos set anexo = ? where id_anexo = ?", (buf_out,id))?; file_output_tmp.flush()?; remove_file(output)?; using...

Yes, I tested it and it worked.