Skip to content

Instantly share code, notes, and snippets.

@kaipm
Last active April 16, 2022 21:43
Show Gist options
  • Save kaipm/4f2c0ada0b0c1f2e7ee3704de8feb401 to your computer and use it in GitHub Desktop.
Save kaipm/4f2c0ada0b0c1f2e7ee3704de8feb401 to your computer and use it in GitHub Desktop.

Customization

Custom date/time display format with line breaks

Rightclick the clock and click Configure, then switch to custom format. After that, open the .json file in ~/.cinnamon/configs/calendar@cinnamon.org, in the section custom-format, set

"custom-format": {
  ...
  "value": "%H:%M\n%a, %d.%m.%Y"
}

Change task panel middle click

  1. Right click on a task panel icon
  2. Click Configure >
  3. Click Configure...
  4. In General > Behavior pick the middle click action you like

Troubleshooting

Dual booting with Windows changs time

When booting into Linux and then back to Windows, the time always changes.

Solution

Tell Linux to use local rtc time with this command:

timedatectl set-local-rtc 1 --adjust-system-clock

It is also possible to tell Windows to use UTC instead, random posts on the internet suggest Linux might cause less problems (did not verify myself).

Audio volume slider not working

When playing audio, the volume stays the same, no matter what the system volume slider is set to. Setting it to 0 volume is the only thing that works.

Solution

  1. Edit the file /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common, and insert
[Element Master]
switch = mute
volume = ignore

before the block starting with [Element PCM].

  1. Restart audio services
systemctl --user restart pulseaudio.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment