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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Kevin
package-helpers
Commits
f0c77eeb
Commit
f0c77eeb
authored
10 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Custom sessions in gnome-panel package
parent
09298064
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
+60
-10
60 additions, 10 deletions
helpers/make-gnome-panel
with
60 additions
and
10 deletions
helpers/make-gnome-panel
+
60
−
10
View file @
f0c77eeb
...
@@ -17,20 +17,73 @@
...
@@ -17,20 +17,73 @@
# 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
=
5
VERSION
=
8
.
./config
.
./config
#makes the panel translucid
# Remove the arrot in the main menu button
#sed "105s/'none'/'color'/; s/rgba(255,255,255,.2)/rgba(000,000,000,.75)/" -i data/org.gnome.gnome-panel.toplevel.gschema.xml.in.in
#remove the arrot in the main menu button
sed
's/"tooltip", tooltip,/"tooltip", "Trisquel",/; s/"has-arrow", TRUE,/"has-arrow", FALSE,/'
-i
gnome-panel/panel-menu-button.c
sed
's/"tooltip", tooltip,/"tooltip", "Trisquel",/; s/"has-arrow", TRUE,/"has-arrow", FALSE,/'
-i
gnome-panel/panel-menu-button.c
#sed '/gnome-session /d' debian/control*
# Disable patches related to the gnome sessions
for
patch
in
41_classic_layout.patch 01_gnome-wm.patch 50_ubuntu_sessions.patch 49_no_screensaver.patch
;
do
rm
debian/patches/
$patch
sed
/
$patch
/d
-i
debian/patches/series
done
# Custom xsession
cat
<<
EOF
> data/trisquel-session.desktop
[Desktop Entry]
Name=Trisquel
Comment=This session logs you into GNOME with the traditional panel
Exec=gnome-session --session=gnome-flashback
TryExec=gnome-session
Icon=
Type=Application
X-LightDM-DesktopName=GNOME
EOF
cat
<<
EOF
> data/50-trisquel-session.conf
[SeatDefaults]
user-session=trisquel-session
EOF
rm
debian/patches/41_classic_layout.patch
cat
<<
EOF
> debian/trisquel-session.install
sed
/classic_layout/d
-i
debian/patches/series
data/50-trisquel-session.conf /usr/share/lightdm/lightdm.conf.d/
data/trisquel-session.desktop /usr/share/xsessions
debian/gnome-wm.desktop /usr/share/applications
debian/gnome-flashback-services.desktop /usr/share/applications
debian/scripts/gnome-wm /usr/bin
usr/share/gnome-session/sessions
EOF
# Custom package
sed
'/Package: gnome-session/,/^$/d'
-i
debian/control.in
cat
<<
EOF
>> debian/control.in
Package: trisquel-session
Architecture: all
Depends:
${
misc
:Depends
}
,
gnome-panel (>= 3.0),
gnome-session-bin,
gnome-session-common,
metacity (>= 2.30),
nautilus (>= 3.8),
notification-daemon (>= 0.7),
policykit-1-gnome,
unity-settings-daemon
Provides: x-session-manager, gnome-session-flashback
Replaces: gnome-session-flashback
Conflicts: gnome-session-flashback
Description: GNOME Session Manager - Trisquel session
The GNOME Session Manager is in charge of starting the core components
of the GNOME desktop, and applications that should be launched at
login time. It also features a way to save and restore currently
running applications.
.
This package contains the required components for the Trisquel session.
EOF
# Custom layout
cat
<<
EOF
> data/panel-default-layout.layout
cat
<<
EOF
> data/panel-default-layout.layout
[Toplevel panel]
[Toplevel panel]
expand=true
expand=true
...
@@ -78,9 +131,6 @@ toplevel-id=panel
...
@@ -78,9 +131,6 @@ toplevel-id=panel
EOF
EOF
# This patch allows @instance-config/location in the default layout
#patch -p1 < $DATA/gnome-panel-improved-default-layout-handling.patch
# We don't want to show the gnome-online-accounts stuff yet
# We don't want to show the gnome-online-accounts stuff yet
patch
-p1
<
$DATA
/hide-online-accounts-menu.patch
patch
-p1
<
$DATA
/hide-online-accounts-menu.patch
...
...
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