How can I customize GNOME from the terminal [I'm using Cubic]

pn flag

I'm trying to customize an Ubuntu Desktop 22.04 LTS ISO from the Cubic app.

I have a few commands that do the job I want, but apparently in the terminal provided by Cubic to modify the system they don't work...

The commands are the following:

  • gsettings set org.gnome.desktop.interface gtk-theme "Yaru-red-dark"
  • gsettings set org.gnome.desktop.interface icon-theme "Yaru-red-dark"
  • gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
  • gsettings set extend-height false
  • gsettings set dock-position BOTTOM
  • gsettings set dash-max-icon-size 36
  • gsettings set org.gnome.desktop.interface document-font-name 'Product Sans 11'
  • gsettings set org.gnome.desktop.interface font-name 'Product Sans 11'
  • gsettings set org.gnome.desktop.interface monospace-font-name 'Ubuntu Mono Regular 11'
  • gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Product Sans Bold 11'
  • gsettings set org.gnome.desktop.interface text-scaling-factor 0.95
  • gsettings set show-trash false
  • gsettings set show-mounts false
  • gsettings set show-mounts-network false
  • gsettings set show-mounts-only-mounted false
  • gsettings set show-home false

When I put any of the above commands I get the following error:

  • error: Cannot autolaunch D-Bus without X11 $DISPLAY

I am someone new to this and I don't know exactly why this happens.

I would appreciate if someone could tell me how to change the GNOME settings so that when I install the ISO all my custom settings are applied.

I will be attentive to respond to people who help me, thank you very much!

vanadium avatar
cn flag
I have no idea what the Cubic app is. You may want to edit your question and include some explanation. These `gsettings` commands act on the dconf database of the currently logged in user. You will surely be successfull attempting this through ssh.
us flag
Have you had a chance to look at the Cubic web site? (It is accessible from the hamburger menu in Cubic).
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.