Schemas Budgie #11

Closed
opened 2016-01-24 17:32:40 +00:00 by philm · 23 comments
philm commented 2016-01-24 17:32:40 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Hi there..
schermata del 2016-01-24 18-31-37

Budgie not have schema ??

*Created by: Ste74* Hi there.. ![schermata del 2016-01-24 18-31-37](https://cloud.githubusercontent.com/assets/11218234/12537798/bcd8422e-c2c8-11e5-90e0-34ff9529e760.png) Budgie not have schema ??
philm commented 2016-01-24 19:02:45 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ringo32

mayby is like 👍
[org.solus-project.budgie-panel.applets.{WEIRD-code}]
alignment='start'
name='Icon Task List'
position='2'

but its possible has no Dconf for that, go to /usr/share/budgie-panel if there exist, look if there eventual a layout file exist... if so, then must in dconf-editor a menu exist which layout it needed...

just use dconf and experiment bit by bit the gschema's...

in this case its not org :)

you can find the id's :
https://github.com/solus-project/budgie-desktop/blob/master/data/com.solus-project.budgie-panel.gschema.xml

think above comes close as example but not exact..

what is changed should be

Name='Value'

further above like

[com.solus-project.budgie-panel.panel]

thats the schema_id ,

i suppose enum_id comes under is you see on the link ?

*Created by: ringo32* mayby is like :+1: [org.solus-project.budgie-panel.applets.{WEIRD-code}] alignment='start' name='Icon Task List' position='2' but its possible has no Dconf for that, go to /usr/share/budgie-panel if there exist, look if there eventual a layout file exist... if so, then must in dconf-editor a menu exist which layout it needed... just use dconf and experiment bit by bit the gschema's... in this case its not org :) you can find the id's : https://github.com/solus-project/budgie-desktop/blob/master/data/com.solus-project.budgie-panel.gschema.xml think above comes close as example but not exact.. what is changed should be Name='Value' further above like [com.solus-project.budgie-panel.panel] thats the schema_id , i suppose enum_id comes under is you see on the link ?
philm commented 2016-01-24 19:55:50 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Hi Ste,

I think you know more about Budgie than I do.
I have no idea if budgie uses glib schema.

*Created by: udeved* Hi Ste, I think you know more about Budgie than I do. I have no idea if budgie uses glib schema.
philm commented 2016-01-24 20:20:22 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

No i have just search a file .conf or .ini for budgie but not provide this version .. so search the key in repo solus on github

*Created by: Ste74* No i have just search a file .conf or .ini for budgie but not provide this version .. so search the key in repo solus on github
philm commented 2016-01-24 20:50:46 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ikeydoherty

The default layout is baked in with the panel.ini file:
https://github.com/solus-project/budgie-desktop/blob/master/data/panel.ini

This will create the default panel layout and applet instances upon first run.
If you need support for a vendor file to overwrite this, I can easily add this.

We use relocatable schemas to give each applet and panel unique instance data within dconf, where "{WEIRD-code}" is actually a UUID. These should not be manually butchered.

Each applet that exposes a configuration of some sort does so via it's own gsettings, as an example:

https://github.com/solus-project/budgie-desktop/blob/master/panel/applets/icon-tasklist/com.solus-project.icon-tasklist.gschema.xml

The Solus LiveCD overrides this by example, in /usr/share/glib-2.0/schemas/com.solus-project.icon-tasklist.gschema.override:

[com.solus-project.icon-tasklist]
pinned-launchers=['os-installer.desktop']
*Created by: ikeydoherty* The default layout is baked in with the `panel.ini` file: https://github.com/solus-project/budgie-desktop/blob/master/data/panel.ini This will create the default panel layout and applet instances upon first run. If you need support for a _vendor file_ to overwrite this, I can easily add this. We use relocatable schemas to give each applet and panel unique instance data within dconf, where "{WEIRD-code}" is actually a UUID. These should **not** be manually butchered. Each applet that exposes a configuration of some sort does so via it's own gsettings, as an example: https://github.com/solus-project/budgie-desktop/blob/master/panel/applets/icon-tasklist/com.solus-project.icon-tasklist.gschema.xml The Solus LiveCD overrides this by example, in `/usr/share/glib-2.0/schemas/com.solus-project.icon-tasklist.gschema.override`: ``` ini [com.solus-project.icon-tasklist] pinned-launchers=['os-installer.desktop'] ```
philm commented 2016-01-24 20:55:00 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Thank you friend for explain .. ;)

*Created by: Ste74* Thank you friend for explain .. ;)
philm commented 2016-01-24 20:55:54 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Can I close Stefano?

*Created by: udeved* Can I close Stefano?
philm commented 2016-01-24 20:58:36 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Yes , i close by itself ;)

*Created by: Ste74* Yes , i close by itself ;)
philm commented 2016-01-24 21:00:14 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ikeydoherty

Please open a Budgie issue if you'd like support for a vendor file :)

*Created by: ikeydoherty* Please open a Budgie issue if you'd like support for a vendor file :)
philm commented 2016-01-24 21:01:32 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I think we can do vendor files with schema-override files?

*Created by: udeved* I think we can do vendor files with schema-override files?
philm commented 2016-01-24 21:03:15 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ikeydoherty

@udeved not for the panel.ini you can't :)

*Created by: ikeydoherty* @udeved not for the `panel.ini` you can't :)
philm commented 2016-01-24 21:03:57 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

You only need a file that you can overwrite or not?

*Created by: Ste74* You only need a file that you can overwrite or not?
philm commented 2016-01-24 21:04:39 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

The question is, do you need a customized panel.ini Ste?

*Created by: udeved* The question is, do you need a customized panel.ini Ste?
philm commented 2016-01-24 21:05:09 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ikeydoherty

^ Dude asks good questions :p

*Created by: ikeydoherty* ^ Dude asks good questions :p
philm commented 2016-01-24 21:05:57 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Dude is 20 years in business. :)

*Created by: udeved* Dude is 20 years in business. :)
philm commented 2016-01-24 21:06:54 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ikeydoherty

Fair play, dude. :p

*Created by: ikeydoherty* Fair play, dude. :p
philm commented 2016-01-24 21:07:10 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Depend .. If you see Rc1 is "vanilla" panel . If you see the picture at the first i have modified .. Moved app , add app .. changed the theme

*Created by: Ste74* Depend .. If you see Rc1 is "vanilla" panel . If you see the picture at the first i have modified .. Moved app , add app .. changed the theme
philm commented 2016-01-24 21:07:51 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

The panel items are also defined in panel.ini?
Or is this part in dconf?

*Created by: udeved* The panel items are also defined in panel.ini? Or is this part in dconf?
philm commented 2016-01-24 21:08:06 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

i'm arbiter :)

*Created by: Ste74* i'm arbiter :)
philm commented 2016-01-24 21:09:34 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: ikeydoherty

So panel.ini is literally only for the first panel(s) layout, nothing more. If you want to override each applet config, well, that's actually down to the gsettings schema files

*Created by: ikeydoherty* So `panel.ini` is literally only for the first panel(s) layout, nothing more. If you want to override each applet config, well, that's actually down to the gsettings schema files
philm commented 2016-01-24 21:10:47 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Yes, initialize panel with ini file, I thought so.

I think you can do rest in gsettings Ste, and use default layout?

*Created by: udeved* Yes, initialize panel with ini file, I thought so. I think you can do rest in gsettings Ste, and use default layout?
philm commented 2016-01-24 21:14:18 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Ok .. i leave the default layout

*Created by: Ste74* Ok .. i leave the default layout
bittin commented 2022-08-11 07:24:25 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in merge request !261

mentioned in merge request !261
Chrysostomus commented 2022-08-11 10:28:50 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in commit e10700a38d

mentioned in commit e10700a38db548b66e2898547564730ff6156246
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
profiles/desktop-settings#11
No description provided.