Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Properly set i3 as window manager
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 21 Jul 2018
Posts: 43

PostPosted: Fri Jul 27, 2018 4:47 am    Post subject: Properly set i3 as window manager Reply with quote

Fresh install of gentoo. I've edited my ~/.bash_profile so that it starts x on login. From here I have emerged i3 and would like to have it so when I log in I am greeted to an i3 environment.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Fri Jul 27, 2018 5:30 am    Post subject: Reply with quote

in your .xinitrc
Code:
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
exec i3


I don't remember what the first line does, so it is probably important ;)
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
dendro
n00b
n00b


Joined: 21 Jul 2018
Posts: 43

PostPosted: Fri Jul 27, 2018 6:11 am    Post subject: Reply with quote

The Doctor wrote:
in your .xinitrc
Code:
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
exec i3


I don't remember what the first line does, so it is probably important ;)


I managed to get it to work with just
Code:
exec i3
but this also works so I'll go with this. :) thank you!! Solved
Back to top
View user's profile Send private message
saderror256
n00b
n00b


Joined: 26 Jul 2018
Posts: 13
Location: Current Directory

PostPosted: Fri Jul 27, 2018 10:11 pm    Post subject: Reply with quote

you might want to look into a graphical display manager instead. see lightDM

apart from that, go here for xinit
_________________
FreeBSD user, but still uses and loves himself some Gentoo!

I wont judge you based on what you use, newbie or inexperienced, you are still amazing for being here B)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Fri Jul 27, 2018 11:44 pm    Post subject: Reply with quote

The Doctor wrote:
Code:
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
I don't remember what the first line does, so it is probably important ;)
That tests for an Xresources file and, if found, loads its contents so that they are available to be read by X applications. Xresources is one of the more traditional ways of configuring X applications. Like many files from that era, Xresources is editable as a text file, so if you want to know what it does, viewing it and checking the manual pages for the affected applications (which you can likely guess from the text in the file) will tell you what the resources are doing.
Back to top
View user's profile Send private message
Marcih
Apprentice
Apprentice


Joined: 19 Feb 2018
Posts: 213

PostPosted: Sun Jul 29, 2018 8:11 am    Post subject: Reply with quote

saderror256 wrote:
you might want to look into a graphical display manager instead. see lightDM

apart from that, go here for xinit

I don't think dendro will want to be going that route since he's already gotten X to start at login and i3 to launch when X server is initialized. At this point, a DM would serve no purpose other than to eat up resources.
_________________
Bones McCracker wrote:
It wouldn't be so bad, if it didn't suck.

NeddySeagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.
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