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
eaf7ae45
Commit
eaf7ae45
authored
9 years ago
by
Frank
Browse files
Options
Downloads
Patches
Plain Diff
A session to use unity have been added
parent
2d910f4a
No related branches found
No related tags found
1 merge request
!116
A session to use unity has been added
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-unity
+29
-1
29 additions, 1 deletion
helpers/make-unity
with
29 additions
and
1 deletion
helpers/make-unity
+
29
−
1
View file @
eaf7ae45
#!/bin/sh
#
# Copyright (C) 2014 Salman Mohammadi <salman@ubuntu.ir>
# Copyright (C) 2015 Francisco Javier Parra <franparpe@openmailbox.org>
#
# 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
...
...
@@ -17,10 +18,37 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
VERSION
=
2
.
./config
# make the session appear on the login manager
cat
<<
EOF
>> debian/unity.install
ubuntu.session /usr/share/gnome-session/sessions
ubuntu.desktop /usr/share/xsessions
EOF
# this creates the session file
cat
<<
EOF
> ubuntu.session
[GNOME Session]
Name=Ubuntu
RequiredComponents=unity-settings-daemon;compiz;
DesktopName=Unity
EOF
# this creates the desktop file for the session to exists
cat
<<
EOF
> ubuntu.desktop
[Desktop Entry]
Name=Unity
Comment=This session logs you into Unity
Exec=gnome-session --session=ubuntu
TryExec=unity
Icon=
Type=Application
X-LightDM-DesktopName=Unity
X-Ubuntu-Gettext-Domain=gnome-session-3.0
EOF
# replace Ubuntu branding
cp
$DATA
/cof.png resources
cp
$DATA
/launcher_bfb.png resources
...
...
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