User Tools

Site Tools


docs:tips_n_tricks:debian:index.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
docs:tips_n_tricks:debian:index.html [16.02.2020 21:49 CET] – [Change timezone] peterdocs:tips_n_tricks:debian:index.html [17.03.2023 15:17 CET] – [Building Packages] peter
Line 100: Line 100:
   dch -l .ul~lenny -D lenny   dch -l .ul~lenny -D lenny
   dpkg-buildpackage -rfakeroot   dpkg-buildpackage -rfakeroot
 +
 +===== Make Monday the first day of week in US locales =====
 +
 +This works e.g. for the [[https://docs.xfce.org/xfce/xfce4-panel/clock|Clock xfce4-panal applet]].
 +
 +Do as //root//:
 +
 +  sed -e 's/^week.*$/&\nfirst_weekday\t2/g' /usr/share/i18n/locales/en_US  > /usr/local/share/i18n/locales/en_US
 +  locale-gen
 +
 +<note>
 +GOSH! :-o\\
 +Yeah - it's as easy as that. The tricky part is to what to do 8-)
 +</note>
 +__References:__
 +
 +  * [[https://www.reddit.com/user/mozycan/|mozycan]]'s [[https://www.reddit.com/r/xfce/comments/baq8xg/comment/ekdiob5|answer to "Can I make panel's calendar week start on Monday instead of Sunday?"]] on Reddit
 +  * ''less /usr/sbin/locale-gen''
 +Also quite interesting while not directly related to //my// solution:
 +  * [[https://unix.stackexchange.com/users/5462/0xc0000022l|0xC0000022L]]'s [[https://unix.stackexchange.com/a/204329|answer to "Change a locale definition (as opposed to a locale setting)"]] on Stackexchange.
 +
  
 {{tag>Linux Debian}} {{tag>Linux Debian}}
 {{entry>Linux}} {{entry>Linux}}
 {{entry>Debian}} {{entry>Debian}}
docs/tips_n_tricks/debian/index.html.txt · Last modified: 23.09.2023 01:48 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki