Normal XFCE control center (Patch included)

Get involved, create or participate in a project.
User avatar
Yanpas
Level 1
Level 1
Posts: 31
Joined: Fri Apr 17, 2015 6:28 pm
Location: Russia

Normal XFCE control center (Patch included)

Postby Yanpas » Sun May 03, 2015 4:51 pm

Mint XFCE's xfce4-settings-manager unlike Xubuntu xfce4-settings-manager has lack of settings actions. Adding this config file xfce-settings-manager.menu (sorry cannot upload) to .config/menus or /etc/xdg... (I don't remember system-wide exact path) will make xfce4-settings-manager show all setiings

Code: Select all

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
  <Name>Settings</Name>

  <DefaultAppDirs/>
  <DefaultDirectoryDirs/>
  <DefaultMergeDirs/>

   <Layout>
     <Menuname>Personal</Menuname>
     <Menuname>Hardware</Menuname>
     <Menuname>System</Menuname>
     <Menuname>Other</Menuname>
     <Merge type="all" />
   </Layout>

  <Include>
    <And>
      <Category>Settings</Category>
      <Not>
        <Or>
          <Category>X-XFCE-PersonalSettings</Category>
          <Category>X-XFCE-HardwareSettings</Category>
          <Category>X-XFCE-SystemSettings</Category>
        </Or>
      </Not>
    </And>
  </Include>

  <Exclude>
    <Filename>xfce-settings-manager.desktop</Filename>
  </Exclude>

  <Menu>
    <Name>Personal</Name>
    <Directory>xfce-personal.directory</Directory>
    <Include>
      <And>
        <Category>Settings</Category>
        <Category>X-XFCE-SettingsDialog</Category>
        <Category>X-XFCE-PersonalSettings</Category>
      </And>
      <And>
        <Category>Settings</Category>
        <Category>DesktopSettings</Category>
      </And>
      <Filename>xscreensaver-properties.desktop</Filename>
    </Include>
    <Exclude>
      <Category>X-XFCE-HardwareSettings</Category>
      <Category>X-XFCE-SystemSettings</Category>
      <Filename>xfce4-settings-editor.desktop</Filename>
      <Filename>xfce-settings-manager.desktop</Filename>
    </Exclude>
  </Menu>

  <Menu>
    <Name>Hardware</Name>
    <Directory>xfce-hardware.directory</Directory>
    <Include>
      <And>
        <Category>Settings</Category>
        <Category>X-XFCE-SettingsDialog</Category>
        <Category>X-XFCE-HardwareSettings</Category>
      </And>
      <And>
        <Category>Settings</Category>
        <Category>HardwareSettings</Category>
        <Not><Category>System</Category></Not>
      </And>
      <Filename>nm-connection-editor.desktop</Filename>
      <Filename>system-config-printer.desktop</Filename>
    </Include>
  </Menu>

  <Menu>
    <Name>System</Name>
    <Directory>xfce-system.directory</Directory>
    <Include>
      <And>
        <Category>Settings</Category>
        <Category>X-XFCE-SettingsDialog</Category>
        <Category>X-XFCE-SystemSettings</Category>
      </And>
      <And>
        <Category>Settings</Category>
        <Category>System</Category>
        <Not><Category>PackageManager</Category></Not>
      </And>
      <Filename>software-properties-gtk.desktop</Filename>
    </Include>
    <Exclude>
      <Filename>system-config-printer.desktop</Filename>
    </Exclude>
  </Menu>

  <Menu>
    <Name>Other</Name>
    <Directory>xfce-other.directory</Directory>
    <Include>
      <And>
        <Category>Settings</Category>
        <Not>
          <Or>
            <Category>X-XFCE-PersonalSettings</Category>
            <Category>X-XFCE-SystemSettings</Category>
            <Category>X-XFCE-HardwareSettings</Category>
            <Category>DesktopSettings</Category>
            <Category>HardwareSettings</Category>
            <Category>System</Category>
            <Filename>nm-connection-editor.desktop</Filename>
            <Filename>software-properties-gtk.desktop</Filename>
            <Filename>xscreensaver-properties.desktop</Filename>
            <Filename>xfce-settings-manager.desktop</Filename>
          </Or>
        </Not>
      </And>
      <Filename>xfce4-settings-editor.desktop</Filename>
    </Include>
  </Menu>

</Menu>
Yanpas: Linux Mint 17.3 64bit, Desktop: XFCE 4.12 Kernel 4.2

