Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Nitrogen is not starting on start of i3, i don't know why.

felipe@ubuntu:~$ cat .xinitrc 
 #!/usr/bin/env bash

exec i3
exec nitrogen --no-startup-id --restore

here is the config

felipe@ubuntu:~$ cat .config/nitrogen/bg-saved.cfg 
[:0.0]
file=/home/felipe/Imágenes/images-wallpaper-comics-87590.jpg
mode=4
bgcolor=#000000

here is the other

felipe@ubuntu:~$ cat .config/nitrogen/nitrogen.cfg 
[geometry]
posx=0
posy=18
sizex=1916
sizey=1041

[nitrogen]
view=icon
icon_caps=false
dirs=/home/felipe/Imágenes;

I start i3 from lightdm

share|improve this question
add comment

1 Answer

If you want to start nitrogen via xinitrc you would have to launch it before executing i3, so it would look something like this

#!/bin/bash
nitrogen &
exec i3

Or you could also use i3's config file to autostart nitrogen, just add the following somewhere into you i3 config.

...
exec --no-startup-id nitrogen
...
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.