Gnome: Difference between revisions

From Leo's Notes
This page was last edited on 25 November 2019, at 19:30.
mNo edit summary
Line 18: Line 18:


== Desktop Icons ==
== Desktop Icons ==
To enable desktop icons:
Desktop icons used to be provided by the File program (Nautilus?) by drawing a transparent window containing icons over the desktop. This has since been removed in Gnome 3.28.
 
Previously, icons could be enabled with a gsettings value:
{{highlight|lang=terminal|code=
{{highlight|lang=terminal|code=
$ gsettings set org.gnome.desktop.background show-desktop-icons true
$ gsettings set org.gnome.desktop.background show-desktop-icons true
Line 47: Line 49:
}}
}}


== Adjust Notification Location ==
== Keychain + Nextcloud ==
The notification popup toast can be adjusted with the "Panel OSD" shell extension.
Nextcloud requires {{code|libgnome-keyring}} to be installed and the {{code|gnome-keyring-daemon}} daemon running. Without the keychain, Nextcloud will prompt for credentials on every start up.


== Dash to Panel ==
Ensure that {{code|gnome-keyring-daemon}} is in the {{code|.xinitrc}} file or that your {{code|.bash_profile}} contains:
Install the "Dash to Panel" extension to make the gnome shell look sane.
 
== Nextcloud ==
Nextcloud requires {{code|libgnome-keyring}}. Otherwise, it will prompt for a login everytime it starts.
 
This also requires that the gnome-keyring starts. Ensure that {{code|gnome-keyring-daemon}} is in the {{code|.xinitrc}} file or configure your {{code|.bash_profile}} with:
{{highlight|lang=terminal|code=
{{highlight|lang=terminal|code=
if [ -n "$DESKTOP_SESSION" ];then
if [ -n "$DESKTOP_SESSION" ];then
Line 63: Line 59:
fi
fi
}}
}}
== Extensions ==
Some noteworthy extensions.
=== Panel OSD ===
Adjust notification toast location with Panel OSD. The X and Y location of the notification can be adjusted using this shell extension.
=== Dash to Panel ===
Dash to Panel makes Gnome look and feel closer to a Windows 7 (and higher) desktop.
=== Applications Menu ===
The applications menu brings back the old applications menu dropdown similar to Gnome 2 and Windows.
=== Kstatusnotifieritem/appindicator support ===
System tray has been removed from Gnome. This extension brings back the ability to show any background applications that are running. Requires the shell to be restarted in order to take effect.
=== CPU Power Manager ===
Interfaces with the intel_pstate CPU frequency scaling driver. Allows laptops to conserve power by throttling CPU.


== See Also ==
== See Also ==

Revision as of 19:30, 25 November 2019

GSettings

The gsettings utility provides a way to get to GSettings which is more or less like a Windows registry containing key value pairs.

GSetting values are different for each user. To modify or view values for a different user, launch a dbus session as the user via sudo:

# sudo -H -u lightdm dbus-launch --exit-with-session gsettings list-recursively

Gnome Terminal

Have control tab working, run:

$ gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ next-tab '<Primary>Tab'
$ gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ prev-tab '<Primary><Shift>Tab'

See Also: https://askubuntu.com/questions/133384/keyboard-shortcut-gnome-terminal-ctrl-tab-and-ctrl-shift-tab-in-12-04

Desktop Icons

Desktop icons used to be provided by the File program (Nautilus?) by drawing a transparent window containing icons over the desktop. This has since been removed in Gnome 3.28.

Previously, icons could be enabled with a gsettings value:

$ gsettings set org.gnome.desktop.background show-desktop-icons true

Nautilus No Breadcrumbs

Change the path with ctrl+l. To make it permanent, set the appropriate key with gsettings:

$ gsettings set org.gnome.nautilus.preferences always-use-location-entry true

Screensaver Timeout

The amount of idle time before the screensaver starts is set using:

# gsettings get org.gnome.desktop.session idle-delay
uint32 60
# gsettings set org.gnome.desktop.session idle-delay 3600

The amount of time before the screen is locked is set:

## Instantly locks when the screensaver starts
# gsettings set org.gnome.desktop.screensaver lock-delay 0
## Or a delay in seconds. Eg: 1 minute
# gsettings set org.gnome.desktop.screensaver lock-delay 60

Keychain + Nextcloud

Nextcloud requires libgnome-keyring to be installed and the gnome-keyring-daemon daemon running. Without the keychain, Nextcloud will prompt for credentials on every start up.

Ensure that gnome-keyring-daemon is in the .xinitrc file or that your .bash_profile contains:

if [ -n "$DESKTOP_SESSION" ];then
    eval $(gnome-keyring-daemon --start)
    export SSH_AUTH_SOCK
fi

Extensions

Some noteworthy extensions.

Panel OSD

Adjust notification toast location with Panel OSD. The X and Y location of the notification can be adjusted using this shell extension.

Dash to Panel

Dash to Panel makes Gnome look and feel closer to a Windows 7 (and higher) desktop.

Applications Menu

The applications menu brings back the old applications menu dropdown similar to Gnome 2 and Windows.

Kstatusnotifieritem/appindicator support

System tray has been removed from Gnome. This extension brings back the ability to show any background applications that are running. Requires the shell to be restarted in order to take effect.

CPU Power Manager

Interfaces with the intel_pstate CPU frequency scaling driver. Allows laptops to conserve power by throttling CPU.

See Also