Hi, since you've already successfully introduced yourself at plasma-devel I suggest to keep asking there. Those questions of yours are most likely beyond any experience people on this list would have. Cheers, Kevin On Thursday, 2012-12-13, adrelanos wrote: > Hi, > > I modified the file > "/usr/share/kde4/apps/plasma/layout-templates/org.kde.plasma-desktop.defaul > tPanel/contents/layout.js". (Just for ease of testing, I know about kde > path stacking.) > > Original File (from Debian Wheezy): > > ------------------------------------------------------------ > > var panel = new Panel > if (panelIds.length == 1) { > // we are the only panel, so set the location for the user > panel.location = 'bottom' > } > > panel.height = screenGeometry(panel.screen).height > 1024 ? 35 : 27 > panel.addWidget("launcher") > panel.addWidget("org.kde.showActivityManager") > panel.addWidget("pager") > tasks = panel.addWidget("tasks") > panel.addWidget("systemtray") > panel.addWidget("digital-clock") > > tasks.currentConfigGroup = new Array("Launchers") > tasks.writeConfig("browser", "preferred://browser, , , ") > tasks.writeConfig("filemanager", "preferred://filemanager, , , ") > > ------------------------------------------------------------ > > Diff for Modified File: > > ------------------------------------------------------------ > > --- 1 2012-12-13 17:44:13.412226851 +0000 > +++ 2 2012-12-13 17:44:34.532227597 +0000 > @@ -10,7 +10,27 @@ panel.addWidget("org.kde.showActivityMan > panel.addWidget("pager") > tasks = panel.addWidget("tasks") > panel.addWidget("systemtray") > -panel.addWidget("digital-clock") > + > +// Whonix changes > +clock = panel.addWidget("digital-clock") > +clock.writeConfig("Share", "false") > +clock.writeConfig("announceInterval", "0") > +clock.writeConfig("calendarType", "locale") > +clock.writeConfig("dateStyle", "4") > +clock.writeConfig("defaultTimezone", "UTC") > +clock.writeConfig("displayEvents", "true") > +clock.writeConfig("displayHolidays", "false") > +clock.writeConfig("holidaysRegions", "") > +clock.writeConfig("holidaysRegionsDaysOff", "") > +clock.writeConfig("plainClockDrawShadow", "true") > +clock.writeConfig("plainClockFont", "DejaVu Sans,14,-1,0,50,0,0,0,0,0") > +clock.writeConfig("showSeconds", "true") > +clock.writeConfig("showTimezone", "true") > +clock.writeConfig("timeZones", "UTC") > +clock.writeConfig("timezone", "UTC") > +clock.writeConfig("useCustomColor", "false") > +clock.writeConfig("useCustomShadowColor", "false") > +// End of Whonix changes > > tasks.currentConfigGroup = new Array("Launchers") > tasks.writeConfig("browser", "preferred://browser, , , ") > > ------------------------------------------------------------ > > Diff for "Lighter" modified File: > > ------------------------------------------------------------ > > --- 1 2012-12-13 17:44:13.412226851 +0000 > +++ 3 2012-12-13 17:44:59.608228916 +0000 > @@ -10,7 +10,17 @@ panel.addWidget("org.kde.showActivityMan > panel.addWidget("pager") > tasks = panel.addWidget("tasks") > panel.addWidget("systemtray") > -panel.addWidget("digital-clock") > + > +// Whonix changes > +clock = panel.addWidget("digital-clock") > +clock.writeConfig("dateStyle", "4") > +clock.writeConfig("defaultTimezone", "UTC") > +clock.writeConfig("displayHolidays", "false") > +clock.writeConfig("showSeconds", "true") > +clock.writeConfig("showTimezone", "true") > +clock.writeConfig("timeZones", "UTC") > +clock.writeConfig("timezone", "UTC") > +// End of Whonix changes > > tasks.currentConfigGroup = new Array("Launchers") > tasks.writeConfig("browser", "preferred://browser, , , ") > > ------------------------------------------------------------ > > Both times, the clock is configured as I wish, but the seconds are > frozen. To get it running it is required to view the digital clock > settings and press ok. Then it's working. > > Did I mess up the configuration somewhere? > > Cheers, > adrelanos > > > > > ___________________________________________________ > This message is from the kde mailing list. > Account management: https://mail.kde.org/mailman/listinfo/kde. > Archives: http://lists.kde.org/. > More info: http://www.kde.org/faq.html. -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
Attachment:
signature.asc
Description: This is a digitally signed message part.
___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.