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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
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
David Philipe Gil
package-helpers
Commits
55509ab9
Commit
55509ab9
authored
10 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Added profile migration script to gnome-panel
parent
97778848
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-gnome-panel
+28
-2
28 additions, 2 deletions
helpers/make-gnome-panel
with
28 additions
and
2 deletions
helpers/make-gnome-panel
+
28
−
2
View file @
55509ab9
#!/bin/sh
#!/bin/sh
#
#
# Copyright (C) 2008-201
2
Rubén Rodríguez <ruben@trisquel.info>
# Copyright (C) 2008-201
4
Rubén Rodríguez <ruben@trisquel.info>
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
VERSION
=
1
0
VERSION
=
1
1
.
./config
.
./config
...
@@ -30,6 +30,30 @@ for patch in 41_classic_layout.patch 01_gnome-wm.patch 50_ubuntu_sessions.patch
...
@@ -30,6 +30,30 @@ for patch in 41_classic_layout.patch 01_gnome-wm.patch 50_ubuntu_sessions.patch
sed
/
$patch
/d
-i
debian/patches/series
sed
/
$patch
/d
-i
debian/patches/series
done
done
# Profile handling
cat
<<
EOF
> data/trisquel-panel-profile.desktop
[Desktop Entry]
Type=Application
Name=Trisquel panel profile updater
Exec=trisquel-panel-profile
NoDisplay=true
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Phase=Initialization
OnlyShowIn=GNOME;
EOF
cat
<<
EOF
> data/trisquel-panel-profile
#!/bin/sh
VERSION=
\$
(lsb_release -rs)
if ! grep "^
\$
VERSION
$"
\$
HOME/.config/profilemigrated -q 2>/dev/null; then
GS=
\$
(gsettings get org.gnome.gnome-panel.layout object-id-list | sed "s/, 'clock'//")
gsettings set org.gnome.gnome-panel.layout object-id-list "
\$
GS"
echo
\$
VERSION >
\$
HOME/.config/profilemigrated
fi
EOF
chmod
755 data/trisquel-panel-profile
# Custom xsession
# Custom xsession
cat
<<
EOF
> data/trisquel-session.desktop
cat
<<
EOF
> data/trisquel-session.desktop
[Desktop Entry]
[Desktop Entry]
...
@@ -54,6 +78,8 @@ debian/gnome-wm.desktop /usr/share/applications
...
@@ -54,6 +78,8 @@ debian/gnome-wm.desktop /usr/share/applications
debian/gnome-flashback-services.desktop /usr/share/applications
debian/gnome-flashback-services.desktop /usr/share/applications
debian/scripts/gnome-wm /usr/bin
debian/scripts/gnome-wm /usr/bin
usr/share/gnome-session/sessions
usr/share/gnome-session/sessions
data/trisquel-panel-profile.desktop /etc/xdg/autostart
data/trisquel-panel-profile /usr/sbin
EOF
EOF
# Custom package
# Custom package
...
...
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