View previous topic :: View next topic |
Author |
Message |
ShinobiX9X n00b
Joined: 07 Nov 2024 Posts: 3
|
Posted: Thu Nov 07, 2024 11:48 am Post subject: DWM portage not compiling after emerge |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22729
|
Posted: Thu Nov 07, 2024 3:38 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1933
|
Posted: Thu Nov 07, 2024 3:48 pm Post subject: |
|
|
Did you enable the savedconfig USE of x11-wm/dwm to look for such a change? |
|
Back to top |
|
|
ShinobiX9X n00b
Joined: 07 Nov 2024 Posts: 3
|
Posted: Thu Nov 07, 2024 5:27 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1933
|
Posted: Thu Nov 07, 2024 5:31 pm Post subject: |
|
|
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 |
|
|
ShinobiX9X n00b
Joined: 07 Nov 2024 Posts: 3
|
Posted: Thu Nov 07, 2024 5:36 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22729
|
Posted: Thu Nov 07, 2024 9:21 pm Post subject: |
|
|
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 |
|
|
|