User avatar
dXTC
Level 3
Level 3
Posts: 183
Joined: Fri Dec 26, 2014 3:19 pm
Location: Closer to the Derby than I care to admit

Re: Normal XFCE control center (Patch included)

Postby dXTC » Sat May 23, 2015 1:40 pm

I've tried this in Mint XFCE 17.1, and it works. (Thanks, Yanpas!)

Detailed instructions for newcomers to Mint XFCE:
1. Using Thunar File Manager, open your Home folder, select View from the menu, then Show Hidden Files.
2. One of the previously hidden folders will be called .config ; double-click.
3. There will be several subfolders and a couple of files in the .config folder. Look for a "menus" folder; if there isn't one, create it, either by selecting File, Create Folder... from the File Manager's main menu, or right-clicking on an empty space in the folder/file listing and selecting Create Folder... from the pop-up menu.
4. Once the "menus" folder is created, double-click into it. It will be empty. Using one of the menu-access methods in step 3 above, create a new document by selecting Create Document > Empty File.
5. Name the file "xfce-settings-manager.menu". You'll see the file inside the folder now.
6. Open the file with gedit or some other text editor.
7. Copy the entire code that Yanpas has provided (you can use the SELECT ALL link at the beginning of the code to select the entire code segment automatically, then right-click > Copy), and paste it into the editor window.
8. Save the file, then exit.

Upon relaunching the Settings Manager, you should now notice that the Settings Manager's choices have expanded considerably. Among the new settings available are CompizConfig, Welcome Screen, Printers, Network Connections, Desktop Sharing and a good number of hidden settings in the System section without associated icons. Changing those system settings can be potentially dangerous to your system; leave those alone unless absolutely necessary.

If you want to restore the original menu, use the File Manager to navigate to the file you created and rename it to something else-- "xfce-settings-manager-hidden.menu" or "xfce-settings-manager.menuhide", for example, then close and relaunch the Settings Manager. Mint XFCE will then use its original configuration for the Settings Manager.
Last edited by dXTC on Fri May 29, 2015 9:57 pm, edited 1 time in total.
dXTC
-----
IT oldie, Linux newbie, and all-around goofy fellow.
Mint Cinnamon on Dell XPS 210, Optiplex 760, Inspiron N4110 and Latitude E4200;
Mint Xfce on Lenovo Ideapad S10.
Some OS X and WinXP too; I'm multi-platform like that.

Habitual
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Normal XFCE control center (Patch included)

Postby Habitual » Fri May 29, 2015 12:49 pm

Awesome tip:
Even for non-newcomers.
Image

User avatar
dXTC
Level 3
Level 3
Posts: 183
Joined: Fri Dec 26, 2014 3:19 pm
Location: Closer to the Derby than I care to admit

Re: Normal XFCE control center (Patch included)

Postby dXTC » Fri May 29, 2015 10:06 pm

I made a small edit in my instructions above, to make clear that the procedure should start in the user's Home menu.

One additional note: Putting this in ~/.config/menus (~ is the user's Home folder) will make the new menus available only to that user. Other users that login will see the regular Settings Manager.
As Yanpas has hinted, there is a similar spot somewhere in /etc where the same change would enable this for all users of the machine. I recommend using ~/.config/menus; not every user needs or even wants this sort of power.
dXTC
-----
IT oldie, Linux newbie, and all-around goofy fellow.
Mint Cinnamon on Dell XPS 210, Optiplex 760, Inspiron N4110 and Latitude E4200;
Mint Xfce on Lenovo Ideapad S10.
Some OS X and WinXP too; I'm multi-platform like that.

User avatar
excollier
Level 4
Level 4
Posts: 460
Joined: Mon Oct 01, 2012 3:31 pm
Location: Donegal, Ireland

Re: Normal XFCE control center (Patch included)

Postby excollier » Sat Jun 06, 2015 5:28 am

I must try that out next week when I get time, sounds really good, thanks.
Edit: Job done, excellent work, thanks.
Attachments
xfce_settings.png
Registered Linux user #557695
Mint 17.3 XFCE &Debian 9.1 XFCE dual boot (desktop), Raspbian Jessie (Raspberry Pi)
Windows 10 VM (I know) so I can work from home.

dindoun
Level 1
Level 1
Posts: 1
Joined: Sat Aug 05, 2017 2:22 pm

Re: Normal XFCE control center (Patch included)

Postby dindoun » Sat Aug 05, 2017 2:29 pm

greats
it works for me on a sarah mint (upgraded from rosa )


Return to “Community Projects”