Skip to content
Snippets Groups Projects
Commit 5762b447 authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

change font size of xterm terminal

parent 0a6eedaf
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ def run_vc_server(map_connection_ubuntu_base, is_reaction):
map_json = json.dumps({"map_ip": map_connection_ubuntu_base, "is_reaction": is_reaction, "total_router": NUM_UBUNTU_BASE})
command_str = f"python3 {DIR}/ubuntu_base/vc_server.py '{map_json}'"
p = subprocess.Popen(
['xterm', '-iconic', '-e', command_str],
['xterm', '-iconic', '-fa', "'Monospace'", '-fs', '14', '-e', command_str],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
stdin=subprocess.DEVNULL,
......
......@@ -253,7 +253,7 @@ def run_firewall_solo5_hvt(private, public):
command_str = " ".join(command)
# print(f"{command_str}")
subprocess.Popen(
['xterm', '-e', command_str],
['xterm', '-fa', "'Monospace'", '-fs', '14', '-e', command_str],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
stdin=subprocess.DEVNULL,
......@@ -296,7 +296,7 @@ def run_ids_solo5_hvt(map_tap_inf_for_ids):
command_str = " ".join(command)
# process = subprocess.Popen(['gnome-terminal', '--', 'bash', '-c', command_str])
process = subprocess.Popen(
['xterm', '-e', command_str],
['xterm', '-fa', "'Monospace'", '-fs', '14', '-e', command_str],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
stdin=subprocess.DEVNULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment