Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i3 + dunst + redshift + setxkbmap = nothing happens
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
xahodo
n00b
n00b


Joined: 17 May 2007
Posts: 42
Location: Gouda, the Netherlands

PostPosted: Tue Dec 31, 2019 4:36 pm    Post subject: i3 + dunst + redshift + setxkbmap = nothing happens Reply with quote

Hello,

I'm currently in the process of configuring i3 and I've run into some problems.

It seems when I try to launch dunst, redshift and setxkbmap from the i3 configuration file, things don't happen.

When I do things from ~/.xinitrc, I get greeted with a black screen. Redshift and dunst both run as expected when launched manually. Obviously, that is not a solution to me.

I'm stumped. Can anybody help?

relevant code snippet from ~/.config/i3/config . The rest is left to default.
Code:

exec --no-starup-id dunst
exec --no-statup-id redshift
exec --no-starup-id setxkbmap "-model pc105 -layout us -variant intl -option \\"lv3:lalt_switch\\""


~/.xinitrc
Code:

#!/bin/bash
xrdb -merge ~/.Xresources
exec i3


~/.Xresources is of little relevance here (as far as I see). There's just some configuration options for urxvt in there and urxvt runs fine.
Back to top
View user's profile Send private message
etnull
Apprentice
Apprentice


Joined: 26 Mar 2019
Posts: 289

PostPosted: Tue Dec 31, 2019 5:23 pm    Post subject: Reply with quote

Why not run everything in xinitrc, with the i3 launch at the very end?
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 129
Location: Scotland

PostPosted: Tue Dec 31, 2019 5:42 pm    Post subject: Reply with quote

Quote:
xrdb -merge ~/.Xresources &


ampersand at the end of this line?
Back to top
View user's profile Send private message
xahodo
n00b
n00b


Joined: 17 May 2007
Posts: 42
Location: Gouda, the Netherlands

PostPosted: Tue Dec 31, 2019 8:35 pm    Post subject: Reply with quote

etnull wrote:
Why not run everything in xinitrc, with the i3 launch at the very end?

I tried putting everything in ~/.xinitrc and the result was a black screen, which only could be fixed by a reboot (no ssh access). NOTE: the system was still responsive though and responded correctly to a press on the power button.

Proinsias wrote:
Quote:
xrdb -merge ~/.Xresources &
ampersand at the end of this line?

That line is the only one behaving as expected, without ampersand.
Back to top
View user's profile Send private message
xahodo
n00b
n00b


Joined: 17 May 2007
Posts: 42
Location: Gouda, the Netherlands

PostPosted: Tue Dec 31, 2019 8:53 pm    Post subject: Reply with quote

DOH :oops: :oops: :oops:
NOTE TO SELF:
When uninstalling kde, check that programs you still need are actually still there.
I cleaned out my world file to remove any trace of kde, updated my use flags, and finally removed kde completely... however, I completely forgot this also happened to remove redshift and setxkbmap.

After twiddling some time, I discovered they were missing and reinstalled them. Of course, they didn't immediately work. When I put them in ~/.xinitrc (where they belong), dunst and redshift should be sent to the background when started, so xinit/bash can actually move on with processing the file.

Fixed those and everything is running now.

Here's my current (working) ~/.xinitrc:
Code:

#!/bin/bash
xrdb -merge ~/.Xresources
setxkbmap -model pc105 -layout us -variant intl -option "lv3:lalt_switch"
exec redshift &
exec dunst &
exec i3

Both redshift and dunst function as expected.

Only thing I still left is the ugly looking mouse pointer.
Back to top
View user's profile Send private message
etnull
Apprentice
Apprentice


Joined: 26 Mar 2019
Posts: 289

PostPosted: Tue Dec 31, 2019 9:41 pm    Post subject: Reply with quote

xahodo wrote:
Only thing I still left is the ugly looking mouse pointer.

xsetroot -cursor_name left_ptr
to .xinitrc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum