Skip to main content

2 posts tagged with "Ubuntu 22.04"

View all tags

Install Firefox Build

· One min read
ひかり
Main bloger

Ubuntu 22.04 seems to have the snap version of Firefox installed, and it wasn't launching in some environments, so I'm documenting how to install the pre-built Firefox.

Uninstall apt / snap version of Firefox

sudo apt purge firefox
sudo snap remove firefox

Install Firefox Build

# Download
wget "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=ja" --trust-server-names

# Extract
tar xvf firefox-*.tar.bz2

# Install
sudo cp -r firefox /usr/lib

# Create a symbolic link to the executable
sudo ln -s /usr/lib/firefox/firefox /usr/bin/firefox

# Download and place the desktop file
sudo mkdir -p /usr/share/applications
sudo wget https://bit.ly/3Mwigwx -O /usr/share/applications/firefox.desktop

Configure the Dock using gsettings on Ubuntu

· 2 min read
ひかり
Main bloger

This is useful when you want to configure the Dock with a script or when configuring via SSH.

Automatically hide the Dock

Setting ValueDescription
trueDo not automatically hide
falseAutomatically hide

Example: Automatically hide the Dock

# Current setting
$ gssettings get org.gnome.shell.extensions.dash-to-dock dock-fixed
true

$ gssettings set org.gnome.shell.extensions.dash-to-dock dock-fixed false

Panel Mode

Stretches the Dock to the edge of the screen.

Setting ValueDescription
trueDo not stretch
falseStretch

Example: Do not stretch the Dock

# Current setting
$ gssettings get org.gnome.shell.extensions.dash-to-dock extend-height
true

$ gssettings set org.gnome.shell.extensions.dash-to-dock extend-height false

Change Icon Size

Setting ValueDescription
NumberIcon size

Example: Change icon size to 30

# Current setting
$ gssettings get org.gnome.shell.extensions.dash-to-dock dash-max-icon-size
48

$ gssettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 30

Change Dock Position

Can set 'TOP' which cannot be set in "Settings". Creates a slight gap at the top.

Setting ValueDescription
LEFTLeft
BOTTOMBottom
RIGHTRight
TOPTop

Example: Set the Dock position to bottom

# Current setting
$ gssettings get org.gnome.shell.extensions.dash-to-dock dock-position
'LEFT'

$ gssettings set org.gnome.shell.extensions.dash-to-dock dock-position 'BOTTOM'

Show Trash

Setting ValueDescription
trueShow
falseHide

Example: Hide the trash

# Current setting
$ gssettings get org.gnome.shell.extensions.dash-to-dock show-trash
true

$ gssettings set org.gnome.shell.extensions.dash-to-dock show-trash false