Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-06-17 07:51:41

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 42

Switching Display profiles and panel profiles for multi screen

Beside the Panel profiles I've seen that latest xfce4-display-settings also offers profiles, very nice for not scripting manually with xrandr. But how can I switch the Panel profile and the Display profile by command or shortcut? Usually I need to switch both.

Moreover using Panel profiles this is quite confusing. I have done a layout and like to save with name. Now I have a new Filename "3externalScreens(Copy of Current Configuration)". I can't get rid of that () which is useless. Now changing the layout and saving again creates another Filename. Or do I rather need the Import/Export functions?


Gentoo-Linux

Offline

#2 2019-06-17 15:35:19

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Switching Display profiles and panel profiles for multi screen

Mo_B wrote:

Beside the Panel profiles I've seen that latest xfce4-display-settings also offers profiles, very nice for not scripting manually with xrandr. But how can I switch the Panel profile and the Display profile by command or shortcut? Usually I need to switch both.

xfce4-panel-profiles can be run manually. For example:

xfce4-panel-profiles load /usr/share/xfce4-panel-profiles/layouts/Redmond.tar.bz2

...loads the Redmond profile. I've created and saved my own profile called "T" and can manually load it via:

xfce4-panel-profiles load ~/.local/share/xfce4-panel-profiles/T.tar.bz2

...note that custom saved configurations are stored in ~/.local/share/xfce4-panel-profiles.

The display settings configurations are saved in xfconf in the displays channel. Each configuration creates it's own unique identifier. you can see them using the xfce4-settings-editor in the display channel. There is also an /ActiveProfile setting that contains the current profile. So you could:

xfconf-query -c displays -p /ActiveProfile -s PROFILEID

...where PROFILEID is the unique ID generated for your system. I can't actually test this right now, but it should work.

So basically, a script that sets the desired display configuration then sets the correct panel configuration would be what you would need to create.

Moreover using Panel profiles this is quite confusing. I have done a layout and like to save with name. Now I have a new Filename "3externalScreens(Copy of Current Configuration)". I can't get rid of that () which is useless. Now changing the layout and saving again creates another Filename. Or do I rather need the Import/Export functions?

"(Copy of Current Configuration)" is just a display thing - it's not saved in the name of the profile.


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

#3 2019-06-18 07:36:57

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 42

Re: Switching Display profiles and panel profiles for multi screen

Thanks.
Right now I'm failing to save my current setup into a profile:

$ xfce4-panel-profiles  save "3screens"
KeyError('/plugins/plugin-38/arrow-position',)

Trying to save from the GUI I see:

$ xfce4-panel-profiles  
Traceback (most recent call last):
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 222, in on_save_clicked
    self.copy_configuration(self.get_selected(), name)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 200, in copy_configuration
    self._copy(filename, new_filename)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 89, in _copy
    PanelConfig.from_file(src).to_file(dst)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 87, in from_file
    pc.find_desktops()
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 150, in find_desktops
    self.remove_keys(rem_keys)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 157, in remove_keys
    del self.properties[param]
KeyError: '/plugins/plugin-20'

Gentoo-Linux

Offline

#4 2019-06-18 07:46:05

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 42

Re: Switching Display profiles and panel profiles for multi screen

ToZ wrote:
xfconf-query -c displays -p /ActiveProfile -s PROFILEID

How do I find the PROFILEID to set? I have created a profile named "3screens". Is this just the long id on top of this list?

$ xfconf-query -c displays --list
/799869481d49df227c3c7971d08dd65268158c9c
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Active
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/EDID
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Position/X
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Position/Y
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Primary
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Reflection
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/RefreshRate
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Resolution
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Rotation
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Active
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/EDID
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Position/X
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Position/Y
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Primary
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Reflection
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/RefreshRate
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Resolution
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Rotation
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Active
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/EDID
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Position/X
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Position/Y
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Primary
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Reflection
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/RefreshRate
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Resolution
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Rotation
/ActiveProfile
/AutoEnableProfiles
/Default/DisplayPort-0
/Default/DisplayPort-0/Active
/Default/DisplayPort-0/EDID
/Default/DisplayPort-0/Position/X
/Default/DisplayPort-0/Position/Y
/Default/DisplayPort-0/Primary
/Default/DisplayPort-0/Reflection
/Default/DisplayPort-0/RefreshRate
/Default/DisplayPort-0/Resolution
/Default/DisplayPort-0/Rotation
/Default/DisplayPort-1
/Default/DisplayPort-1/Active
/Default/DisplayPort-1/EDID
/Default/DisplayPort-1/Position/X
/Default/DisplayPort-1/Position/Y
/Default/DisplayPort-1/Primary
/Default/DisplayPort-1/Reflection
/Default/DisplayPort-1/RefreshRate
/Default/DisplayPort-1/Resolution
/Default/DisplayPort-1/Rotation
/Default/DisplayPort-2
/Default/DisplayPort-2/Active
/Default/DisplayPort-2/EDID
/Default/DisplayPort-2/Position/X
/Default/DisplayPort-2/Position/Y
/Default/DisplayPort-2/Primary
/Default/DisplayPort-2/Reflection
/Default/DisplayPort-2/RefreshRate
/Default/DisplayPort-2/Resolution
/Default/DisplayPort-2/Rotation
/Default/DP-1-1
/Default/DP-1-1/Active
/Default/DP-1-1/EDID
/Default/DP-1-1/Position/X
/Default/DP-1-1/Position/Y
/Default/DP-1-1/Primary
/Default/DP-1-1/Reflection
/Default/DP-1-1/RefreshRate
/Default/DP-1-1/Resolution
/Default/DP-1-1/Rotation
/Default/DP-2
/Default/DP-2/Active
/Default/DP-2/EDID
/Default/DP-2/Position/X
/Default/DP-2/Position/Y
/Default/DP-2/Primary
/Default/DP-2/Reflection
/Default/DP-2/RefreshRate
/Default/DP-2/Resolution
/Default/DP-2/Rotation
/Default/DVI-0
/Default/DVI-0/Active
/Default/DVI-0/EDID
/Default/DVI-0/Position/X
/Default/DVI-0/Position/Y
/Default/DVI-0/Primary
/Default/DVI-0/Reflection
/Default/DVI-0/RefreshRate
/Default/DVI-0/Resolution
/Default/DVI-0/Rotation
/Default/DVI-I-1
/Default/DVI-I-1/Active
/Default/DVI-I-1/EDID
/Default/DVI-I-1/Position/X
/Default/DVI-I-1/Position/Y
/Default/DVI-I-1/Primary
/Default/DVI-I-1/Reflection
/Default/DVI-I-1/RefreshRate
/Default/DVI-I-1/Resolution
/Default/DVI-I-1/Rotation
/Default/LVDS
/Default/LVDS/Active
/Default/LVDS/EDID
/Default/LVDS/Position/X
/Default/LVDS/Position/Y
/Default/LVDS/Primary
/Default/LVDS/Reflection
/Default/LVDS/RefreshRate
/Default/LVDS/Resolution
/Default/LVDS/Rotation
/Default/VGA-0
/Default/VGA-0/Active
/Default/VGA-0/EDID
/Default/VGA-0/Position/X
/Default/VGA-0/Position/Y
/Default/VGA-0/Primary
/Default/VGA-0/Reflection
/Default/VGA-0/RefreshRate
/Default/VGA-0/Resolution
/Default/VGA-0/Rotation
/Default/VGA1
/Default/VGA1/Active
/Default/VGA1/Position/X
/Default/VGA1/Position/Y
/Default/VGA1/Primary
/Default/VGA1/Reflection
/Default/VGA1/RefreshRate
/Default/VGA1/Resolution
/Default/VGA1/Rotation
/Default/Virtual1
/Default/Virtual1/Active
/Default/Virtual1/Position/X
/Default/Virtual1/Position/Y
/Default/Virtual1/Primary
/Default/Virtual1/Reflection
/Default/Virtual1/RefreshRate
/Default/Virtual1/Resolution
/Default/Virtual1/Rotation
/Default/Virtual2
/Default/Virtual2/Active
/Default/Virtual2/Position/X
/Default/Virtual2/Position/Y
/Default/Virtual2/Primary
/Default/Virtual2/Reflection
/Default/Virtual2/RefreshRate
/Default/Virtual2/Resolution
/Default/Virtual2/Rotation
/Default/Virtual3
/Default/Virtual3/Active
/Default/Virtual3/Position/X
/Default/Virtual3/Position/Y
/Default/Virtual3/Primary
/Default/Virtual3/Reflection
/Default/Virtual3/RefreshRate
/Default/Virtual3/Resolution
/Default/Virtual3/Rotation
/IdentityPopups
/Notify
/PROFILEID/DisplayPort-1
/PROFILEID/DisplayPort-1/Active
/PROFILEID/DisplayPort-1/EDID
/PROFILEID/DisplayPort-1/Position/X
/PROFILEID/DisplayPort-1/Position/Y
/PROFILEID/DisplayPort-1/Primary
/PROFILEID/DisplayPort-1/Reflection
/PROFILEID/DisplayPort-1/RefreshRate
/PROFILEID/DisplayPort-1/Resolution
/PROFILEID/DisplayPort-1/Rotation
/PROFILEID/DP-1-1
/PROFILEID/DP-1-1/Active
/PROFILEID/DP-1-1/EDID
/PROFILEID/DP-1-1/Position/X
/PROFILEID/DP-1-1/Position/Y
/PROFILEID/DP-1-1/Primary
/PROFILEID/DP-1-1/Reflection
/PROFILEID/DP-1-1/RefreshRate
/PROFILEID/DP-1-1/Resolution
/PROFILEID/DP-1-1/Rotation
/PROFILEID/DVI-0
/PROFILEID/DVI-0/Active
/PROFILEID/DVI-0/EDID
/PROFILEID/DVI-0/Position/X
/PROFILEID/DVI-0/Position/Y
/PROFILEID/DVI-0/Primary
/PROFILEID/DVI-0/Reflection
/PROFILEID/DVI-0/RefreshRate
/PROFILEID/DVI-0/Resolution
/PROFILEID/DVI-0/Rotation

Gentoo-Linux

Offline

#5 2019-06-18 10:57:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Switching Display profiles and panel profiles for multi screen

Mo_B wrote:

Thanks.
Right now I'm failing to save my current setup into a profile:

$ xfce4-panel-profiles  save "3screens"
KeyError('/plugins/plugin-38/arrow-position',)

Trying to save from the GUI I see:

$ xfce4-panel-profiles  
Traceback (most recent call last):
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 222, in on_save_clicked
    self.copy_configuration(self.get_selected(), name)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 200, in copy_configuration
    self._copy(filename, new_filename)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 89, in _copy
    PanelConfig.from_file(src).to_file(dst)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 87, in from_file
    pc.find_desktops()
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 150, in find_desktops
    self.remove_keys(rem_keys)
  File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 157, in remove_keys
    del self.properties[param]
KeyError: '/plugins/plugin-20'

Are you running the latest version, 1.0.8?


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

#6 2019-06-18 11:00:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Switching Display profiles and panel profiles for multi screen

Mo_B wrote:
ToZ wrote:
xfconf-query -c displays -p /ActiveProfile -s PROFILEID

How do I find the PROFILEID to set? I have created a profile named "3screens". Is this just the long id on top of this list?

$ xfconf-query -c displays --list
/799869481d49df227c3c7971d08dd65268158c9c
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Active
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/EDID
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Position/X
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Position/Y
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Primary
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Reflection
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/RefreshRate
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Resolution
/799869481d49df227c3c7971d08dd65268158c9c/DisplayPort-1/Rotation
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Active
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/EDID
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Position/X
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Position/Y
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Primary
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Reflection
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/RefreshRate
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Resolution
/799869481d49df227c3c7971d08dd65268158c9c/DP-1-1/Rotation
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Active
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/EDID
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Position/X
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Position/Y
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Primary
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Reflection
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/RefreshRate
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Resolution
/799869481d49df227c3c7971d08dd65268158c9c/DVI-0/Rotation
/ActiveProfile
/AutoEnableProfiles
/Default/DisplayPort-0
/Default/DisplayPort-0/Active
/Default/DisplayPort-0/EDID
/Default/DisplayPort-0/Position/X
/Default/DisplayPort-0/Position/Y
/Default/DisplayPort-0/Primary
/Default/DisplayPort-0/Reflection
/Default/DisplayPort-0/RefreshRate
/Default/DisplayPort-0/Resolution
/Default/DisplayPort-0/Rotation
/Default/DisplayPort-1
/Default/DisplayPort-1/Active
/Default/DisplayPort-1/EDID
/Default/DisplayPort-1/Position/X
/Default/DisplayPort-1/Position/Y
/Default/DisplayPort-1/Primary
/Default/DisplayPort-1/Reflection
/Default/DisplayPort-1/RefreshRate
/Default/DisplayPort-1/Resolution
/Default/DisplayPort-1/Rotation
/Default/DisplayPort-2
/Default/DisplayPort-2/Active
/Default/DisplayPort-2/EDID
/Default/DisplayPort-2/Position/X
/Default/DisplayPort-2/Position/Y
/Default/DisplayPort-2/Primary
/Default/DisplayPort-2/Reflection
/Default/DisplayPort-2/RefreshRate
/Default/DisplayPort-2/Resolution
/Default/DisplayPort-2/Rotation
/Default/DP-1-1
/Default/DP-1-1/Active
/Default/DP-1-1/EDID
/Default/DP-1-1/Position/X
/Default/DP-1-1/Position/Y
/Default/DP-1-1/Primary
/Default/DP-1-1/Reflection
/Default/DP-1-1/RefreshRate
/Default/DP-1-1/Resolution
/Default/DP-1-1/Rotation
/Default/DP-2
/Default/DP-2/Active
/Default/DP-2/EDID
/Default/DP-2/Position/X
/Default/DP-2/Position/Y
/Default/DP-2/Primary
/Default/DP-2/Reflection
/Default/DP-2/RefreshRate
/Default/DP-2/Resolution
/Default/DP-2/Rotation
/Default/DVI-0
/Default/DVI-0/Active
/Default/DVI-0/EDID
/Default/DVI-0/Position/X
/Default/DVI-0/Position/Y
/Default/DVI-0/Primary
/Default/DVI-0/Reflection
/Default/DVI-0/RefreshRate
/Default/DVI-0/Resolution
/Default/DVI-0/Rotation
/Default/DVI-I-1
/Default/DVI-I-1/Active
/Default/DVI-I-1/EDID
/Default/DVI-I-1/Position/X
/Default/DVI-I-1/Position/Y
/Default/DVI-I-1/Primary
/Default/DVI-I-1/Reflection
/Default/DVI-I-1/RefreshRate
/Default/DVI-I-1/Resolution
/Default/DVI-I-1/Rotation
/Default/LVDS
/Default/LVDS/Active
/Default/LVDS/EDID
/Default/LVDS/Position/X
/Default/LVDS/Position/Y
/Default/LVDS/Primary
/Default/LVDS/Reflection
/Default/LVDS/RefreshRate
/Default/LVDS/Resolution
/Default/LVDS/Rotation
/Default/VGA-0
/Default/VGA-0/Active
/Default/VGA-0/EDID
/Default/VGA-0/Position/X
/Default/VGA-0/Position/Y
/Default/VGA-0/Primary
/Default/VGA-0/Reflection
/Default/VGA-0/RefreshRate
/Default/VGA-0/Resolution
/Default/VGA-0/Rotation
/Default/VGA1
/Default/VGA1/Active
/Default/VGA1/Position/X
/Default/VGA1/Position/Y
/Default/VGA1/Primary
/Default/VGA1/Reflection
/Default/VGA1/RefreshRate
/Default/VGA1/Resolution
/Default/VGA1/Rotation
/Default/Virtual1
/Default/Virtual1/Active
/Default/Virtual1/Position/X
/Default/Virtual1/Position/Y
/Default/Virtual1/Primary
/Default/Virtual1/Reflection
/Default/Virtual1/RefreshRate
/Default/Virtual1/Resolution
/Default/Virtual1/Rotation
/Default/Virtual2
/Default/Virtual2/Active
/Default/Virtual2/Position/X
/Default/Virtual2/Position/Y
/Default/Virtual2/Primary
/Default/Virtual2/Reflection
/Default/Virtual2/RefreshRate
/Default/Virtual2/Resolution
/Default/Virtual2/Rotation
/Default/Virtual3
/Default/Virtual3/Active
/Default/Virtual3/Position/X
/Default/Virtual3/Position/Y
/Default/Virtual3/Primary
/Default/Virtual3/Reflection
/Default/Virtual3/RefreshRate
/Default/Virtual3/Resolution
/Default/Virtual3/Rotation
/IdentityPopups
/Notify
/PROFILEID/DisplayPort-1
/PROFILEID/DisplayPort-1/Active
/PROFILEID/DisplayPort-1/EDID
/PROFILEID/DisplayPort-1/Position/X
/PROFILEID/DisplayPort-1/Position/Y
/PROFILEID/DisplayPort-1/Primary
/PROFILEID/DisplayPort-1/Reflection
/PROFILEID/DisplayPort-1/RefreshRate
/PROFILEID/DisplayPort-1/Resolution
/PROFILEID/DisplayPort-1/Rotation
/PROFILEID/DP-1-1
/PROFILEID/DP-1-1/Active
/PROFILEID/DP-1-1/EDID
/PROFILEID/DP-1-1/Position/X
/PROFILEID/DP-1-1/Position/Y
/PROFILEID/DP-1-1/Primary
/PROFILEID/DP-1-1/Reflection
/PROFILEID/DP-1-1/RefreshRate
/PROFILEID/DP-1-1/Resolution
/PROFILEID/DP-1-1/Rotation
/PROFILEID/DVI-0
/PROFILEID/DVI-0/Active
/PROFILEID/DVI-0/EDID
/PROFILEID/DVI-0/Position/X
/PROFILEID/DVI-0/Position/Y
/PROFILEID/DVI-0/Primary
/PROFILEID/DVI-0/Reflection
/PROFILEID/DVI-0/RefreshRate
/PROFILEID/DVI-0/Resolution
/PROFILEID/DVI-0/Rotation

Its that big long string of characters ("799869481d49df227c3c7971d08dd65268158c9c"). Although, you seem to have created another one called "PROFILEID" as well. I'm not sure how you did that.

If you run in monitor mode:

xfconf-query -c displays -mv

...then use the GUI to create a new profile, you'll see the codes displayed in the terminal window.


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

#7 2019-06-18 11:15:04

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 42

Re: Switching Display profiles and panel profiles for multi screen

I probably did that by typing your command without replacing the PROFILEID and it did create it on the fly.
However that API is a bit uncomfortable, the 'xfconf-query -c displays --list' should somehow also reflect the name and setting a profile should also be possible by name instead of using the awful long unique id that is long enough to fill the harddisk with profiles smile .
But thanks, I got the idea how to do that.

Last edited by Mo_B (2019-06-18 11:15:19)


Gentoo-Linux

Offline

#8 2020-04-08 15:54:53

vrms
Member
Registered: 2019-05-23
Posts: 1

Re: Switching Display profiles and panel profiles for multi screen

Mo_B wrote:

Beside the Panel profiles I've seen that latest xfce4-display-settings also offers profiles, very nice for not scripting manually with xrandr. But how can I switch the Panel profile and the Display profile by command or shortcut? Usually I need to switch both.

can you specify what "latest" translates to?

$ ▶ xfce4-display-settings --version
xfce4-display-settings 4.12.1 (Xfce 4.12)

is mine and I do not see any option to save profiles for display settings

------------------------------------------------------

EDIT: Release Notes for 4.14 reveal the answer

The display dialog received a lot of attention during this cycle and a big feature: Users are now able to save and (automatically) restore complete multi-display configurations, which is especially helpful for those who frequently connect their laptop to varying docking stations or setups.

Last edited by vrms (2020-04-08 16:00:32)

Offline

#9 2020-04-20 11:50:03

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 42

Re: Switching Display profiles and panel profiles for multi screen

vrms wrote:

can you specify what "latest" translates to?

xfce4-display-settings 4.15.0 (Xfce 4.15)

Gentoo-Linux

Offline

#10 2020-04-20 17:55:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Switching Display profiles and panel profiles for multi screen

4.15.x is the development branch. 4.14.x is the latest release branch. Some distros ship release versions only, others will ship development versions.

You can see the latest versions available here in the "Tags" section.


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

Board footer

Powered by FluxBB