On Sun, Apr 19, 2020 at 08:33:30PM -0700, sith wrote: > Thank you so much, I got my config file and xsessions working now! I > installed qtile with pip, and all the files went to the ~/.local/ > directory, In that directory, there is /bin with some of the qtile > commands, and a /lib directory with everything else. I had already added > the /bin directory to PATH in my bashrc, but using a direct path fixed it. > > Now my problem is getting applications to run on startup. In my > ~/.config/qtile directory I created autostart.sh, which I also added to my > config file, but it doesn't seem to work. This is the output I get: > > 2020-04-19 20:17:14,404 libqtile hook.py:fire():L373 Error in hook > startup_onceTraceback (most recent call last):File > "/home/sith/.local/lib/python3.7/site-packages/libqtile/hook.py", line 371, > in firei(*args, **kwargs)File "/home/sith/.config/qtile/config.py", line 197 > , in start_oncesubprocess.call([home + '/.config/qtile/autostart.sh'])File > "/usr/lib/python3.7/subprocess.py", line 323, in callwith Popen(*popenargs, > **kwargs) as p:File "/usr/lib/python3.7/subprocess.py", line 775, in > __init__restore_signals, start_new_session)File > "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_childraise > child_exception_type(errno_num, err_msg, err_filename)PermissionError: [ > Errno 13] Permission denied: '/home/sith/.config/qtile/autostart.sh' > > And here is my autostart.sh file: > > #!/bin/sh > feh --bg-scale ~/Pictures/Personal/Photos/2017/June/3/wallpaper.jpg & > redshift-gtk &Enter code here... > > The script works fine on its own, it's just getting it to start up. Do I > need to give PATH to the ~/.local/lib directory? > > Again, thanks for everything. Let me know if it would have been better to > start a new thread.
You need to chmod +x autostart.sh Tycho -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/20200420142839.GC16451%40cisco.
