xterm 계산기 설정 #!/bin/bash xterm -uc -title calc -geometry 20x10-340--255 -e bc -q & sleep 0.1 wmctrl -r calc -b add,above exit 파이썬 터미널 계산기 import os import _thread import time aa = ("xterm -uc -title calc -geometry 20x10-340--255 -e bc -q") bb = ("wmctrl -r calc -b add,above") def os_system(path): os.system(path) def os_popen(path): os.popen(path) _thread.start_new_thread(os_system, (aa,)) time.sleep(0.1) _thread.start_new_thread(os_popen, (bb,)) import os import subprocess os.system("")