Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-21 10:11:33

newnewbie
Member
Registered: 2020-04-21
Posts: 8

How to repair XFCE?

I did nothing dangerous.
GEDIT Emails and Browsing.
PC became slow and now its frozen.
I think the GUI XFCE is destroyed.
How can I repair it?
I can still do  F1 STRG ALT.

Thank You.

Offline

#2 2020-04-21 10:48:37

alcornoqui
Member
Registered: 2014-07-28
Posts: 644

Re: How to repair XFCE?

Hello and welcome.

That's too little information, see ToZ's "How to ask for help".

What's your distro? Please post the output of the commands top and lspci.

Additionally, you can install the Phoronix Test Suite and have a comprehensive view of your system's perf:

- Instructions for Debian/Ubuntu
- Download for other distros

Offline

#3 2020-04-21 10:53:13

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

Can this help?

$ rm .cache/session/*


90% destroying old sessions will help.

How can I answer Your questions
cause this is another PC
other office.

The problem PC is using Xubuntu 18.10.

Thank You.

Offline

#4 2020-04-21 11:37:51

alcornoqui
Member
Registered: 2014-07-28
Posts: 644

Re: How to repair XFCE?

Yes, old sessions have caused problems for me in the past, but the folder is ~/.cache/sessions (notice the trailing s). Make sure you delete it while not logged in. --> edited to add: In Settings Manager > Session and Startup > Session tab, there should be a clear saved session button that should clear it out. <--

Do you have Startup and Session > General tab > Logout Settings > "Automatically save session on logout" option unchecked?

Last edited by alcornoqui (2020-04-21 11:48:43)

Offline

#5 2020-04-21 11:52:23

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

I cannot start or reach the setting-manager.
I have to do STRG ALT F1  and then
I have to do

rm ~/.cache/sessions.

Is this ok?


Where can I find with ls:

Do you have Startup and Session > General tab > Logout Settings > "Automatically save session on logout" option unchecked?


I cannot use the GUI, sorry.

Offline

#6 2020-04-21 14:01:10

alcornoqui
Member
Registered: 2014-07-28
Posts: 644

Re: How to repair XFCE?

I think this will do, from the Arch wiki (but should work across distros):

Disable saved sessions

Per user, saved sessions can be disabled by executing the following:

$ xfconf-query -c xfce4-session -p /general/SaveOnExit -s false

Then navigate to Applications > Settings > Session and Startup > Sessions and press the Clear saved sessions button to remove all previously saved sessions.

Tip: If the command above does not change the setting persistently, use the following command instead:

xfconf-query -c xfce4-session -p /general/SaveOnExit -n -t bool -s false

Last edited by alcornoqui (2020-04-21 14:02:05)

Offline

#7 2020-04-21 14:58:53

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

xfconf-query -c xfce4-session -p /general/SaveOnExit -s false


Thank You.

This was accepted.

But

Then navigate to Applications > Settings > Session and Startup > Sessions and press the Clear saved sessions button to remove all previously saved sessions.


I could not find  dir

Applications.

Sorry.

Offline

#8 2020-04-21 18:19:29

alcornoqui
Member
Registered: 2014-07-28
Posts: 644

Re: How to repair XFCE?

newnewbie wrote:

But

Then navigate to Applications > Settings > Session and Startup > Sessions and press the Clear saved sessions button to remove all previously saved sessions.


I could not find  dir

Applications.

No worries. The "Clear saved sessions" button has the same effect as the command you issued before (rm ~/.cache/sessions). --> EDIT: No, I think the command should be:

rm -rf ~/.cache/sessions

Can you login normally now?

Last edited by alcornoqui (2020-04-21 18:22:35)

Offline

#9 2020-04-21 18:44:08

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

Thank You
Xubuntu did accept:

$ xfconf-query -c xfce4-session -p /general/SaveOnExit -s false
rm -rf ~/.cache/sessions

But the problem is the same.



Shall I try:


xfconf-query -c xfce4-session -p /general/SaveOnExit -n -t bool -s false

?

I ll tell You when the machine is runnig well.

Regards

Offline

#10 2020-04-23 14:02:22

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

Machine is running.

Thank You.

Some questions more.

Is XFCE a spftware like gimp or gedit?
Can I delete xfce and install it again?
how?
How can I delete the last session?
How can I delete all session and make it fresh?

Thank You.

Offline

#11 2020-04-23 14:46:35

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 138

Re: How to repair XFCE?

newnewbie wrote:

Machine is running.

Thank You.

Some questions more.

Is XFCE a spftware like gimp or gedit?
Can I delete xfce and install it again?
how?

XFCE4 is a desktop manager. It's what allows you to interact with the applications like gimp or gedit and the hardware.

newnewbie wrote:

How can I delete the last session?
How can I delete all session and make it fresh?

Thank You.

You just did. When you exit/logout just make sure "saved sessions" is not checked and you will have a fresh session every time you login.

Offline

#12 2020-04-29 15:24:47

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

Where can I find "saved sessions"?
Regards

Thunar is a part of XFCE.
How can I tell

show me not only DATE

but also the time of file change.

Offline

#13 2020-04-29 15:52:46

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 138

Re: How to repair XFCE?

~/.cache/sessions is the location of the file(/home/$user/.cache/sessions)
Not sure if it's time stamped at all.

Thunar is a part of XFCE.
How can I tell

Yes, Thunar is XFCE's file manager.
Not sure what you mean, "How you can tell". It's part of the overall XFCE4 environment.

k1YiSf9.png
Be sure to leave "unchecked" when logging out if that's your preference.

Offline

#14 2020-04-29 23:56:23

Laurentius
Member
Registered: 2016-09-04
Posts: 45

Re: How to repair XFCE?

newnewbie wrote:

Thunar is a part of XFCE.
How can I tell

show me not only DATE

but also the time of file change.

Do you mean on the "date modified" column of Thunar's deailed list view?

In the Menu bar, go to Edit > Preferences

There you can choose a Date format that incudes time.

Offline

#15 2020-05-21 16:24:30

newnewbie
Member
Registered: 2020-04-21
Posts: 8

Re: How to repair XFCE?

Thank You.
I could find all.
Thank You.

Can I ask other questions about Linux?

Offline

#16 2020-05-21 17:52:23

alcornoqui
Member
Registered: 2014-07-28
Posts: 644

Re: How to repair XFCE?

newnewbie wrote:

Can I ask other questions about Linux?

As a fellow user, my understanding is that the forum is for Xfce related questions, but you can try in the General Discussion section and see if someone can help, it happens!

In any case, one question per thread is much preferred. You're welcome!

Last edited by alcornoqui (2020-05-21 17:52:49)

Offline

#17 2020-05-21 18:02:16

bernd_b
Member
Registered: 2019-08-25
Posts: 11

Re: How to repair XFCE?

I don't know how the rules apply when topics are not xfce-related.

But there are many places for general questions, like linuxquestions .
Since you are using xubuntu, another good place to turn to should be ubuntuforums.

Offline

Board footer

Powered by FluxBB