Hi All,
I have both MATE and Xfce installed. If I boot into MATE, such that Xfce is not running, or not start a GUI at all, how do I do a group reinstall of Xfce?
Many thanks, -T
On Tue, 19 Jul 2022 04:42:52 -0700 ToddAndMargo via users users@lists.fedoraproject.org wrote:
Hi All,
I have both MATE and Xfce installed. If I boot
into MATE, such that Xfce is not running, or not start a GUI at all, how do I do a group reinstall of Xfce?
Many thanks, -T
Open a terminal and do dnf reinstall group 'xfce' ? Not sure of the group name, but this should pull in most of it. If you want more, I think there is another command you can add to pull in optional packages. man dnf should find it.
On 7/19/22 08:37, stan via users wrote:
On Tue, 19 Jul 2022 04:42:52 -0700 ToddAndMargo via users users@lists.fedoraproject.org wrote:
Hi All,
I have both MATE and Xfce installed. If I boot
into MATE, such that Xfce is not running, or not start a GUI at all, how do I do a group reinstall of Xfce?
Many thanks, -T
Open a terminal and do dnf reinstall group 'xfce' ? Not sure of the group name, but this should pull in most of it. If you want more, I think there is another command you can add to pull in optional packages. man dnf should find it.
Hi Stan,
There has been some changes in dnf and groups.
I have yet to figure out "group reinstall". The manual page is not being a lot of help.
This is what I have so far:
List: # dnf group list | grep -i xfce Xfce Desktop
Install: # dnf groupinstall 'XFCE Desktop'
Reinstall: Note, not working as of 2022-07-19 # dnf groupreinstall 'XFCE Desktop'
Errors I get back:
# dnf groupreinstall 'XFCE Desktop' No such command: groupreinstall. Please use /usr/bin/dnf --help It could be a DNF plugin command, try: "dnf install 'dnf-command(groupreinstall)'"
# dnf group reinstall 'XFCE Desktop' Invalid groups sub-command, use: summary, list, info, remove, install, upgrade, mark.
# dnf groupinstall 'XFCE Desktop(groupreinstall)' Last metadata expiration check: 2:03:15 ago on Tue 19 Jul 2022 10:08:27 AM PDT. Module or Group 'XFCE Desktop(groupreinstall)' is not available. Error: Nothing to do.
-T
On Tue, 19 Jul 2022 12:13:51 -0700 ToddAndMargo via users users@lists.fedoraproject.org wrote:
I have yet to figure out "group reinstall". The manual page is not being a lot of help.
This is what I have so far:
List: # dnf group list | grep -i xfce Xfce Desktop
Install: # dnf groupinstall 'XFCE Desktop'
Reinstall: Note, not working as of 2022-07-19 # dnf groupreinstall 'XFCE Desktop'
Errors I get back:
# dnf groupreinstall 'XFCE Desktop' No such command: groupreinstall. Please use /usr/bin/dnf --help It could be a DNF plugin command, try: "dnf install 'dnf-command(groupreinstall)'"
# dnf group reinstall 'XFCE Desktop' Invalid groups sub-command, use: summary, list, info, remove, install, upgrade, mark.
# dnf groupinstall 'XFCE Desktop(groupreinstall)' Last metadata expiration check: 2:03:15 ago on Tue 19 Jul 2022 10:08:27 AM PDT. Module or Group 'XFCE Desktop(groupreinstall)' is not available. Error: Nothing to do.
-T
My bad, I didn't check the group reinstall command, thought it would just be analogous to install and reinstall. You've already done what I would do. Is there a way to get packages from the Xfce Desktop group, or that you have installed? If you can get that list, you could put it in a file and run a #! /bin/bash
dnf reinstall \ pkg1 \ pkg2\ ... pkg??
I was playing around with this trying to get a list of packages, and I used the command dnf group info 'Xfce Desktop' and received a list of groups that are in that group. There were many optional xfce groups. The one you want is probably one of them. If you then do a dnf group info 'Applications for the Xfce Desktop' it will give you a list of the packages for that group.
That doesn't get you a group reinstall, but it allows you to reinstall select packages.
On 7/19/22 07:42, ToddAndMargo via users wrote:
Hi All,
I have both MATE and Xfce installed. If I boot into MATE, such that Xfce is not running, or not start a GUI at all, how do I do a group reinstall of Xfce?
Many thanks, -T
If you don't start a gui in X11 you can use "xinit -- :0" to start a terminal and then xfce4-session. From MATE in a terminal session, you can install switchdesk-gui and select xfce desktop. A reinstall is not necessary. Some display managers have a menu that will allow you to select the desktop from a list of installed ones.
On 7/19/22 04:42, ToddAndMargo via users wrote:
Hi All,
I have both MATE and Xfce installed. If I boot into MATE, such that Xfce is not running, or not start a GUI at all, how do I do a group reinstall of Xfce?
Many thanks, -T
Follow up:
Apparently, Xfce was never installed with a group install years ago.
# dnf group remove 'Xfce Desktop' Warning: Module or Group 'Xfce Desktop' is not installed. Dependencies resolved. Nothing to do. Complete
So I removed the xfce4 programs one at a time and then did a group install.
The problem I was trying to correct got corrected (krusader requiring that I press "end" to get a rename to take place) was fixed and Xfce itself was snappier too. I did this from MATE.
Thank you all for the help and tips!
Here are my Xfce group install/remove notes:
-T
Xfce group install:
References:
https://www.addictivetips.com/ubuntu-linux-tips/how-to-install-xfce-desktop-... https://r00t4bl3.com/post/how-to-install-xfce-desktop-in-fedora-35
Note: there is no group reinstall. You have to do a two step remove and install. See remove note below.
List: # dnf group list | grep -i xfce Xfce Desktop
Remove: Warning: removed lightdm-gtk and way more things than just Xfce!! Consider looking for `xfce4` packages and removing them individually: $ rpm -qa xfce4* # dnf remove xfce4_package(s)
Get out of Xfce. MATE works for this. Also `init 3` and `xinit -- :0` for command line only.
# dnf groupremove 'Xfce Desktop' # dnf remove @xfce-desktop-environment
Install: # dnf group install 'Xfce Desktop' # dnf install @xfce-desktop-environment
On 7/20/22 15:56, Samuel Sieb wrote:
On 7/20/22 12:28, ToddAndMargo via users wrote:
Install: # dnf group install 'Xfce Desktop' # dnf install @xfce-desktop-environment
Those should be equivalent. Did they do something different or are you just offering alternatives?
Showing both ways.
By the way,
# dnf reinstall @xfce-desktop-environment
does not work.
Hopefully reactivating an old thread whose reply does not work with FC37...
I have an x86 FC37 XFCE-spin whose GUI setups had a kind of creeping death, then went bonkers.
I'd like to force-reinstall XFCE completely (no desire to save any X/XFCE configs- would like all that re-initialized, like a XFCE-spin fresh-install (at least for the X-stuff only).
I tried some online suggestions, but XFCE is still not right, the background image does not show (only black screen), the 'pager' does not work (only 1 page is shown when there it says there should be 8 workspaces). also, desktop and progs are not remembered when i leave/restart the session.
Attempting to reinstall from thread and online-article suggestions; one problem is that running the suggested:
dnf groupremove 'Xfce Desktop'
Results in a dnf error about it would result in removing dnf and sudo. using the suggested '--skip-broken' does not work.
Note: I start FC37 in text-mode (lightdm), and only run X when I need it by running 'startx'.
On 04/09/2023 02:34 PM, Ron Flory via users wrote:
Note: I start FC37 in text-mode (lightdm), and only run X when I need it by running 'startx'.
First, you should really be using startxfce4, but if startx works, it's not important. Second, are you doing this in text mode, without ever having started Xfce? If not, try it that way as it might make a difference.
yes, also tried startxfce4 (which I imagine startx also indirectly calls). both act the same, and same xfc* processes are running.
No good. XFCE display is just 'not right', and most gui apps refuse to allow resize, etc.
Interestingly, the xscreensaver (with password prompt) seems to look just fine.
Somehow, i expect the XFCE/FC37-specific configs just aren't being restored. I also deleted all ~/.configs/xfce4* files, etc before XFCE removal and reinstall. Perhaps this extends into the base X11 stuff as well?
(I wonder why/when dnf removed their "-force" switch (for install) ?)
ron
------------------------------------------------------------------------
On 4/9/2023 4:11 PM, Joe Zeff wrote:
On 04/09/2023 02:34 PM, Ron Flory via users wrote:
Note: I start FC37 in text-mode (lightdm), and only run X when I need it by running 'startx'.
First, you should really be using startxfce4, but if startx works, it's not important. Second, are you doing this in text mode, without ever having started Xfce? If not, try it that way as it might make a difference. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
that would be a bad thing, but you misunderstand- force 'install' (ala 'rpm' command), even if already installed... I see now that dnf supports 'reinstall'.
ron
------------------------------------------------------------------------
On 4/9/2023 6:20 PM, Samuel Sieb wrote:
On 4/9/23 14:51, Ron Flory via users wrote:
(I wonder why/when dnf removed their "-force" switch (for install) ?)
dnf never had a "force" option, just rpm. Why do you need it? What would it do? Do you really want it to remove itself? _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Sun, 2023-04-09 at 15:34 -0500, Ron Flory via users wrote:
I'd like to force-reinstall XFCE completely (no desire to save any X/XFCE configs- would like all that re-initialized, like a XFCE-spin fresh-install (at least for the X-stuff only).
Your per-user config won't be affected by a reinstall. If you don't want to keep it, you should delete the appropriate directory under ~/.config (I don't use XFCE but probably ~/.config/XFCE or similar).
poc
On Sun, 2023-04-09 at 15:34 -0500, Ron Flory via users wrote:
Hopefully reactivating an old thread whose reply does not work with FC37...
I have an x86 FC37 XFCE-spin whose GUI setups had a kind of creeping death, then went bonkers.
I'd like to force-reinstall XFCE completely (no desire to save any X/XFCE configs- would like all that re-initialized, like a XFCE-spin fresh-install (at least for the X-stuff only).
Unless you personally messed around with XFCE files outside of your homespace, then none of XFCE should be broken. And a reinstall won't change anything.
Your own configuration is within your own homespace. You can test this by creating a completely new user, and see if that behaves as expected. Then if that's the case, you can hunt down your ~/.config/xfce4/ config files and remove them, resetting your own account configurations.
If XFCE has broken files, and *you* didn't do it, then you may have a hard drive failure. Replacing it is the answer to that.