Default Configurations
I would like to have my own DE custumisations and when i create new user (when installing or when installed) i want it to have that configs instead of default that come with DE
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Cubic Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
This can be done; there are a few approaches you can use... I'll post some techniques here when I get some time.
Revision history for this message
![]() |
#2 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.
Revision history for this message
![]() |
#4 |
Create a file called 90_ubuntu-
Here is an example file to get you started:
[com.ubuntu.
regular-
[org.gnome.
picture-uri = 'file:/
show-desktop-icons = false
[org.gnome.
automatic-timezone = true
[org.gnome.
clock-format = '12h'
clock-show-date = true
clock-show-seconds = true
cursor-theme = 'DMZ-Black'
document-font-name = 'Liberation Sans 10'
font-name = 'Liberation Sans 10'
gtk-theme = 'Adapta'
icon-theme = 'Papirus-Adapta'
monospace-font-name = 'Liberation Mono 9'
show-battery-
[org.gnome.
speed = 0.75
[org.gnome.
natural-scroll = true
# speed = 0.75
speed = 1.00
tap-to-click = true
[org.gnome.
picture-uri = 'file:/
[org.gnome.
button-layout = 'close,
mouse-button-
titlebar-font = 'Liberation Sans 10'
# titlebar-
[org.gnome.
active-plugins = ['charmap', 'codecomment', 'devhelp', 'docinfo', 'filebrowser', 'findinfiles', 'modelines', 'smartspaces', 'sort', 'sourcecodebrow
[org.gnome.
auto-indent = true
bracket-matching = true
create-backup-copy = false
display-
display-
highlight-
insert-spaces = true
right-margin-
# scheme = 'tango_custom'
tabs-size = 4
[org.gnome.
show-tabs-mode = 'always'
[org.gnome.
current-tab = 'resources'
[org.gnome.
# default-zoom-level = 'large'
default-zoom-level = 'standard'
[org.gnome.
click-policy = 'single'
show-create-link = true
show-image-
# sort-directorie
[org.gnome.
info-last-device = '/org/freedeskt
info-history-
info-page-number = 1
info-stats-
[org.gnome.
night-light-
[org.gnome.
power-button-action = 'interactive'
# Alternatively, update in /usr/share/
[org.gnome.
antialiasing = 'rgba'
hinting = 'full'
[org.gnome.shell]
always-show-log-out = true
enabled-extensions = ['<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>']
# Activities hot-corner, top-left
enable-hot-corners = true
favorite-apps = ['ubiquity.
[org.gnome.
notify-on-copy = false
[org.gnome.
hide-menu-icons = true
[org.gnome.
attach-
[org.gnome.
theme-variant = 'dark'
[org.gtk.
sort-directorie
Revision history for this message
![]() |
#5 |
Also, you can update some of the defaults in the *.xml files in /usr/share/
Here is an example script I use to change some of the Gnome Terminal defaults in /usr/share/
echo '• Updaing terminal size to 120x48 and setting scrollback to unlimitd ...'
# Size
sed -i 's|<default>
sed -i 's|<default>
# Scrollback
perl -i -0pe 's|<key name="scrollbac
# Transparency
perl -i -0pe 's|<key name="use-
perl -i -0pe 's|<key name="use-
perl -i -0pe 's|<key name="backgroun
# Compile schema
glib-
Revision history for this message
![]() |
#6 |
Add files that you want ALL new users to have in the /etc/skel directory.
These are copied to the home directory of all new users.
Take a look at the hidden files in your own home folder (such as the files in ~/.local).
Here is an example structure for /etc/skel...
/etc/skel
├── .bash_logout
├── .bashrc
├── .config
├── examples.desktop
├── .profile
├── Temp
└── Templates
├── Document.odt
├── Presentation.odp
├── Spreadsheet.ods
└── Text.txt
Revision history for this message
![]() |
#7 |
Make sure you enable all required repositories in Cubic, before attempting to install software.
## Make a backup of the original sources.list; it will be restored later
mv /etc/apt/
##? Make sure the URLs and directories below exist.
echo "deb http://
echo "deb http://
echo "deb http://
echo "deb http://
Revision history for this message
![]() |
#8 |
Backgrounds are placed in...
/usr/
And you must have a corresponding configuration file in...
/usr/
Revision history for this message
![]() |
#9 |
Download extensions using this URL format..
https:/
Replace ${GNOME_VERSION} with your gnome version.
Replace ${EXTENSION_ID} with the ID of the extension you want.
You can find out the extension ID by looking at the extension's URL at https:/
For example, the ID for Open Weather is 750...
https:/
Extensions should be placed in (for all users)...
/usr/share/
Activate the extensions by adding them to 90_ubuntu-
[org.gnome.shell]
enabled-extensions = ['<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>']
Revision history for this message
![]() |
#10 |
I hope the above are helpful.
The most useful technique is to use the 90_ubuntu-
Can you help with this problem?
Provide an answer of your own, or ask Primož Ajdišek for more information if necessary.