Xfce Forum

Sub domains
 

You are not logged in.

#26 2014-12-27 21:28:08

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

ToZ wrote:

If it still exists, can you post the contents of $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml?

I moved such file from $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/.

Here it is the copy I kept:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="displays" version="1.0">
  <property name="Default" type="empty">
    <property name="HDMI1" type="string" value="HDMI1">
      <property name="Active" type="bool" value="false"/>
      <property name="Resolution" type="string" value="1360x768"/>
      <property name="RefreshRate" type="double" value="59.798991"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="false"/>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
    <property name="LVDS1" type="string" value="Laptop">
      <property name="Active" type="bool" value="true"/>
      <property name="Resolution" type="string" value="1360x768"/>
      <property name="RefreshRate" type="double" value="59.798991"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="false"/>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
    <property name="VGA1" type="string" value="Epson">
      <property name="Active" type="bool" value="false"/>
      <property name="Resolution" type="string" value="800x600"/>
      <property name="RefreshRate" type="double" value="60.316541"/>
      <property name="Rotation" type="int" value="0"/>
      <property name="Reflection" type="string" value="0"/>
      <property name="Primary" type="bool" value="false"/>
      <property name="Position" type="empty">
        <property name="X" type="int" value="0"/>
        <property name="Y" type="int" value="0"/>
      </property>
    </property>
  </property>
  <property name="Notify" type="bool" value="true"/>
</channel>

Offline

#27 2014-12-28 15:21:01

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

Re: [Solved] Original desktop not detected when external monitor is unplugged

And the problem persists, without that file present at its default location, after you log out and back in again?

Did you make any changes to xorg configuration files?


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

#28 2014-12-28 17:09:14

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

ToZ wrote:

And the problem persists, without that file present at its default location, after you log out and back in again?

Yes.

ToZ wrote:

Did you make any changes to xorg configuration files?

No.

Offline

#29 2014-12-28 18:53:54

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

Re: [Solved] Original desktop not detected when external monitor is unplugged

There must be something else controlling it then. You stated earlier that you used arandr. Do you have ~/.screenlayout/default.sh file that is somehow being auto run on login? Check in your ~/.config/autostart directory. Also consider clearing out your sessions cache ("rm -rf ~/.cache/sessions") while not logged in.


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

#30 2014-12-29 02:47:05

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

ToZ wrote:

You stated earlier that you used arandr.

I downloaded Arandr after the problem, while I was looking for a solution.

ToZ wrote:

Do you have ~/.screenlayout/default.sh file that is somehow being auto run on login?

Such directory is empty.

ToZ wrote:

Check in your ~/.config/autostart directory.

Such directory has only 4 files, wich seems to be related only to dropbox, light-locker, screensaver-settings and xfce4-notes.

I was wondering if it has something to do with xfsettingsd. I don't see any other file or option related to the problem. (I'll think about this later.)

ToZ wrote:

Also consider clearing out your sessions cache ("rm -rf ~/.cache/sessions") while not logged in.

I clear it (through a non-login shell). I restart the computer. The problem continues.

---

PS: I found another trouble: the xfce4-notes is not saving new notes.

PPS: While logged in Guest Session, there is no problem.

Offline

#31 2014-12-29 11:42:18

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

Re: [Solved] Original desktop not detected when external monitor is unplugged

Permissions are fine on $HOME, $HOME/.config, $HOME/.config/xfce4 files/folders? Meaning your user account owns them?


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

#32 2014-12-29 14:54:49

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

ToZ wrote:

Permissions are fine on $HOME, $HOME/.config, $HOME/.config/xfce4 files/folders? Meaning your user account owns them?

Yes.

Offline

#33 2014-12-29 15:24:46

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Original desktop not detected when external monitor is unplugged

this makes absolutly no sense, also more simple questions:

- is xfdesktop4 even running? (ps aux | grep xfdesktop)

- are you sure that you are on the right virtual desktop?

if everything fails: logout, go to a virtual console (CTRL+ALT+F1), login as root, move your homefolder (mv /home/$NAME /home/$NAME.bak), recreate your user (adduser $NAME), reboot(init 6) and login to a fresh xfce desktop

Offline

#34 2014-12-30 00:18:15

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

sixsixfive wrote:

- is xfdesktop4 even running? (ps aux | grep xfdesktop)

So:

manuel@manuel-Inspiron-3420:~$ ps aux | grep xfdesktop
manuel    2810  0.0  0.0  18952   920 pts/0    S+   22:15   0:00 grep --color=auto xfdesktop
manuel@manuel-Inspiron-3420:~$

Offline

#35 2014-12-30 00:46:45

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

sixsixfive wrote:

- are you sure that you are on the right virtual desktop?

I think so. I don't see how I wouldn't.

Offline

#36 2014-12-30 01:28:50

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

sixsixfive wrote:

if everything fails: logout, go to a virtual console (CTRL+ALT+F1), login as root, move your homefolder (mv /home/$NAME /home/$NAME.bak), recreate your user (adduser $NAME), reboot(init 6) and login to a fresh xfce desktop

At the beginning, I was thinking to install Xubuntu again or try another distro with XFCE. But since I noted that the Guest Session is fine, I've been thinking about just creating a new user (your solution seems more elegant). It will probably solve the problem. However, it remains the question: what is the cause?

I still looking for another solution (I'm learning while searching). If everything fails, I'll move to the new user.

Offline

#37 2014-12-30 01:53:34

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Original desktop not detected when external monitor is unplugged

Manuel76 wrote:
manuel@manuel-Inspiron-3420:~$ ps aux | grep xfdesktop
manuel    2810  0.0  0.0  18952   920 pts/0    S+   22:15   0:00 grep --color=auto xfdesktop
manuel@manuel-Inspiron-3420:~$

as you can see it isn't running, there is only a "grep xfdesktop" which is the second command/pipe from above^^

Offline

#38 2014-12-30 02:13:19

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

Re: [Solved] Original desktop not detected when external monitor is unplugged

You are using xfwm, I assume?

Regards,
MDM


Mountain Dew Maniac

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

Offline

#39 2014-12-30 23:05:29

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

sixsixfive wrote:

as you can see it isn't running, there is only a "grep xfdesktop" which is the second command/pipe from above^^

I see. I should say, as you might notice, I'm a beginner.

Offline

#40 2014-12-31 15:19:26

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

I created a new user, and its session has no problem. Soon or later I will test it on an external monitor.

I didn't remove the user with the problem yet.

Offline

#41 2014-12-31 15:20:31

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

MountainDewManiac wrote:

You are using xfwm, I assume?

xfwm4 4.11.1

Offline

#42 2014-12-31 15:39:32

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Original desktop not detected when external monitor is unplugged

Manuel76 wrote:

I didn't remove the user with the problem yet.

you don't need to remove the user you just need to start it eg: ALT+F2>xfdesktop or menu>settings>session and startup>application autostart>add>name: xfdesktop, cmd: xfdesktop>ok>logout/login

Offline

#43 2014-12-31 15:55:43

Manuel76
Member
From: Brazil
Registered: 2014-12-19
Posts: 25

Re: [Solved] Original desktop not detected when external monitor is unplugged

sixsixfive wrote:
Manuel76 wrote:

I didn't remove the user with the problem yet.

you don't need to remove the user you just need to start it eg: ALT+F2>xfdesktop or menu>settings>session and startup>application autostart>add>name: xfdesktop, cmd: xfdesktop>ok>logout/login

Ah, the problem is solved. Thanx big_smile

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 618.14 KiB (Peak: 650.98 KiB) ]