Skip to content

askmeaboutlinux

Knowledge not shared benefits no one.

  • Home
  • About Ask Me About Linux

Enable login sound in Linux Mint on the XFCE desktop environment

Geetu R. Vaswani Computer, Hardware, Linux, Multimedia, Other Linux, Shell, Sound, Ubuntu July 19, 2020September 7, 2022 1 Minute

It is strange that Linux Mint has such great sound effects in Cinnamon and they can all be heard, but they do not work on the Linux Mint XFCE desktop. Fret not. The effects are there, but the sounds have to be enabled. This applies to the XFCE desktop in any Linux distribution.

To enable these in XFCE session, open a terminal windows and do the following

$ sudo apt-get install sox gnome-session-canberra <enter>

Enable the sounds in the xsettings
$ xfconf-query -c xsettings -p /Net/EnableEventSounds -s true <enter>
$ xfconf-query -c xsettings -p /Net/SoundThemeName -s "LinuxMint"<enter>
$ xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds -s true <enter>

Default sound theme selected is LinuxMint. It should be available in /usr/share/sounds.

$ vi ~/.profile <enter>
Add the following 2 lines at end of the file
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
export GTK_MODULES

:wq

Save the file.

To autostart the login sound, go to Settings Manager -> Session -> Startup -> Application Autostart with:
Name = Login Sound
Command = canberra-gtk-play -f /usr/share/sounds/LinuxMint/stereo/desktop-login.ogg

So far so good.

This is the main thread from which above was possible https://ubuntuforums.org/showthread.php?t=2263834

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...

Related

  • Tagged
  • apt-get
  • audio
  • cinnamon
  • desktop
  • Desktop Environment
  • fedora
  • gnome-settings
  • gtk
  • Linux
  • linux mint
  • Linux Shell
  • login
  • Mint
  • pulseaudio
  • shell
  • sound
  • startup
  • startup applications
  • terminal
  • ubuntu install
  • XFCE
  • xubuntu

Published by Geetu R. Vaswani

View all posts by Geetu R. Vaswani

Published July 19, 2020September 7, 2022

Post navigation

Previous Post How to open a LUKS container file using thunar file manager in Linux
Next Post IntelliJ IDEA displays error that Java SDK is not installed

@askmeaboutlinux

Tags

adb android android apps android emulator android studio applications Apps apt-get audio boot cross-platform cryptography desktop eclipse email email client encryption error evolution fedora Fedora 15 fedora 16 firefox firmware Gnome Gnome 3 gnucash gnupg GNU Privacy Guard google google drive gpg hardware install installation internet java java GUI java program key pair keyring Linux linuxmint linux mint Linux Shell mobile multimedia network openwrt package Package Manager packages privacy private key program programming public key router security services shell shell prompt software sony xperia zr swing terminal thunderbird ubuntu upgrade virtualbox windows wireless router wordpress XFCE xubuntu
Website Powered by WordPress.com.
  • Follow Following
    • askmeaboutlinux
    • Already have a WordPress.com account? Log in now.
    • askmeaboutlinux
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: