You are not logged in.
Hi all,
I changed the config file xfce4-session this way:
https://raw.githubusercontent.com/carlo … ession.xml
(In the session named "Default" I don't run xfwm4 and I run awesome instead)
Is there a command to let Xfce use that session at the next boot?
Cheers!
Offline
Replace the existing xfce4-session.xml file with this one before you log in.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Replace the existing xfce4-session.xml file with this one before you log in.
You mean
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
?
Last edited by carloratm (2025-01-13 10:08:22)
Offline
No, the current user-specific copy in ~/.config/xfce4/xfconf/xfce-perchannel-xml.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
No, the current user-specific copy in ~/.config/xfce4/xfconf/xfce-perchannel-xml.
I put the session config file in the user ...xfce-perchannel-xml/, removed the ~/.cache/xfce4 folder and rebooted.
Still xfwm4 starts instead of awesome.
Offline
So it's something else. You had initially asked about different sessions, but it appears that you are looking for a way to start awesome instead of xfwm4. Is this correct?
If you're looking for a way to switch between xfwm4 and awesome, then you kill one process and start the other manually.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Sorry for not being clear.
What I would like to achieve is just use awesome instead of xfwm4. No need to be able to switch wm at runtime.
The only requirement I have is to be able to set awesome without having to click on the UI, I want to set it using a file or an xfconf command.
Thank you
Offline
Does this help?
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Does this help?
The second answer is what I tried (changing xfwm4 to awesome in /etc/xdg/...xfce4-session.xml) without success.
I'll make other tests tomorrow.
PS: The reason I would like to avoid clicking the UI is because I manage xfce with ansible, and I need to replicate the exact same set up on 2 different machines.
Offline
The second answer will only work for new user logins. Try the first answer.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 563.98 KiB (Peak: 580.82 KiB) ]