Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
e6a037a2
Commit
e6a037a2
authored
4 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
mate-panel: add layout reset script
parent
b52e0f69
No related branches found
No related tags found
2 merge requests
!307
Etiona test mr
,
!179
Corrected patch for make-bleachbit
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-mate-panel
+32
-2
32 additions, 2 deletions
helpers/make-mate-panel
with
32 additions
and
2 deletions
helpers/make-mate-panel
+
32
−
2
View file @
e6a037a2
#!/bin/sh
#
# Copyright (C) 2016-20
17
Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2016-20
20
Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2017 Mason Hock <mason@masonhock.com>
#
# This program is free software; you can redistribute it and/or modify
...
...
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
6
VERSION
=
7
.
./config
...
...
@@ -86,6 +86,36 @@ cp data/panel-default-layout.layout data/ubuntu.layout
mv
data/ubuntu.layout data/trisquel.layout
sed
's/ubuntu/trisquel/'
-i
data/Makefile.am
cat
<<
EOF
> debian/mate-panel-layout-update.desktop
[Desktop Entry]
Name=Update MATE panel layout
Comment=Resets the MATE panel layout after a Trisquel release upgrade
Exec=/usr/share/mate-panel/layout-reset
Terminal=false
Type=Application
NoDisplay=true
OnlyShowIn=MATE;
Keywords=MATE;panel;
EOF
cat
<<
EOF
> debian/layout-reset
#!/bin/sh
RELEASE=
\$
(lsb_release -rs)
if ! [ -f
\$
HOME/.config/mate/panel2.d/trisquel
\$
RELEASE ]; then
gsettings reset-recursively org.mate.panel
[ -d
\$
HOME/.config/mate/panel2.d ] || mkdir -p
\$
HOME/.config/mate/panel2.d
touch
\$
HOME/.config/mate/panel2.d/trisquel
\$
RELEASE
fi
EOF
chmod
755 debian/layout-reset
cat
<<
EOF
>> debian/mate-panel.install
debian/mate-panel-layout-update.desktop etc/xdg/autostart
debian/layout-reset usr/share/mate-panel
EOF
changelog
"Changed default layout"
compile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment