You are not logged in.
Pages: 1
http://i.imgur.com/EwPOQsW.png
I was following this youtube tutorial on configuring i3 and all I'm doing is binding "lock i3" to mod+shift+x and setting a wallpaper so that it stays even after I logout and back in again. When I log in though I get this error code in the screenshot above. I tried editing the config in both vim and nano and got the same result. Any ideas?
Offline
Don't follow youtube videos. They are usually wrong.
The error is pretty clear. the filename, on line 159, should be on the same line as feh, line 158.
Edit: Actually, i think all three lines should be on the same line. I don't now the syntax for i3lock
Last edited by ewaller (2017-08-08 20:58:28)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
http://i.imgur.com/BVgMPqw.png
I don't get it. They are on the same line. The formatting is just smushed because the windows are narrow. Here, I took better screenshot.
ps wth is up with the letter spacing in my terminal. it overlaps and then other times there is way too much space. that issue is not the narrow windows but persists no matter what.
Offline
Don't post screenshots of text, paste the actual text (in code tags).
Offline
Don't post screenshots of text, paste the actual text (in code tags).
Believe me, I've tried. I'm running arch in a VM on a mac and I swear to god there is just no way to copy text from there nor paste text into it.
Offline
jasonwryan wrote:Don't post screenshots of text, paste the actual text (in code tags).
Believe me, I've tried. I'm running arch in a VM on a mac and I swear to god there is just no way to copy text from there nor paste text into it.
Offline
Something is wrong with the sytax in your config file, did you manually copy the config or use the i3-config-wizard itool?. Your i3lock syntax is fine (it should just show a white screen since you did not specify a background and/or image) Your best bet is to delete that config file and re-run the tool to start afresh.
Last edited by okubax (2017-08-08 23:51:26)
Offline
Hello teytur!
According to "i3lock" manual: You have to use a ".png" file! Furthermore You have to use the "i" option in order to specify the image path.
I use the below in my i3 config:
# Bacground image using the external program: [feh]
exec --no-startup-id feh --bg-scale 2560x1440 ~/Pictures/bear_background.jpg
# lock the screen
bindsym $mod+l exec --no-startup-id i3lock -i ~/Pictures/lock_screen.png -t & sleep 100 && xset dpms force off
Regards
Martin
Last edited by onslow77 (2017-08-09 03:15:50)
It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.
Offline
Error clearly says that line 158 is "exec_always...--bg-scale", while line 159 is "/home/....jpg", they both clearly should be on the same line. As you can see that Line 159 is underlined in the error text, means it is the line with actual error.
Arch is home!
https://github.com/Docbroke
Offline
Hello teytur!
According to "i3lock" manual: You have to use a ".png" file! Furthermore You have to use the "i" option in order to specify the image path.
I use the below in my i3 config:
# Bacground image using the external program: [feh] exec --no-startup-id feh --bg-scale 2560x1440 ~/Pictures/bear_background.jpg # lock the screen bindsym $mod+l exec --no-startup-id i3lock -i ~/Pictures/lock_screen.png -t & sleep 100 && xset dpms force off
Regards
Martin
As you can see, the fellow isn't specifying any image for i3lock, which would still work (albeit a blank white screen).
Offline
Now I really done fucked up. To be clear I'm not trying to have a wallpaper on the i3lock screen. Just trying to set a basic desktop wallpaper that doesn't disappear after logging out. Anyway so I tried moving the edits to the same line and now at least I don't get an error when I refresh i3 but when I try to lock I get the loading wheel and then nothing happens. The wallpaper didn't stay and now my terminal launch binding doesn't work either. I think I've foobar'd this system I might just try deleting the config wizard it back. Thanks for the tho guys!
Offline
try deleting the config wizard it back
Do you hope to advance by not understanding the problem, but repeat your previous mistakes?
Please either post the actual text of that file or at least use a monospace console font.
Otherwise it's even hard to guess what actually the contents of the file are.
The reason that copy and paste doesn't work is btw. likely that copy and paste in VTEs usually doesn't support the windows shortcuts (since notably ctrl+c has a rather special meaning in the context of a CLI)
Maybe use a GUI editor.
Offline
As you can see, the fellow isn't specifying any image for i3lock, which would still work (albeit a blank white screen).
No I cant see because both the config and the error are shown in an image.
...To be clear I'm not trying to have a wallpaper on the i3lock screen. Just trying to set a basic desktop wallpaper that doesn't disappear after logging out...
tetytur - As @seth and @jasonwryan allready stated, please post the actual config and the error in "code tags" to avoid misunderstandings. That said, you should configure "Feh and i3lock" on there own line in your i3 config file. For example:
# Persistant wallpapper with feh
exec --no-startup-id feh --bg-scale <your_resolution> <path_to_image>
# lock the screen with i3lock
bindsym $mod+l exec --no-startup-id i3lock <your_options>
Consult the i3lock manual for possible options.
Regards
Martin
Last edited by onslow77 (2017-08-09 14:01:16)
It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.
Offline
Pages: 1