home-sweet-gnome / dash-to-panel

An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.
GNU General Public License v2.0
3.8k stars 279 forks source link

Some gschema help? #1411

Closed tio-trom closed 3 years ago

tio-trom commented 3 years ago

I am creating a custom Linux ISO and I am using schemas for gnome extensions in order to configure them by default. So far so great, all worked. But with this extension some of its settings do not transfer to the gschema at all.

in short, we use this schema:

[org/gnome/shell/extensions/dash-to-panel]
animate-appicon-hover=false
animate-appicon-hover-animation-convexity={'RIPPLE': 2.0, 'PLANK': 1.0, 'SIMPLE': 0.0}
animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1}
animate-appicon-hover-animation-rotation={'SIMPLE': 0, 'RIPPLE': 10, 'PLANK': 0}
animate-appicon-hover-animation-travel={'SIMPLE': 0.11, 'RIPPLE': 0.40000000000000002, 'PLANK': 0.0}
animate-appicon-hover-animation-type='SIMPLE'
animate-appicon-hover-animation-zoom={'SIMPLE': 1.0, 'RIPPLE': 1.25, 'PLANK': 2.0}
appicon-margin=7
appicon-padding=7
available-monitors=[1, 0]
click-action='TOGGLE-SHOWPREVIEW'
dot-color-1='#189b7e'
dot-color-2='#317468'
dot-color-3='#317468'
dot-color-4='#317468'
dot-color-dominant=false
dot-color-override=true
dot-position='LEFT'
dot-size=2
dot-style-focused='SEGMENTED'
dot-style-unfocused='SEGMENTED'
focus-highlight=true
focus-highlight-color='#484848'
focus-highlight-dominant=false
focus-highlight-opacity=75
hide-overview-on-startup=true
hotkeys-overlay-combo='TEMPORARILY'
isolate-monitors=true
isolate-workspaces=true
leftbox-padding=-1
middle-click-action='LAUNCH'
overview-click-to-exit=true
panel-anchors='{"0":"MIDDLE","1":"MIDDLE"}'
panel-element-positions='{"0":[{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":false,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":false,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":false,"position":"stackedBR"},{"element":"systemMenu","visible":false,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"},{"element":"showAppsButton","visible":true,"position":"stackedTL"}],"1":[{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":false,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":false,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":false,"position":"stackedBR"},{"element":"systemMenu","visible":false,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"},{"element":"showAppsButton","visible":true,"position":"stackedTL"}]}'
panel-lengths='{"0":100,"1":100}'
panel-positions='{"0":"LEFT","1":"LEFT"}'
panel-sizes='{"0":53,"1":53}'
peek-mode=false
peek-mode-opacity=0
preview-use-custom-opacity=false
primary-monitor=1
scroll-panel-action='NOTHING'
secondarymenu-contains-showdetails=true
shift-click-action='MINIMIZE'
shift-middle-click-action='LAUNCH'
show-appmenu=false
show-apps-icon-file=''
show-favorites-all-monitors=true
show-window-previews=true
show-window-previews-timeout=650
status-icon-padding=-1
stockgs-keep-dash=false
stockgs-keep-top-panel=true
stockgs-panelbtn-click-only=true
trans-panel-opacity=0.70000000000000007
trans-use-custom-bg=false
trans-use-custom-opacity=true
tray-padding=-1
window-preview-animation-time=140
window-preview-hide-immediate-click=true
window-preview-padding=20
window-preview-show-title=true
window-preview-size=300
window-preview-title-position='TOP'

And it does not work. But if I am to remove all lines that contain {} then it works. Aren't brackets supported in gschema? Should them be converted into something else?

I would appreciate if I can be guided a bit. Thanks!

tio-trom commented 3 years ago

I managed to make it work I dunno how, except moving the panel to the left.

panel-positions='{"0":"LEFT"}'

Does not seem to do it. Is the syntax wrong?

tio-trom commented 3 years ago

Somehow is fixed...