![]() ![]() Your question is unrelated to either Python or background or boot.īack to your actual question - there is no generic mechanism. I am having a hard time getting it to display a desktop notification to a user logged in via GUI. ![]() However, since the script runs as root, I am having a hard time getting it to display a desktop notification to a user logged in via GUI. I have created a service in / etc/systemd/system/ named *rvice *with the following configuration I would like it to run on boot such that when I tether my phone to my PC I get a desktop notification. Match_obj = re.findall(r'(\w\s]+)\:\s(\d\s\.\-]+\w]'.format(message)], preexec_fn=demote())įrom pyudev.glib import GUDevMonitorObserver as MonitorObserver Tbody = acc.find_element_by_tag_name('tbody') """Scrapes balance data from ISP website."""Īcc = driver.find_element_by_id('account') #os.system('notify-send ' + title + ' ' + message) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |