Xfce Forum

Sub domains
 

You are not logged in.

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

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

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: 832

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: 15

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: 832

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: 15

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: 832

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: 15

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: 832

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: 15

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: 15

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: 531

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.


Siduction
Debian Sid
Xfce 4.18

Offline

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

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

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: 531

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.


Siduction
Debian Sid
Xfce 4.18

Offline

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

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

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: 15

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: 832

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: 29

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

#18 2020-06-05 06:03:48

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

Re: How to repair XFCE?

One more XFCE THUNAR question.
How can I tell THUNAR
to ask before delete?
Thank You.

Offline

#19 2020-06-05 11:02:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: How to repair XFCE?

newnewbie wrote:

One more XFCE THUNAR question.
How can I tell THUNAR
to ask before delete?
Thank You.

Thunar will never permanently delete a file without asking you. If you are not being asked, that means the file is going to your trash and you can retrieve it from there if you need it.

If you would still like some sort of confirmation, you can create a custom action to do this for you. Here is an example of how to create such a custom action.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#20 2020-06-05 13:52:37

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: How to repair XFCE?

newnewbie wrote:

One more XFCE THUNAR question.
How can I tell THUNAR
to ask before delete?

Highlight file, press and hold one of the SHIFT keys, and press your DELETE key.

You'll want to test this on an unimportant file, of course...


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#21 2020-06-05 14:15:34

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

Re: How to repair XFCE?

I did it.
Its fine.
But the question is/was:
I want Xubuntu to ask always without shift.
Thank You.

Offline

#22 2020-06-05 19:45:59

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: How to repair XFCE?

Well, DELETE by itself is set up to move files (to the Trash folder) instead of deleting them. I just had a look in Thunar's Preferences pop-up window and couldn't find a user-configurable setting to change this. It might be hard-coded.


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#23 2020-06-06 06:20:17

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

Re: How to repair XFCE?

Thank You.
My experience is
Linux can do everything,
but You have to know how.
Thank You.

Question:
Does XFCE have an influence how gedit and others are working?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 622.05 KiB (Peak: 654.9 KiB) ]