Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DWM portage not compiling after emerge
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
ShinobiX9X
n00b
n00b


Joined: 07 Nov 2024
Posts: 3

PostPosted: Thu Nov 07, 2024 11:48 am    Post subject: DWM portage not compiling after emerge Reply with quote

Hello,

I am new to Gentoo, been using Arch for some years and wanted to try Gentoo out.

I followed the Document, and installed DWM through Portage following the tutorial.

I changed 1 option in the config.he (actually here /etc/portage/savedconfig/x11-wm/dwm-6.5)
changed the mod1 to 4, but after emerge, or even updating everything, it still doenst use the super key, but the alt key.

Any idea what I do wrong? Which config can I show for getting help?

Thank you in advance
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22753

PostPosted: Thu Nov 07, 2024 3:38 pm    Post subject: Reply with quote

Welcome to the forums. Per Guidelines item #4, please show us the commands you used with sufficient detail that we can reproduce your problem. Did Portage acknowledge that it picked up your change? What exactly did you put in the override?
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1935

PostPosted: Thu Nov 07, 2024 3:48 pm    Post subject: Reply with quote

Did you enable the savedconfig USE of x11-wm/dwm to look for such a change?
Back to top
View user's profile Send private message
ShinobiX9X
n00b
n00b


Joined: 07 Nov 2024
Posts: 3

PostPosted: Thu Nov 07, 2024 5:27 pm    Post subject: Reply with quote

Hi, thnx for the fast replies.

After looking and trying a lot, this is what helped me.

I had the savedconfig use flag in .../package.use/dwm.
I removed that dwm file and instead added the savedconfig use flag in portage/make.conf

Now it worked.

I am confused when to add use flags in make.conf or in a seperate file for a package in package.use/

For DWM I am not sure when to edit the savedconfig/x11-wm/dwm-*
or when to use that seperate gentoo patch folder. And should I use git in any of the two?

thank you :)
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1935

PostPosted: Thu Nov 07, 2024 5:31 pm    Post subject: Reply with quote

ShinobiX9X wrote:
I had the savedconfig use flag in .../package.use/dwm.

What syntax was in this file?
It should be: x11-wm/dwm savedconfig
The name of the file is for you and for ordering. The name has no application to an actual package.
Back to top
View user's profile Send private message
ShinobiX9X
n00b
n00b


Joined: 07 Nov 2024
Posts: 3

PostPosted: Thu Nov 07, 2024 5:36 pm    Post subject: Reply with quote

grknight wrote:

It should be: x11-wm/dwm savedconfig


It is deleted now, but I'm pretty sure it was like that.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22753

PostPosted: Thu Nov 07, 2024 9:21 pm    Post subject: Reply with quote

ShinobiX9X wrote:
I had the savedconfig use flag in .../package.use/dwm.
I removed that dwm file and instead added the savedconfig use flag in portage/make.conf
This is probably not what you want, since that enables savedconfig for every package that understands that flag.
ShinobiX9X wrote:
I am confused when to add use flags in make.conf or in a seperate file for a package in package.use/
Use make.conf for global flags, or put those as a wildcard in package.use. Use package.use for package-specific flags.
ShinobiX9X wrote:
For DWM I am not sure when to edit the savedconfig/x11-wm/dwm-*
or when to use that seperate gentoo patch folder.
Use the directory that is appropriate to what you want to achieve. They have separate purposes, so you can only use savedconfig for things related to saved configurations.
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