Re: GTK theme masters: Help! (RE: Theme Setting added to moblin-applets - bug #206389 )
On Wed, May 21, 2008, Li, Horace wrote: > My hildon-desktop patch is here: > http://launchpadlibrarian.net/14555683/24_support_dynamic_theme_update.patch So, as commented previously, this works around xsettings which usually propagate theme changes and uses gconf directly. It shouldn't be necessary. -- Loïc Minier -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: GTK theme masters: Help! (RE: Theme Setting added to moblin-applets - bug #206389 )
On Wed, May 21, 2008, Loïc Minier wrote: > (Could we do this on the mailing-list?) (I guess I didn't see it in the Cc: list, sorry) -- Loïc Minier -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: GTK theme masters: Help! (RE: Theme Setting added to moblin-applets - bug #206389 )
(Could we do this on the mailing-list?) On Tue, May 20, 2008, Spencer, Bob wrote: > My goals are: > - Have all theme settings controlled via the standard gconf keys: > desktop/gnome/interface/gtk_theme (and icon_theme). These are currently set > to non-existent "Human" This is set via libgnome2-common which is pulled by libgnome2-0 which is a dep of ekiga, cheese, evince, evolution-data-server, gnome-volume-manager, libbonoboui2-0, libebook1.2-9, libecal1.2-7, libedata-book1.2-2, libedata-cal1.2-6, libgnomeui-0... and others. To override it, we should ship a gconf defaults file with priority 20 in ume-config-common to set the GConf key to the theme we want. We should also have a dep on the theme package, perhaps let ume-config-common pull it in its Depends:. > - Remove hard-coded theme in scripts (currently set to mobilebasic) Full ack; we simply shouldn't be setting anything; moblin-settings-daemon will set the theme for everybody on startup. > - Get midbrowser to use 48x48 icons instead of stretching 24x24 icons > (These are coming from /usr/share/doc/libgtk2.0-doc/gtk/ !? ) ? > There is also currently gconf keys in: > /desktop/moblin/interface (Todd, what are these for and who uses them?) > /gtk_theme > /icon_theme I thought we would be using these; no idea why we are based on the gnome ones. -- Loïc Minier -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: GTK theme masters: Help! (RE: Theme Setting added to moblin-applets - bug #206389 )
Hi, On Tue, 2008-05-20 at 16:41 -0700, Spencer, Bob wrote: > We need to tweak some things to get our themes working correctly. > Questions / confusion in red > GTK apps get theme settings via xsettings daemon which reflects values > in gconf: ( I don't see any change in apps icons or theme. Browser > icons don't change -- what apps do?) > /desktop/gnome/interface > /gtk_theme > /gtk_key_theme (what is this?) This is for global keybindings i.e. setting this to 'Emacs' will allow you to use Emacs shortcuts in Gnome apps (not sure if it works). - Neil > /icon_theme > > There is also currently gconf keys in: > /desktop/moblin/interface (Todd, what are these for and who > uses them?) > /gtk_theme > /icon_theme > > FYI: Horace has changed the hildon-desktop to ignore the > GTK2_RC_FILES and moved the gtkrc.maemo_af_desktop contents to gtkrc > file. > (Horace, where are your changes? I built an image today but > hildon-desktop hasn't changed. If I comment out GTK2_RC_FILES value, > I get the attached). > current hildon-desktop: 1:2.0.11-1-svn15367-0ubuntu2 > > wrt the gtkrc file in the mobilebasic theme package, all references to > image files were changed from: ../images/ > to ../../../../../usr/share/theme/mobilebasic/images/ Why? It > seems less robust to have basically an almost absolute path instead of > a relative one. > > Bob > > > __ > From: Li, Horace > Sent: Tuesday, May 20, 2008 9:22 AM > To: Brandt, Todd E; Spencer, Bob > Subject: Theme Setting added to moblin-applets - bug #206389 > > > > Hi, Todd, > > Below is the comment from Ubuntu engineer for your reference. > > "Gtk theme changes are made by setting the following gconf key to the > name of a theme directory: /desktop/gnome/interface/gtk_theme . For > example, this could be set to "mobilebasic" or any other valid theme > directory in that location/ > > When that key changes, the change is propagated to xsettings and, > through this, all gtk apps are notified of the new theme, and they > immediately redraw themselves. Gtk applications launched later launch > using the new theme." > > Basically, we might need a theme setting dialog added to > moblin-applets for users to select their favorite theme, when new > theme is selected, /desktop/gnome/interface/gtk_theme key value should > be updated. > > Thanks, > Horace > -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: GTK theme masters: Help! (RE: Theme Setting added to moblin-applets - bug #206389 )
Hi, Bob, My hildon-desktop patch is here: http://launchpadlibrarian.net/14555683/24_support_dynamic_theme_update.patch I was thinking it might be better to have a review to those changes before I put it to hardy ppa. I can put it directly, and actually I have verified it in my target and it is working well. Currently what is in the snapshot is 'Default' theme and I am not quite sure in which package 'Human' is set to the key /desktop/gnome/interface/gtk_theme. But when you modify that key by gconf-editor, and set it to 'mobilebasic', with updated hildon-theme-mobile-basic, you will see marquee panel updated at runtime. :-) Thanks, Horace From: Spencer, Bob Sent: 2008年5月21日 7:41 To: Li, Horace; Brandt, Todd E; Bryan, Shane; Loïc Minier; Kyle Nitzsche Cc: Wong, Carl; Alexander Sack; ubuntu-mobile@lists.ubuntu.com Subject: GTK theme masters: Help! (RE: Theme Setting added to moblin-applets - bug #206389 ) We need to tweak some things to get our themes working correctly. Questions / confusion in red My goals are: - Have all theme settings controlled via the standard gconf keys: desktop/gnome/interface/gtk_theme (and icon_theme). These are currently set to non-existent "Human" - Remove hard-coded theme in scripts (currently set to mobilebasic) - Set gnome as default icon theme and verify it works - Get midbrowser to use 48x48 icons instead of stretching 24x24 icons (These are coming from /usr/share/doc/libgtk2.0-doc/gtk/ !? ) - Verify that apps, marquee, and home page change theme when gconf keys change. What I thought happened, but doesn't exactly: X starts /etc/X11/Xsession.d/25ume-config-common-startup sets GTK2_RC_FILES = /gtkrc-2.0/gtkrc(theme_dir currently /usr/share/theme/mobilebasic/ ) calls /usr/share/ume-config-common/ume-gui-start starts matchbox, passing in --theme = /matchbox/theme.xml(theme_dir currently: /usr/share/theme/mobilebasic ) The above should impact hildon-desktop and matchbox only. (Horace, can we also find a way to remove the --theme parameter to matchbox?) GTK apps get theme settings via xsettings daemon which reflects values in gconf: ( I don't see any change in apps icons or theme. Browser icons don't change -- what apps do?) /desktop/gnome/interface /gtk_theme /gtk_key_theme (what is this?) /icon_theme There is also currently gconf keys in: /desktop/moblin/interface (Todd, what are these for and who uses them?) /gtk_theme /icon_theme FYI: Horace has changed the hildon-desktop to ignore the GTK2_RC_FILES and moved the gtkrc.maemo_af_desktop contents to gtkrc file. (Horace, where are your changes? I built an image today but hildon-desktop hasn't changed. If I comment out GTK2_RC_FILES value, I get the attached). current hildon-desktop: 1:2.0.11-1-svn15367-0ubuntu2 wrt the gtkrc file in the mobilebasic theme package, all references to image files were changed from: ../images/ to ../../../../../usr/share/theme/mobilebasic/images/ Why? It seems less robust to have basically an almost absolute path instead of a relative one. Bob From: Li, Horace Sent: Tuesday, May 20, 2008 9:22 AM To: Brandt, Todd E; Spencer, Bob Subject: Theme Setting added to moblin-applets - bug #206389 Hi, Todd, Below is the comment from Ubuntu engineer for your reference. "Gtk theme changes are made by setting the following gconf key to the name of a theme directory: /desktop/gnome/interface/gtk_theme . For example, this could be set to "mobilebasic" or any other valid theme directory in that location/ When that key changes, the change is propagated to xsettings and, through this, all gtk apps are notified of the new theme, and they immediately redraw themselves. Gtk applications launched later launch using the new theme." Basically, we might need a theme setting dialog added to moblin-applets for users to select their favorite theme, when new theme is selected, /desktop/gnome/interface/gtk_theme key value should be updated. Thanks, Horace -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Weekly status update for moblin-applets
Spent this week mostly trying to get a working image of Hardy so as to test and debug moblin-applets. I finally resorted to using an image I made last month and upgrading the packages I needed for compatibility. With this setup all but one of the Hardy PPA bugs against moblin-applets is fixed. -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Weekly Status Update for moblin-applets (0.55)
This week has been dedicated to touchscreen calibration and background applet upgrades. moblin-applets (0.55) * Vast improvement of the load time for the backgrounds applet it now takes 29 seconds to load 3275 images, which means that the average user's 200 images would take's under 2 seconds. * Changed the background loading scheme. It no longer looks at thumbnails from moblin-media, it looks at the media/photo path independantly and reads in the images from scratch. This has proven to be much faster. * Image loading now happens in two phases: first the directories are read and a list of images created. This takes about 1/5 of the total load time. Then the window's treeview is populated with text only so that the user can immediately see something. Then the thumbnails are loaded in a background thread. In theory the user should be able to see thumbnails as they're populating but that part isn't working yet. -- Todd Brandt <[EMAIL PROTECTED]> Fri Apr 11 03:03:18 PDT 2008 moblin-applets (0.54) * disabled the moblin-system-daemon logging functionality, this is important since it could slow down the boot process as it tries to create a file in /var/log -- Todd Brandt <[EMAIL PROTECTED]> Wed Apr 9 04:59:17 PDT 2008 moblin-applets (0.53) * Changed the background applet behavior * Fixed the color picker dialog to automatically update the "Solid Color Background" entry to reflect the new color, select its entry, and switch the background to the solid color. * If Solid Color Background was last set, reopening the dialog will select and scroll to its item. * Added stricter parsing rules for the xorg.conf file. * The touchscreen values are now only accessed in an InputDevice section with the Identifier set to touchscreen. * Duplicate values of the calibration parameters are ignored. * BUGS FIXED * BUG: "Cannot add photos into wallpaper list" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/213238 FIX: The package now installs a /desktop/moblin/background/thumbpaths folder in gconf and adds keys for every thumbnail cache folder the backgrounds applet should traverse looking for images. It installs two now, one for .moblin-media/thumbnails/largest and one for .realplayer/thumbnails/largest. It looks for them in /home/ume and pulls in any images named in the expected format. If there are duplicates it only takes the first found. * BUG: "Starting Touchscreen banner still exists when do nothing after launch touch screen till time out or exit calibration by ESC" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/214380 FIX: I changed the behavior of the calibrator to always leave the min and max values in logical order (i.e. MaxX > MinX and MaxY > MinY) and to employ the use of SwapX and SwapY to handle inverted axes. The read_calibration and apply_calibration apis both still take five arguments, but instead of the last arg being rotation, it's a "flags" argument with 4 bits used: b0=SwapX, b1=SwapY, b2=RotateCCW, b4=RotateCW. The moblin-dbustest program has also been updated to read in this new data. -- Todd Brandt <[EMAIL PROTECTED]> Mon Apr 7 14:55:20 PDT 2008 moblin-applets (0.52) * Added the read_calibration function to the moblin-system-daemon API in order to allow users to retrieve the xorg.conf data for the touchscreen. It returns xmin, xmax, ymin, ymax, and rotation. * Added read_calibration to the list of commands supported by moblin-dbustest. * BUGS FIXED * BUG: Touchscreen applet: if calibration wrongly and save the configuration, stylus will keep inaccurate even after correct calibration again BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/199065 FIX: There are 8 possible layouts for the touchscreen, all of which have now been tested. These are the possible ways that the touchscreen can be mapped to the display. These can be simulated on the samsung by pressing the buttons in different orders. Screen points: 0 1 2 3 1) No Rotation, X Aligned, Y Aligned press 0 1 2 3 2) No Rotation, X Inverted, Y Aligned press 1 0 3 2 3) No Rotation, X Aligned, Y Inverted press 2 3 0 1 4) No Rotation, X Inverted, Y Inverted press 3 2 1 0 5) ClockWise Rotation, X Aligned, Y Aligned press 2 0 3 1 6) ClockWise Rotation, X Inverted, Y Aligned press 0 2 1 3 7) ClockWise Rotation, X Aligned, Y Inverted press 3 1 2 0 8) CounterClockWise Rotation, X Aligned, Y Aligned press 1 3 0 2 The touchscreen calibration algorithm assumes the screen is rotat
Weekly Status Update for moblin-applets (0.51)
* Easier access for backgrounds applet: If there are 10 or more photos in the backgrounds applet I added a slider to the right of the dialog that allows the user to quickly move through them all. It has a button on top that jumps to the first photo and a button on bottom that jumps to the last photo. This way the user doesn't have to flick the moko finger scroller a hundred times trying to get at their photo near the end of the list. * BUG: "Time on marquee doesn't sync with time on moblin-applets when changing timezone" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/208167 FIX: Fixed in 0.51, I added a read of the utc time before the timezone change, and a write of that utc time after the timezone change. The time now jumps before or ahead by the difference in timezone hours just like the marquee clock applet. * BUG: "Horizontal/Vertical Gradient configuration on wallpaper doesn't take effect" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/197918 FIX: Fixed in 0.51. I removed the selector for solid/horiz/vert. The color picker button is now on the bottom of the dialog and is always solid. * BUG: "Duplicate pick color button exists for "Horizontal Gradient" and "Vertical Gradient" selection" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/188283 FIX: Fixed in 0.51. I removed the selector for solid/horiz/vert. The color picker button is now on the bottom of the dialog and is always solid. * Changed the /etc/init.d/moblin-system-daemon script to actually Start and stop the daemon (wasn't working previously) -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Weekly Status Update for moblin-applets (0.50)
All but a handful of medium and low bugs are fixed in moblin-applets for gaston, and all but one of the bugs in hardy moblin-applets has to do with the Moko Finger Scroller class malfunctioning. The following is what's changed since 0.46: * Added in the gconf key callbacks and xsettings triggers to moblin-settings-xsettings.c. This is from my AR in the ubuntu meeting * Fixed the moblin-keybindings .desktop file * BUG: "Cannot launch Keyboard/Sound/Screen resolution/About Device applets again if close them by ESC" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/196851 FIX: I added support for GTK_RESPONSE_CLOSE, GTK_RESPONSE_CANCEL, and GTK_RESPONSE_DELETE_EVENT for every dialog's message handler in moblin applets. * Major upgrade to moblin-system-daemon, the touchscreen and time applets. The system daemon now supports six functions. CaptureTouch: Starts the process of capturing a touch point. The data is returned asynchronously via the TouchScreenData signal ApplyCalibration: Applies a calibration change to xorg.conf SetTime: Sets the current date&time via oobs GetTime: Gets the current date&time via oobs SetTimezone: Sets the current timezone via oobs GetTimezone: Gets the curent timezone via oobs These functions allow the touchscreen and time applets to function without the need for root access. * Added two test utilities for debugging the moblin-system-daemon. moblin-touchdump: Displays raw touchscreen input data and also simulates CaptureTouch Logic in the case of errors moblin-dbustest: Accesses 4 of the DBUS API functions for testing purposes: get_time, set_time, get_timezone, and capture_touch. * Changed all the .desktop files to use OnlyShowIn=GNOME;Mobile and Categories=Settings * BUG: "mouse cursor change from clock to arrow slowly" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156531 FIX: gksu is no longer called by the touchscreen or time applets, so the mouse clock shouldn't get stuck anymore. * BUG: "Date/time dialog blocks all other areas except the dialog itself if it is not the first time to launch date/time applet from settings" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179153 FIX: the dialog is non-modal on each load now * BUG: "time and date settings has wrong theme and leaves busy cursor showing" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/203311 FIX: the time applet is no longer called with gksu as it uses moblin-system-daemon to get/set the time and timezone. -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
weekly status update for moblin-applets (0.46)
I sent a request for clarification to Kyle wrt the gtk_theme and icon_theme gconf key changes I've been asked to add to moblin-settings-daemon. I haven't modified moblin-settings-daemon yet as we have a code freeze tomorrow and I've been focusing entirely on bugs. * BUG: "Click ESC to abort calibration, the calibration window doesn't close quickly while need wait 25 seconds" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/203412 FIX: I accidentally introduced this bug by adding a touch_disconnect call to moblin-system-daemon which was intended to discontinue the capture_touch call when the user aborts. Unfortunately DBUS doesn't allow simultaneous calls, so it sat waiting for capture-touch to return. I removed this functionality. * BUG: "The calibration window doesn't close quickly after the read calibration line disappears, need wait more time" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/203414 FIX: See bug 203412 * BUG: "Mute shortcut key doesnot realy mute audio" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/191846 FIX: the new behavior is that the mute shortcut mutes all the playback tracks that have mute buttons. * Changed all the .desktop.in.in files to just .desktop.in since there was no processing between .in.in to .in * Changed the format of the control panel .desktop files to include "OnlyShowIn=Settings". * All applets are now run as separate processes with the libraries spawning and monitoring those processes. * BUG: "The keyboard shotcuts can launch applications with more than one instances" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/153509 FIX: I added code to moblin-settings-daemon to have it monitor any processes it spawns as a result of shortcut calls and to prevent relaunching an app if an instance already exists. -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Weekly status update for moblin-applets (0.44)
This week is bug fixes mostly: * Changed all the .desktop.in.in files to just .desktop.in since there was no processing between .in.in to .in * BUG: "The keyboard shotcuts can launch applications with more than one instances" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/153509 FIX: I added code to moblin-settings-daemon to have it monitor any processes it spawns as a result of shortcut calls and to prevent relaunching an app if an instance already exists. * Removed All the NTP support features from the Date&Time Applet * Upgraded the touchscreen calibration utility to function properly on the crown beach * BUG: "It's hard to calibrate touch screen on CB+LCD kit" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/197925 FIX: The hardware layer of the calibration utility was listening for packets which contain all the necessary data to establish a point touched. This means the X and Y coordinates as well as a button press notification in the form of either LEFT or TOUCH, followed by a REPORT tag. The problem is that the crown beach doesn't include all this info in a single packaet like the samsung and most other platform touchscreen modules, it spreads it accross several packets. So the calibrator was missing most of the finger presses. I changed the algorithm to span across multiple packets, collecting the data as it goes. * BUG: "os is not install NTP package to support date synchronization" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156929 FIX: I removed all the NTP time server stuff from our version of the date&time applet. It now only functions as a manual setting. * BUG: "Scroll bar exists in select time server UI when keep synchronize with Internet server" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/193196 FIX: all the ntp stuff has been removed so this dialog no longer exists * BUG: "Launching soft keyboard made applets especially for About Device and Proxy dialog layout disordered" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/197923 FIX: mokos added * BUG: "Select time server doesn't take effect when keep synchronized with internet server" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/193197 FIX: removed ntp support * BUG: "Proxy setting and DateTime setting UI are not well layout for 800x480 resolution" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/198624 FIX: the date&time dialog is much smaller now and the network proxy dialog has a moko surrounding the first tab. * BUG: "Suggest to remove help button on Time&Date dialog due it shows error message" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179034 FIX: the help buton was removed since we build moblin-time now ourselves instead of using gnome-system-tools' time-admin. * BUG: "moblin-applets cannot launch control panel applet by manual" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/196906 FIX: The problem was that with the new mobile-basic-flash calling convention all the applets create their dialogs and return immediately. I changed the behavior to return immediately only when the user_activated argument to execute is TRUE. If it's FALSE, the applets run a gtk_main and don't return until the dialog is destroyed and gtk_main_quit is called. -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Weekly status update for moblin-applets (0.42)
Hi all, this week was spent largely on documentation. The latest and greatest moblin-applets documentation can be found here: http://moblin.org/projects/projects_moblin-applets.php I'm also in the process of providing a sample control panel applet which demonstrates the following (as part of Lilli Szafranski's Moblin SDK): * Developing a Basic Control Panel Applet o C file shows the execute function, what headers are needed, and how to handle memory on exit o Makefile shows how to load in the libraries and how to install all the files * Proper Dialog Use o C file shows how to generate a non-modal dialog dynamically with a single close button and a text box. * Adjusting for UI resolution: 800X480, 800X600, & 1024X600 o C file shows how to read in all the screen resolutions and rotations and how to use that info for adjusting the dialog size * Working with the On-screen Keyboard o C file shows how to add a moko scroller to compensate for the smaller screen height when the keyboard is enabled * Adding Mobile Finger Widgets (Moko Scroll o Same as above * Using the Gconf Configuration Database o C file shows how to read in a gconf key and display it. I also added in Jason Caseeza's latest status bar icon images along with Bob Spencer's versions with the background removed; then fixed the look of the volume, brightness, and mixer sliders by editting the mobilebasic theme's gtkrc (and committed the changes to hildon-theme-mobile-basic package). -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets Project Page Redesign
Hi all, the moblin-applets project page is now completely up to date with developer level documentation on all the applets: http://moblin.org/projects/projects_moblin-applets.php -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Weekly status update for moblin-applets (0.41)
On Wed, Feb 27, 2008, Brandt, Todd E wrote: > af.po bg.po ca.po dz.po es.po fr.po hi.po it.po lt.po mn.po nl.po > pl.po rw.po sr.po tr.po zh_CN.po am.po bn_IN.po cs.po el.po et.po > ga.po hr.po ja.po lv.po mr.po nn.po pt_BR.po sk.po sv.po uk.po > zh_HK.po ar.po bn.po cy.po en_CA.po eu.po gl.po hu.po ka.po > mg.po ms.po nso.po pt.po sl.po ta.po vi.po zh_TW.po az.po br.po > da.po en_GB.po fa.po gu.po id.po ko.po mk.po nb.po or.po ro.po > sq.po te.po wa.po zu.po be.po bs.po de.po en_US.po fi.po he.po > is.po ku.po ml.po ne.po pa.po ru.po [EMAIL PROTECTED] th.po xh.po (I guess those are inherited from upstream?) > Basically the translatables for moblin-applets break down into 4 groups: > [Source code] > * Dialogs that aren't designed in glade use gettext (#defined as _() ) > to retrieve the translated string > * This is in place in all the source which creates items with text > visible by the user, but I haven't seen the translation actually work ... > 1) Need to fix or at least find the proper way to verify that the > source code based translations are working If you call gettext() with the "current" (default) gettext message domain, you need to set it at startup and before any usage of the default domain with something like: textdomain (GETTEXT_PACKAGE); However you might find it simpler to make sure that you bind your gettext domain name once, and then call dgettext() with the domain name argument instead. This is what is usually recommended for libraries, but it should work in all cases. NB: instead of libgnome's, I'd recommend you to use GLib's gettext macros, either glib/gi18n.h or glib/gi18n-lib.h; libgnome is deprecated upstream (and nowadays libgnome's i18n includes libbonobo's which includes glib's anyway ;-). You can gdb break on the bindtextdomain() calls in your code pathes and/or textdomain() calls; check that your LOCALEDIR (or whatever name) is properly set at build/installation time (you need to make install for localedir to be found, it wont work from a checkout); you can "strace -f -e trace=file" to check which .mos are looked for. > [Desktop config files] > > * The .desktop files which are pulled in by mobile-basic-flash have a > field called "Name". This field can duplicated for each possible > language translation. E.g. Name[de]=Persnliche Angaben. > > * modified mobile-basic-flash to read in the value of the LANG > environment variable and to first query the .desktop file to see if a > language specific version of Name exists, if not, it uses the default. > This has been verified to work quite well with both application icons > and applet icons. GLib should provide services to do this; instead of calling g_key_file_get_string() try calling g_key_file_get_locale_string(); using LANG might not be the good choice BTW. > 2) Need to fix or at least find the proper way to verify that the > glade based translations are working Dunno about this one. > 3) Need to fill in all the blanks wrt all the translatable > strings. Each string has 79 languages to translate into, and I don't > know how we will be handling this. Theoritically, this should all happen magically when we have langpacks; however I'm sure that gives you a feeling of the value of the GNOME translation infrastructure and teams. :) -- Loïc Minier -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Weekly status update for moblin-applets (0.41)
This week I added all the internationalization support back into moblin-applets and enabled mobile-basic-flash to display multi-language icon texts. Essentially I regenerated a new po/POTFILES.in and po/POTFILES.skip with all the files that have and don't have translatable strings. About 50% of them haven't changed since th gnome-control-center fork, but that leaves quite a few with either fuzzy or no translations in all the languages available. The following language files are available in the po directory: af.po bg.po ca.po dz.po es.po fr.po hi.po it.po lt.po mn.po nl.po pl.po rw.po sr.po tr.po zh_CN.po am.po bn_IN.po cs.po el.po et.po ga.po hr.po ja.po lv.po mr.po nn.po pt_BR.po sk.po sv.po uk.po zh_HK.po ar.po bn.po cy.po en_CA.po eu.po gl.po hu.po ka.po mg.po ms.po nso.po pt.po sl.po ta.po vi.po zh_TW.po az.po br.po da.po en_GB.po fa.po gu.po id.po ko.po mk.po nb.po or.po ro.po sq.po te.po wa.po zu.po be.po bs.po de.po en_US.po fi.po he.po is.po ku.po ml.po ne.po pa.po ru.po [EMAIL PROTECTED] th.po xh.po Basically the translatables for moblin-applets break down into 4 groups: [Source code] * Dialogs that aren't designed in glade use gettext (#defined as _() ) to retrieve the translated string * This is in place in all the source which creates items with text visible by the user, but I haven't seen the translation actually work [Desktop config files] * The .desktop files which are pulled in by mobile-basic-flash have a field called "Name". This field can duplicated for each possible language translation. E.g. Name[de]=Persnliche Angaben. * modified mobile-basic-flash to read in the value of the LANG environment variable and to first query the .desktop file to see if a language specific version of Name exists, if not, it uses the default. This has been verified to work quite well with both application icons and applet icons. [Glade GUI descriptor files] * This is where the bulk of the translatable material resides. I see that the glade files are indeed processed by intltool, but I have yet to see any of my glade dialogs show translated language strings when the LANg env var is switched to de for instance. [Schema files] * This is for any of the gconf comments or human readable key values that will be going on the system. At the moment moblin-applets doesn't use gconf for anything human readable so no schema files are internationalized. So the tasks that remain to get moblin-applets 100% up to snuff with i18n are as follows: 1) Need to fix or at least find the proper way to verify that the source code based translations are working 2) Need to fix or at least find the proper way to verify that the glade based translations are working 3) Need to fill in all the blanks wrt all the translatable strings. Each string has 79 languages to translate into, and I don't know how we will be handling this. -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Status update for moblin applets
February Status update for Moblin Applets Moblin Applets Documentation: Created a 37 page document describing the 10 control panel and 3 status bar applets. I will be adding this to the moblin-applets project page on moblin.org now that John has given me access to the svn repository. Touchscreen Calibration Utility: Split the utility into two pieces, one for the GUI portion, the other for the low level touchscreen driver access and xorg.conf configuration portion. The low level version now resides in a new system daemon called moblin-system-daemon which is started as root via init.d. The gui remains in the moblin-touchscreen executable. The two communicate via DBUS functions so that all the actions requiring root are carried out by the daemon. Thus there is no longer a need to log in as administrator to configure the touchscreen The touchscreen config utility now has the ability to determine the name of the xorg.conf file by scanning the /etc/event.d/session file and reading the option passed to the -config argument. This means that the samsungQ1 config file is no longer hardcoded and the applet should be more extensible to unknown platforms added the capability to add in a completely new touchscreen config section to the target xorg.conf file if it doesn't have one. This should allow any system to be configured from scratch without the need for any default config or prior knowledge of the touchscreen characteristics. removed the filter placed on the points touched on the screen which prevented users from going too far from the illuminated points. This was causing problems on the crown beach. Background Applet: Changed the background applet to no longer use an XML database to save files. It scans the moblin-media thumbnail cache for photos and populates those instead. Photos can no longer be added or removed from the background applet, they are managed from the moblin-media photo viewer exclusively. Sound Mixer Applet: The sound applet is redesigned to dynamically present volume sliders and mute buttons for every playback or capture track the sound hardware supports. It presents a notebook where each tab represents a different "track", e.g. Master, PCM, CD, Aux, Line in, etc. Within each notebook tab there are a series of controller elements instantiated for each channel available in the track. For instance if a track is mono is will have one controller element, if it's stereo it will have two, one for left and one for right. If a track is 5.1 dolby it will have 6 controller elements: front left, front right, front center, rear left, rear right, and woofer. Hardy Package Builds: Created hardy versions of moblin-applets and moblin-keyboard-manager for upload into the ubuntu-mobile repo. Moblin Applets only required a small change to the liboobs functions being used by the date & time applet as their prototypes have changed in the hardy platform's version. 25 Bugs Fixed this month: BUG: No Way to set one photo to wallpaper BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/192851 FIX: The moblin-media package changed both the thumbnail format and folder so the background applet couldn't find the images. It's been updated. BUG: "Click Background applet cause hildon desktop restart" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/191481 FIX: Added default gconf settings for /desktop/moblin/background BUG: "Terminal font size is not consistent by different opening ways: keyboard shortcut and GUI." BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/172478 FIX: This file configures the desktop shortcut for the terminal: /usr/share/mobile-basic-flash/applications/90-terminal.desktop Gconf key: /apps/moblin_settings_daemon/keybindings/term_cmd New value: uxterm -fa Monospace -fs 12 BUG: "Launching soft keyboard made control panel applets dialog window layout disordered." BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/164632 FIX: About Me dialog is encased in a moko now BUG: "Cannot launch Email with keyboard shortcut" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/186550 FIX: The problem I think is with the alt being a toggle rather than a control key on the samsung. I changed all the default shortcuts to use ctrl+shift+char now and they all seem to work great. BUG: "The About Me UI is disordered after input multiple lines strings in Address edit entry" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/186955 FIX: I tried instantiating a moko finger scroller around the address text box and it behaved just as I expected, the larger moko (for the entire dialog) overrode the smaller moko and the box was unusable. So this is a catch 22, I need the entire box to be in a moko so none of the component elements can be moko (unless Frank can figure something out). Instead I changed the behavior of the scrolled window around the address
Re: i18n (gettextization) of moblin-applets
Hi Todd, The team is the greater world via LaunchPad (once it all gets main), with the possible addition of some resources should they be appropriate for a project. So it needs to be' switched on' and into main, certainly before the hardy user interface freeze of Feb 28, so it can be translated as needed and included in hardy. Cheers Kyle On Feb 15, 2008, at 2:50 PM, Brandt, Todd E wrote: > Hi Kyle, the internationalization support is in there, it's just > switched off. Do you have like a team that will translate strings into > the various languages? > > -Original Message- > From: Kyle Nitzsche [mailto:[EMAIL PROTECTED] > Sent: Friday, February 15, 2008 8:43 AM > To: Brandt, Todd E > Cc: mobile list > Subject: i18n (gettextization) of moblin-applets > > Hi Todd, > > At the #ubuntu-mobile meeting this week we discussed the status of > Moblin software respecting implementing gettext internationalization. > > I got the action to follow up with you respecting moblin-applets i18n > status. > > Thanks, > Kyle > > -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: i18n (gettextization) of moblin-applets
Hi Kyle, the internationalization support is in there, it's just switched off. Do you have like a team that will translate strings into the various languages? -Original Message- From: Kyle Nitzsche [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 8:43 AM To: Brandt, Todd E Cc: mobile list Subject: i18n (gettextization) of moblin-applets Hi Todd, At the #ubuntu-mobile meeting this week we discussed the status of Moblin software respecting implementing gettext internationalization. I got the action to follow up with you respecting moblin-applets i18n status. Thanks, Kyle -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
i18n (gettextization) of moblin-applets
Hi Todd, At the #ubuntu-mobile meeting this week we discussed the status of Moblin software respecting implementing gettext internationalization. I got the action to follow up with you respecting moblin-applets i18n status. Thanks, Kyle -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets update
* BUGS FIXED * BUG: "Make default for this ..." checkbox on screen resolution dialog doesn't take effect BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179795 FIX: That checkbox just affected where the settings were stored in the gconf tree. It was pretty much useless for MID so I completely removed it from the dialog. * BUG: "Cannot save resolution change after restart hildon-desktop or system" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179792 FIX: The fix is in 0.25, basically I changed the gconf keys over to moblin specific settings. Then I added a reader into moblin-settings-daemon which picks up the last resolution and rotation settings and applies them during moblin-settings-daemon launch. * BUG: "Cannot show battery life status by clicking Battery life icon on status bar" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/176829 FIX: I added a pulldown which shows the percent charged, and if the device supports the battery.charge_level.rate ACPI event and corresponding HAL property, the remaining charge time or remaining battery time. * BUG: "Usability: can edit keyboard shortcut with symbol such as : ," BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179004 FIX: I don't want to filter on what a user *can* use, since there may be unknown hardware buttons mapped into part of the ascii range of the keycode space, but I think it may be prudent to filter out the whole range of printable ascii characters. i.e. whatever passes g_ascii_isprint can't be bound. * BUG: "Usability: Suggest to change Background dialog "Finish" button to "Close" to be consistent with other applets dialog" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179788 FIX: Done - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: moblin applets status update
On Thu, 2007-12-13 at 09:57 -0800, Brandt, Todd E wrote: > I tend to favor having as much control as possible, but was overruled > since having both the PCM and Front controls confuses the “average” > user. Thanks for the note though, I’ll keep an eye on the media app > to be sure there are no conflicts. How does this confuse the average user? Windows has the same control on most sound cards, it's just labeled "wave". Also, each system has it's own configuration in the hda driver, so what you see on Samsung Q1 Ultra is different than on the CrownBeach, or any other platform for that matter. As an alsa developer, I'm trying to make the mixer controls as intuitive as possible for the given system, but the PCM control is a soft volume control handled in userspace. -- Tobin Davis I've had a perfectly wonderful evening. But this wasn't it. -- Groucho Marx -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: moblin applets status update
I tend to favor having as much control as possible, but was overruled since having both the PCM and Front controls confuses the "average" user. Thanks for the note though, I'll keep an eye on the media app to be sure there are no conflicts. From: Tobin Davis [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 9:45 AM To: Brandt, Todd E Cc: ubuntu-mobile@lists.ubuntu.com Subject: Re: moblin applets status update On Thu, 2007-12-13 at 08:52 -0800, Brandt, Todd E wrote: * Mixer Applet - Fixed the Volume applet to incorporate the UDS and Bob Spencer's suggestions * Removed the PCM tab. The PCM volume is now set behind the scenes to 98% high so as to prevent distortion, and the user can now only control the speakers, microphone, and headphones. A word of caution on this. Some apps use the default PCM device to play audio, and they control their volume settings via the PCM control, which is a softvol plugin in alsa. Hardcoding it in the mixer and removing the controls may allow a program to leave audio in an unusable state. -- Tobin Davis It is all right to hold a conversation, but you should let go of it now and then. -- Richard Armour -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: moblin applets status update
On Thu, 2007-12-13 at 08:52 -0800, Brandt, Todd E wrote: > * Mixer Applet - Fixed the Volume applet to incorporate the UDS > and Bob Spencer's suggestions > * Removed the PCM tab. The PCM volume is now set behind the >scenes to 98% high so as to prevent distortion, and the >user can now only control the speakers, microphone, and > headphones. A word of caution on this. Some apps use the default PCM device to play audio, and they control their volume settings via the PCM control, which is a softvol plugin in alsa. Hardcoding it in the mixer and removing the controls may allow a program to leave audio in an unusable state. -- Tobin Davis It is all right to hold a conversation, but you should let go of it now and then. -- Richard Armour -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
moblin applets status update
Pushed version 0.21 Gaston to the apt repo, the changes are as follows: * Added Danny Varner's additions to the touchscreen applet * About Me Applet - Completey tore down the about-me dialog to just include a single pane with the following information Username - the nickname or username for login purposes First Name - Given Name Last Name - Family Name Home Phone Mobile Phone Address Street Address P.O. Box Country State City Zip Code Email - the primary email account These all still transmit to the evolution data server and so stil function as before, just with less of them. * Help Buttons - Removed all the Help buttons from the applets since there is no globale help insfrastructure in place. * Network Proxy - Changed the port entry boxes in the network proxy dialog from spinbuggon widgets to standard text entry widgets. * Applet Names - Renamed all the remaining applets to Keyboard - formerly Keyboard Properties Sound - formerly Sound Mixer Buttons - formerly Keybindings Proxy - formerly Network Proxy Background - formerly Backgroun Properties About Me - stayed the same * Mixer Applet - Fixed the Volume applet to incorporate the UDS and Bob Spencer's suggestions * Removed the PCM tab. The PCM volume is now set behind the scenes to 98% high so as to prevent distortion, and the user can now only control the speakers, microphone, and headphones. * Removed all the Volume buttons and replaced the them with just the two sliders, set apart widely for easy scrolling of left and right. * Removed the left and right channel mute buttons and replaced them with a single mute button per tab * BUGS FIXED * BUG: "re-launch control panel applets (Background Properties) will cause control panel exist unexpectedly." BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/155679 FIX: I tried this using the latest target image on a samsung using moblin-applets 0.20 and was able to successfully open, select, close over and over again more than 10 times without fail. I believe I fixed this when I removed all the superflous background settings like "for all users or just this one" and "stretch, tiles, center, etc". * BUG: "change network configuration applet settings cause application launch issue" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156545 FIX: For beta2 we have removed the network configuration applet since it was more powerful than your average user will ever need. Also it was apparantly more trouble than it was worth. * BUG: "the dialog display is not correct" BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156528 FIX: In the latest build, the control panel has been removed and all the control panel apps are actually called by hildon-desktop from the desktop. So none of the control panel menu functions exist anymore - Restore original Settings, Clear user data, and Mobile Operator Setup Wizard. Since these functions don't exist, this bug is no longer reproducable and is tacitly fixed. * BUG: "Cannot open Control Panel->Tools->Moblile operator setup wizard submenu" BUGLINK: https://bugs.launchpad.net/moblin-ui-framework/+bug/164246 FIX: In the latest build, the control panel has been removed and all the control panel apps are actually called by hildon-desktop from the desktop. So none of the control panel menu functions exist anymore - Restore original Settings, Clear user data, and Mobile Operator Setup Wizard. Since these functions don't exist, this bug is no longer reproducable and is tacitly fixed. * BUG: "Control Panel->Tools->Restore original settings doesn't take effect" BUGLINK: https://bugs.launchpad.net/moblin-ui-framework/+bug/164251 FIX: In the latest build, the control panel has been removed and all the control panel apps are actually called by hildon-desktop from the desktop. So none of the control panel menu functions exist anymore - Restore original Settings, Clear user data, and Mobile Operator Setup Wizard. Since these functions don't exist, this bug is no longer reproducable and is tacitly fixed. * BUG: "Control Panel->Tools->Clear user data doesn't take effect" BUGLINK: https://bugs.launchpad.net/moblin-ui-framework/+bug/164255 FIX: In the latest build, the control panel has been removed and all the control panel apps are actually called by hildon-desktop from the desktop. So none of the control panel menu fu
RE: moblin-applets changes
I just applied the patch and updated moblinapplets to 0.18, so it should be in gaston now and you should be able t5o pull it in about 30 minutes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kowalik Sent: Sunday, November 25, 2007 8:14 PM To: ubuntu-mobile@lists.ubuntu.com Subject: moblin-applets changes Hey Guys, I've been looking at why ubuntu-mobile is uninstallable under Hardy, and have discovered why, and what needs to happen to correct it. The core of the problem is moblin-applets, which depends on libgnomekbd1. libgnomekbd1 depends on a particular version of libgnomekbd-common which doesn't exist any more, so it all falls over. This is a normal occurrence, since libgnomekbd has undergone an API and ABI change, and as such the package name has changed from libgnomekbd1 to libgnomekbd2. The problem now is that the moblin-applets in Hardy is 0.9, which doesn't build against the new libgnomekbd. Neither does the current git tree, so I am attaching a patch that corrects cause of the build failure. I've also test-built a moblin-applets against Gutsy, and it builds fine as well, so I suspect the code in question wasn't needed. Todd, can you apply this patch to git and liaise directly with me in terms of getting a new moblin-applets to land in Hardy as soon as possible? Thanks, -- Steve Ubuntu Mobile Developer Canonical, Ltd -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets Update
This is what we're going to have ready in terms of moblin applets by end of next week. Date&Time: * No changes for Beta2 * Beta3 changes are: * remove password prompt * Remove Date&Time change from drop-down calendar * Timezone = finger scrollable list * Time = popup dialog to set time * remove configuration fields * Remove: Help btn, Synchronize Now Keybindings: * renamed to "buttons" * will use moko finger scroller * better organization for the shortcuts * will support: Home, Web Browser, Photos, Videos, Music, Chat, Email, Calculator, screen brightness up, down, and minmax Toggle, and volume up, down, and mute. Keyboard properties: * renamed to "Keyboard" * all tabes removed except virtual keyboard settings tab * will focus entirely on the virtual keyboard * will use moko finger scroller to select layouts Screen Resolution: * removed for beta2 Font: * removed for beta2 Network Configuration: * removed for beta2 System Monitor: * renamed to "About Device" * will have only one tab, showing the hardware characteristics Sound Mixer: * renamed to "volume" * will have 3 tabs: speakers, headphones, and microphone * each tab will have two sliders for left and right with a sync button * each tab will have a mute Touchscreen: * should no longer need root access * should have better looking UI * will have a prompt for X restart and restart X * will have cross-platform xorg file support Network Proxy: * renamed to "Proxy" * will have better scroll buttons for the port numbers. About Me: * will have one tab for purely personal info, name, address, and phone Background: * will have a moko finger scroller for selecting the pictures * will be organized better for 1024x600 resolution Battery Indicator: * will will have a battery level indicator in the status bar - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
moblin-applets changes
Hey Guys, I've been looking at why ubuntu-mobile is uninstallable under Hardy, and have discovered why, and what needs to happen to correct it. The core of the problem is moblin-applets, which depends on libgnomekbd1. libgnomekbd1 depends on a particular version of libgnomekbd-common which doesn't exist any more, so it all falls over. This is a normal occurrence, since libgnomekbd has undergone an API and ABI change, and as such the package name has changed from libgnomekbd1 to libgnomekbd2. The problem now is that the moblin-applets in Hardy is 0.9, which doesn't build against the new libgnomekbd. Neither does the current git tree, so I am attaching a patch that corrects cause of the build failure. I've also test-built a moblin-applets against Gutsy, and it builds fine as well, so I suspect the code in question wasn't needed. Todd, can you apply this patch to git and liaise directly with me in terms of getting a new moblin-applets to land in Hardy as soon as possible? Thanks, -- Steve Ubuntu Mobile Developer Canonical, Ltd diff --git a/moblin-settings-daemon/moblin-settings-keyboard-xkb.c b/moblin-settings-daemon/moblin-settings-keyboard-xkb.c index c45dfa3..90b1b04 100644 --- a/moblin-settings-daemon/moblin-settings-keyboard-xkb.c +++ b/moblin-settings-daemon/moblin-settings-keyboard-xkb.c @@ -35,7 +35,6 @@ #include #include -#include #include #include @@ -391,7 +390,6 @@ moblin_settings_keyboard_xkb_evt_filter (GdkXEvent * xev, GdkEvent * event) void moblin_settings_keyboard_xkb_init (GConfClient * client) { - GObject *reg = NULL; #ifdef MSDKX xkl_set_debug_level (200); logfile = fopen ("/tmp/gsdkx.log", "a"); @@ -419,9 +417,6 @@ moblin_settings_keyboard_xkb_init (GConfClient * client) xkl_engine_start_listen (xkl_engine, XKLL_MANAGE_LAYOUTS | XKLL_MANAGE_WINDOW_STATES); - - reg = - g_object_new (gkbd_config_registry_get_type (), NULL); } } -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin-applets Status
Hi all, If you get a chance, try rebuilding a new target, or at least upgrade to 0.13 moblin-applets. I've added a mixer control which uses ALSA to populate a list of the most useful tracks on simple sound cards. It's a single dialog that uses notebook pages for each track instead of just displaying them all messily from left to right. I've also added HUGE buttons because I'm tired of scrounging for my pen to tap the little volume buttons in the status bar. I want the user to be able to just smack away at this with their fingers and have no issues. Also, all of the tracks have independent left and right controls for volume and mute, so I added a sync button for each to allow the user to control left/right in unison (just like in the ubuntu version but in a different style). The code uses ALSA to populate a list of all the tracks that have playback volume or switch controls, then scans for 4 key tracks which I think will make the most sense to provide to the user: Master (PCM), Speakers (Front), Microphone (Mic), and Headphones (Headphone): To see a full list of the tracks the system supports just install alsa-utils, and run amixer, it will show all the tracks which fall into three primary types: playback, capture, and input source. For now I've just included the playback tracks because the devices we currently have aren't that complex, but we can easily add on other tracks in the future. The Samsung has the following: PCM: I call this "Master" because it has the widest range and no mute switches, it seems designed to control the underlying volume that gets channeled to the other tracks like spearkers and headphones. Front: This guy I call "Speakers" because it just controls the two front speakers on the Samsung, and it has both volume and mute controls Microphone: I included the Micrphone playback track which includes both volume and mute capability, it seems to work ok as the input to the mic gets sent out over the speakers and headphones just fine, however I still haven't gotten arecord to function yet. Headphones: The included a headphone track which has no volume slider (the Fron volume slider seems to also affect headphones, but it does have independent mute switches. Ideally I'd like to get PPM to control the Front and Headphone Mute buttons manually whenever the "Headphone plugged" ACPI event is received. That way it will react as a normal devidce does when using headphones. I have compiled all the basic functions I use for controlling the sound via ALSA into a library called libvolumecontrol.so and it's placed in /usr/share/moblin-applets. So if the PPM guys want to try to load it in and do some tests, have at it. The header file is in the moblin-applets source tree at libvolumecontrol/volume.h. If anyone makes the request I can turn this library into a standard runtime library with a dev version with header files for easy programming and use since ALSA is a pain in the butt to understand with so little documentation. I still have to make some small glade cosmetic improvements like disabling the volume controls if ALSA determines that the track doesn't have them. For instance the Headphones tab has volume controls but they just don't do anything at the moment. - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - ___ dev mailing list [EMAIL PROTECTED] https://www.moblin.org/mailman/listinfo/dev -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
moblin applets status
Have held an informal review of the features in the control panel and have implemented many of the comments, most having to do with removal of the clutter and simplification of the UI. Have been focusing primarily on bug fixing and code upgrades, and I'm currently in the process of finalizing the mixer applet and will be adding in theme switching next. - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets status
The spec has been updated with topics from today's discussion at UDS. See the "Issues" section at http://wiki.ubuntu.com/MobileAndEmbedded/ Utilities On Nov 1, 2007, at 10:57 AM, Brandt, Todd E wrote: > Very short update: > > Held a review of the moblin-applets feature set through the moblin > mailing list and the overwhelming response was that we have way more > features than we need. Thus, this week I've been chopping the applets > down to the bare minimum of features for use on a mobile device. > > Also am working on the creation of a ventral libmoblin-dev and > libmoblin > runtime library that applications and applets can use to get the > up-to-date list of all the gconf keys and their settings that we use, > and am working to add in macros for icon and desktop theme functions > that mirror their gtk equivalents. > > - > | Todd Brandt - Intel Oregon | > |Linux for Mobile Internet Devices (MID)| > | 2111 W NE 25th Ave| > |Hillsboro, OR 97124 JF1-235| > |---| > | "Of all the things I've lost, I miss | > |my mind the most" - Mark Twain | > - > > -- > Ubuntu-mobile mailing list > Ubuntu-mobile@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ > listinfo/ubuntu-mobile -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin-applets status
Very short update: Held a review of the moblin-applets feature set through the moblin mailing list and the overwhelming response was that we have way more features than we need. Thus, this week I've been chopping the applets down to the bare minimum of features for use on a mobile device. Also am working on the creation of a ventral libmoblin-dev and libmoblin runtime library that applications and applets can use to get the up-to-date list of all the gconf keys and their settings that we use, and am working to add in macros for icon and desktop theme functions that mirror their gtk equivalents. - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets
On Wed, Oct 17, 2007, Tollef Fog Heen wrote: > * Johan Bilien > | statusbar.conf lists the currently used statusbar plugins while > | /usr/share/applications/hildon-status-bar lists the available plugins. > > Can we do that using /etc/hildon-desktop/statusbar.d and enable and > disable plugins using symlinks (to the plugins in > /usr/share/applications/hildon-status-bar)? Yes sounds possible. We would keep support for both the configuration file and the configuration directory. User could override a configuration directory with a configuration file in her home. > | In maemo we have a UI to let the user select which plugins she wants to > | use. Same thing for all the containers defined in desktop.conf. > > We'll probably want the same UI. Does it have a name of any kind (and > is it free)? Yes, hildon-plugin-settings at https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-plugins-settings/ Gives both a contolpanel applet and a standalone program. -- Johan Bilien <[EMAIL PROTECTED]> -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets
* Johan Bilien [...] | statusbar.conf lists the currently used statusbar plugins while | /usr/share/applications/hildon-status-bar lists the available plugins. Can we do that using /etc/hildon-desktop/statusbar.d and enable and disable plugins using symlinks (to the plugins in /usr/share/applications/hildon-status-bar)? | In maemo we have a UI to let the user select which plugins she wants to | use. Same thing for all the containers defined in desktop.conf. We'll probably want the same UI. Does it have a name of any kind (and is it free)? -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets
On Mon, Oct 15, 2007, Spencer, Bob wrote: > > The usual way would be to make hildon-desktop have a statusbar.d with > > configuration file fragments it assembles. > > > > [...] > > All of the statusbar plugins already have .desktop files in > /usr/share/applications/hildon-desktop/statusbar . The file > /etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the > order. Perhaps they could add an entry for [*] to get anything not > explicitely listed, then we wouldn't need to edit hildon-desktop when we > add a new statusbar plugin. > > We have similar problems with the other configuration files, such as > marquee.conf. The /etc/hildon-desktop/desktop.conf file references > "marquee.conf" and marquee.conf is part of hildon-desktop, but its > contents are controled by a separate package. If we want to change the > layout we have to change hildon-desktop. statusbar.conf lists the currently used statusbar plugins while /usr/share/applications/hildon-status-bar lists the available plugins. In maemo we have a UI to let the user select which plugins she wants to use. Same thing for all the containers defined in desktop.conf. If UME is going to always load all available plugins for this container, we could add an option to desktop.conf to load all available plugins for a given container. -- Johan Bilien <[EMAIL PROTECTED]> -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets
* "Brandt, Todd E" | I would gladly make the change to the hildon-desktop code to pull in a | statusbar.d directory, however I'm not sure the owner would agree to | accept it and it may take a while to push upstream. I can take the AR to | ping the maemo folks about it though. If you could do that, that'd be very helpful. | As for the sudoers issue, there are currently three "applications" that | need to be granted root access to be run by ume: network-admin and | time-admin from the gnome-system-tools package, and moblin-touchscreen | which edits the xorg conf file. All three are executed by a call to | g_spawn_async with gksu as the command and the argument as one of the | aforementioned three apps. Can we get the last to use input hotplug in Xorg 7.3 so we don't have to edit xorg.conf? | I'm just hesitant to create some sort of moblin-applets root settings | daemon which will require intimate knowledge of packages we don't | control (gnome-system-tools for instance). Well, what we are talking about is just separating out the already-existing infrastructure which edits those files into a daemon and putting a dbus interface on top of that daemon. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets
* "Spencer, Bob" | Tollef Fog Heen wrote: [...] | > The usual way would be to make hildon-desktop have a statusbar.d with | > configuration file fragments it assembles. | > | > [...] | | All of the statusbar plugins already have .desktop files in | /usr/share/applications/hildon-desktop/statusbar . The file | /etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the | order. Perhaps they could add an entry for [*] to get anything not | explicitely listed, then we wouldn't need to edit hildon-desktop when we | add a new statusbar plugin. Ordering can be accomplished by numbering the .conf files. | We have similar problems with the other configuration files, such as | marquee.conf. The /etc/hildon-desktop/desktop.conf file references | "marquee.conf" and marquee.conf is part of hildon-desktop, but its | contents are controled by a separate package. If we want to change the | layout we have to change hildon-desktop. This sounds like something we should get fixed, agreed. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: Moblin-applets
Bob, the behavior I've seen is that without the line in statusbar.conf, the applet won't show up at all even with a desktop file in /usr/lib/hildon-status-bar. You brought up a good point though, perhaps the resolution of this issue is a simple fix to hildon-desktop to load applets regardless of whether they're in statusbar.conf or not. Maybe just stick them at the end of the bar after the ordered ones are loaded. -Original Message- From: Spencer, Bob Sent: Monday, October 15, 2007 12:10 PM To: Tollef Fog Heen; ubuntu-mobile@lists.ubuntu.com; Brandt, Todd E Subject: RE: Moblin-applets Tollef Fog Heen wrote: > * Matthew Garrett > >> There's a couple of issues with moblin-applets that I'd prefer to >> discuss before getting it into the archive. The first of these is the >> modification of the hildon-desktop statusbar config. Shipping a copy >> in hildon-desktop and then modifying it in the moblin-applets >> postinst would result in a conflict every time the file changes in >> the hildon-desktop package. Diversions work badly with conffiles, so >> I'd be interested in opinions on how to handle this situation. > > The usual way would be to make hildon-desktop have a statusbar.d with > configuration file fragments it assembles. > > [...] All of the statusbar plugins already have .desktop files in /usr/share/applications/hildon-desktop/statusbar . The file /etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the order. Perhaps they could add an entry for [*] to get anything not explicitely listed, then we wouldn't need to edit hildon-desktop when we add a new statusbar plugin. We have similar problems with the other configuration files, such as marquee.conf. The /etc/hildon-desktop/desktop.conf file references "marquee.conf" and marquee.conf is part of hildon-desktop, but its contents are controled by a separate package. If we want to change the layout we have to change hildon-desktop. > >> A better solution would involve separation of privileges, with the >> privileged operations being carried out by a suid backend with >> careful validation of all input. However, I appreciate that >> implementing this before gutsy is probably unrealistic. What do >> other people think? > > Agreed on both counts. Would it be possible to make it use gksu and > not modify sudoers, for now? "For now" I we removed sudoers editing and I believe thereby disallow the user to change the date/time using the UI dialog. Todd, can you confirm? We'll look into gksu. Bob > > -- > Tollef Fog Heen > UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: Moblin-applets
The sudoers and status bar edits have been removed temporarily from the latest build pending a resolution. -Original Message- From: Spencer, Bob Sent: Monday, October 15, 2007 12:10 PM To: Tollef Fog Heen; ubuntu-mobile@lists.ubuntu.com; Brandt, Todd E Subject: RE: Moblin-applets Tollef Fog Heen wrote: > * Matthew Garrett > >> There's a couple of issues with moblin-applets that I'd prefer to >> discuss before getting it into the archive. The first of these is the >> modification of the hildon-desktop statusbar config. Shipping a copy >> in hildon-desktop and then modifying it in the moblin-applets >> postinst would result in a conflict every time the file changes in >> the hildon-desktop package. Diversions work badly with conffiles, so >> I'd be interested in opinions on how to handle this situation. > > The usual way would be to make hildon-desktop have a statusbar.d with > configuration file fragments it assembles. > > [...] All of the statusbar plugins already have .desktop files in /usr/share/applications/hildon-desktop/statusbar . The file /etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the order. Perhaps they could add an entry for [*] to get anything not explicitely listed, then we wouldn't need to edit hildon-desktop when we add a new statusbar plugin. We have similar problems with the other configuration files, such as marquee.conf. The /etc/hildon-desktop/desktop.conf file references "marquee.conf" and marquee.conf is part of hildon-desktop, but its contents are controled by a separate package. If we want to change the layout we have to change hildon-desktop. > >> A better solution would involve separation of privileges, with the >> privileged operations being carried out by a suid backend with >> careful validation of all input. However, I appreciate that >> implementing this before gutsy is probably unrealistic. What do >> other people think? > > Agreed on both counts. Would it be possible to make it use gksu and > not modify sudoers, for now? "For now" I we removed sudoers editing and I believe thereby disallow the user to change the date/time using the UI dialog. Todd, can you confirm? We'll look into gksu. Bob > > -- > Tollef Fog Heen > UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: Moblin-applets
I would gladly make the change to the hildon-desktop code to pull in a statusbar.d directory, however I'm not sure the owner would agree to accept it and it may take a while to push upstream. I can take the AR to ping the maemo folks about it though. As for the sudoers issue, there are currently three "applications" that need to be granted root access to be run by ume: network-admin and time-admin from the gnome-system-tools package, and moblin-touchscreen which edits the xorg conf file. All three are executed by a call to g_spawn_async with gksu as the command and the argument as one of the aforementioned three apps. Without the sudoers edit they cause the password request screen to pop up, which, while a minor inconvenience on desktop environments, is a major hassle on a mobile device, particularly as most mobile users won't even be aware of or care about accounts or passwords. If editing /etc/sudoers directly is unacceptable, perhaps we can work to upgrade the sudo package to provide a safe, standard infrastructure for allowing specific users to execute specific processes as root without a password. Maybe a sudoers.d directory which includes more complex data files that tie user ids to executables as well as the packages they're installed in. I'm just hesitant to create some sort of moblin-applets root settings daemon which will require intimate knowledge of packages we don't control (gnome-system-tools for instance). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tollef Fog Heen Sent: Monday, October 15, 2007 4:29 AM To: ubuntu-mobile@lists.ubuntu.com Subject: Re: Moblin-applets * Matthew Garrett | There's a couple of issues with moblin-applets that I'd prefer to | discuss before getting it into the archive. The first of these is the | modification of the hildon-desktop statusbar config. Shipping a copy in | hildon-desktop and then modifying it in the moblin-applets postinst | would result in a conflict every time the file changes in the | hildon-desktop package. Diversions work badly with conffiles, so I'd be | interested in opinions on how to handle this situation. The usual way would be to make hildon-desktop have a statusbar.d with configuration file fragments it assembles. [...] | A better solution would involve separation of privileges, with the | privileged operations being carried out by a suid backend with careful | validation of all input. However, I appreciate that implementing this | before gutsy is probably unrealistic. What do other people think? Agreed on both counts. Would it be possible to make it use gksu and not modify sudoers, for now? -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: Moblin-applets
Tollef Fog Heen wrote: > * Matthew Garrett > >> There's a couple of issues with moblin-applets that I'd prefer to >> discuss before getting it into the archive. The first of these is the >> modification of the hildon-desktop statusbar config. Shipping a copy >> in hildon-desktop and then modifying it in the moblin-applets >> postinst would result in a conflict every time the file changes in >> the hildon-desktop package. Diversions work badly with conffiles, so >> I'd be interested in opinions on how to handle this situation. > > The usual way would be to make hildon-desktop have a statusbar.d with > configuration file fragments it assembles. > > [...] All of the statusbar plugins already have .desktop files in /usr/share/applications/hildon-desktop/statusbar . The file /etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the order. Perhaps they could add an entry for [*] to get anything not explicitely listed, then we wouldn't need to edit hildon-desktop when we add a new statusbar plugin. We have similar problems with the other configuration files, such as marquee.conf. The /etc/hildon-desktop/desktop.conf file references "marquee.conf" and marquee.conf is part of hildon-desktop, but its contents are controled by a separate package. If we want to change the layout we have to change hildon-desktop. > >> A better solution would involve separation of privileges, with the >> privileged operations being carried out by a suid backend with >> careful validation of all input. However, I appreciate that >> implementing this before gutsy is probably unrealistic. What do >> other people think? > > Agreed on both counts. Would it be possible to make it use gksu and > not modify sudoers, for now? "For now" I we removed sudoers editing and I believe thereby disallow the user to change the date/time using the UI dialog. Todd, can you confirm? We'll look into gksu. Bob > > -- > Tollef Fog Heen > UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin-applets
* Matthew Garrett | There's a couple of issues with moblin-applets that I'd prefer to | discuss before getting it into the archive. The first of these is the | modification of the hildon-desktop statusbar config. Shipping a copy in | hildon-desktop and then modifying it in the moblin-applets postinst | would result in a conflict every time the file changes in the | hildon-desktop package. Diversions work badly with conffiles, so I'd be | interested in opinions on how to handle this situation. The usual way would be to make hildon-desktop have a statusbar.d with configuration file fragments it assembles. [...] | A better solution would involve separation of privileges, with the | privileged operations being carried out by a suid backend with careful | validation of all input. However, I appreciate that implementing this | before gutsy is probably unrealistic. What do other people think? Agreed on both counts. Would it be possible to make it use gksu and not modify sudoers, for now? -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin-applets
There's a couple of issues with moblin-applets that I'd prefer to discuss before getting it into the archive. The first of these is the modification of the hildon-desktop statusbar config. Shipping a copy in hildon-desktop and then modifying it in the moblin-applets postinst would result in a conflict every time the file changes in the hildon-desktop package. Diversions work badly with conffiles, so I'd be interested in opinions on how to handle this situation. The other is the mechanism for raising privileges in order to do things like changing the time or static network configuration. The current solution involves editing sudoers. I'm not happy about this for a couple of reasons. Firstly, sudoers is a critical system file. The install script is careful to work on a backup and ensure that it's syntactically correct before overwriting the original, but there's still the potential for loss of information here. Secondly, it results in the ume user being granted rights to run these gtk applications as root. In the default case this probably isn't an issue (given that ume has sudo access anyway), but in the (admittedly unlikely) event of the package being installed on a multiuser system then any user that happens to be called "ume" would effectively gain root (gtk is not heavily security audited). A better solution would involve separation of privileges, with the privileged operations being carried out by a suid backend with careful validation of all input. However, I appreciate that implementing this before gutsy is probably unrealistic. What do other people think? -- Matthew Garrett | [EMAIL PROTECTED] -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
moblin-applets status update
Volume status bar applet: Added a volume status bar icon and slider based on the mixer applet from the gnome-applets package. Removed the bonobo and PanelApplet interfaces and replaced them with the Hildon status bar API. Also removed all dependencies on gstreamer and replaced it with direct calls to the /dev/mixer device. Screen Brightness status bar applet: Added a screen brightness status bar icon and slider based on the brightness applet from the gnome-power-manager package. Removed the bonobo and PanelApplet interfaces and replaced them with the Hildon status bar API. Also removed any dependencies on the gnome power manager and replaced the low level brightness calls with DBUS calls directly to HAL. Touchscreen configuration control panel applet: Danny Varner has been working on adding a touchscreen configuration utility to moblin-applets. He has identified the evtouch calibration utility as the best source base and has adapted it for use on moblin. The utility will make changes to xorg-samsungq1ultra.conf and control the /dev/touchscreen driver. Soft Keyboard support in the keyboard control panel applet: Jian Han has added a new tab to the keyboard configuration applet which allows for configuration of the soft keyboard. The user can select whether or not to autolaunch the soft keyboard and can select its layout. - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets (moblin-utilities) Status Update
[General] * three remaining plugins expected before Oct 12: volume status bar, brightness status bar, and touchscreen calibration applets. The first two will be taken from gnome-applets with all the bonobo interface code stripped out, the last will come from gnome-control-center's mouse caplet combined with evtouch code. [Applet Updates] Network: * Network and Date/Time are now just links to the gnome-system-tools executables. - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets (moblin-utilities) Status Update
[General] * moblin-applets inclusion in ubuntu: John V and I have been cleaning up the moblin-applets package in order to get it moved into ubuntu gutsy. Major changes include moving binaries around, renaming libraries, cleaning up the debian scripts, and adding a man page. Alexander Sack will be looking over the package tomorrow and will decide if it's ready to go. * moblin-settings-daemon: is now started up automatically, so keybindings work immediately. * added a new launcher application which can execute any of the control panel applets individually without having to open the control panel. It's named /usr/bin/moblin-applets. * gconf dbus: spoke with Bob about whether or not we should try to upgrade gconf to the dbus enabled version in order to eliminate the need for CORBA. We decided it can wait until we're using the gconf settings a little more aggressively so that we can compare the speeds. [Applet Updates] Keybindings: * changed the default keybindings to -key to --key since the former ones were interfering with some apps, e.g. emacs. Theme Switcher: * currently investigating how much needs to be changed from the gnome-control-center version of theme switcher (which used gnome-desktop) to be able to function under hildon-desktop. Network: * added /usr/bin/network-customize to the build so that nm-applet can launch the network configuration dialog when "manual configuration" is selected. - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets (moblin-utilities) Status Update
[General] Package upgrade to v0.5. Replaced gnome-settings-daemon with a customized version called moblin-settings-daemon. This daemon is based on the gnome version's code but will have all the pieces moblin doesn't need stripped out. It currently functions only to support the keybindings functionality using a new set of gconf keys edittable by the keybindings applet. [Applet Updates] Keybindings: * moblin-settings-daemon added to support capture and application of keybindings. * New gconf keys added for support of moblin-specific shortcuts and applications. * The only remaining issue is that moblin-settings-daemon doesn't start automatically. You have to open the keybindings dialog first which implicitly launches the daemon. Once this is fixed I'll close out the keybindings bug. * The following is the list of new gconf keys supported: MUTE_KEY/apps/moblin-settings-daemon/keybindings "/volume_mute" VOLUME_DOWN_KEY /apps/moblin-settings-daemon/keybindings "/volume_down" VOLUME_UP_KEY /apps/moblin-settings-daemon/keybindings "/volume_up" POWER_KEY /apps/moblin-settings-daemon/keybindings "/power" EJECT_KEY /apps/moblin-settings-daemon/keybindings "/eject" EJECT_KEY_CMD /apps/moblin-settings-daemon/keybindings "/eject_cmd" HOME_KEY/apps/moblin-settings-daemon/keybindings "/home" HOME_KEY_CMD/apps/moblin-settings-daemon/keybindings "/home_cmd" SEARCH_KEY /apps/moblin-settings-daemon/keybindings "/search" SEARCH_KEY_CMD /apps/moblin-settings-daemon/keybindings "/search_cmd" EMAIL_KEY /apps/moblin-settings-daemon/keybindings "/email" EMAIL_KEY_CMD /apps/moblin-settings-daemon/keybindings "/email_cmd" SLEEP_KEY /apps/moblin-settings-daemon/keybindings "/sleep" SCREENSAVER_KEY /apps/moblin-settings-daemon/keybindings "/screensaver" default: ctrl-alt-l SCREENSAVER_KEY_CMD /apps/moblin-settings-daemon/keybindings "/screensaver_cmd" HELP_KEY/apps/moblin-settings-daemon/keybindings "/help" HELP_KEY_CMD/apps/moblin-settings-daemon/keybindings "/help_cmd" WWW_KEY /apps/moblin-settings-daemon/keybindings "/www" default: ctrl-w WWW_KEY_CMD /apps/moblin-settings-daemon/keybindings "/www_cmd" default: /bin/sh /usr/lib/midbrowser/run-mozilla.sh /usr/lib/midbrowser/midbrowser-bin PLAY_KEY/apps/moblin-settings-daemon/keybindings "/play" PAUSE_KEY /apps/moblin-settings-daemon/keybindings "/pause" STOP_KEY/apps/moblin-settings-daemon/keybindings "/stop" PREVIOUS_KEY/apps/moblin-settings-daemon/keybindings "/previous" NEXT_KEY/apps/moblin-settings-daemon/keybindings "/next" CALC_KEY/apps/moblin-settings-daemon/keybindings "/calc" default: ctrl-g CALC_KEY_CMD/apps/moblin-settings-daemon/keybindings "/calc_cmd" default: /usr/bin/galculator TERM_KEY/apps/moblin-settings-daemon/keybindings "/term" default: ctrl-t TERM_KEY_CMD/apps/moblin-settings-daemon/keybindings "/term_cmd" default: xterm -class UXTerm -title uxterm -u8 CHAT_KEY/apps/moblin-settings-daemon/keybindings "/chat" CHAT_KEY_CMD/apps/moblin-settings-daemon/keybindings "/chat_cmd" MEMO_KEY/apps/moblin-settings-daemon/keybindings "/memo" default: ctrl-m MEMO_KEY_CMD/apps/moblin-settings-daemon/keybindings "/memo_cmd" default: /usr/bin/mousepad -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets Status Update
[General] Removed all conflicts between moblin-applets and any of the existing packages it draws code from: gnome-control-center, gnome-system-tools, and gnome-system-monitor. It can now be installed along side any of these packages. Also removed the gnome-settings-daemon build as this is not changed in moblin-applets and was conflicting with gnome-control-center install. Am in the process of completely removing any dependencies on gnome-settings-daemon within any of our applets. [New Applets] System Monitor applet: * Added in the code from gnome-system-monitor into moblin applets. * Made the necessary changes to hildonize the code and enable multiple dialog calls within a single process call. * Altered the dialog images to display the moblin logo instead of gnome. * Updated the debian package info with the gnome-system-monitor author, license, and copyright information. [Existing Applet Updates] Network Proxy: About Me: * bugs 151 and 152 verified, they have to do with the g_module_symbol call in libglade failing to see the "creation_function" symbol defined in about-me.glade. Background: * bug 159 filed, not yet verified Font * bug 155 verified, this has existed for a while and is caused by mismatched gconf keys between the font applet and the hildon environment. Screen Resolution: Sound Properties: * sound devices not yet detected, still root causing Keybindings: * bug 160 verified, this has to do with the gconf settings, still root causing. Keyboard Properties: * bug 157 filed, not yet verified. Menu & Toolbars: Network Admin: Date and Time: * fixed issues with crash, dialog can now be run multiple times without fail * fixed Mercator projection image in time zones * appears to function well now but needs QA verification. [Anticipated Applets] Volume Control status bar applet This code doesn't yet conform to the hildon status bar applet format, and so is not yet being displayed. Waiting for an update from Tariq. Screen Brightness control panel applet: Not yet received from Tariq - | Todd Brandt - Intel Oregon | |Linux for Mobile Internet Devices (MID)| | 2111 W NE 25th Ave| |Hillsboro, OR 97124 JF1-235| |---| | "Of all the things I've lost, I miss | |my mind the most" - Mark Twain | - -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets Status Update
Gconf settings enablement: I'm in the process of creating a spreadsheet which lists all of the gconf keys; their paths, values, and descriptions; that moblin uses. This will serve as a starting point for decisions on what keys need to be added or changed, and will also enable application owners to tie into what the control panel configures. I will have this out by tomorrow. Network Manager bug fix: The network manager's inclusion into the ubuntu-mobile meta package has caused a failure during fset installation. This was root caused to a fault in the lsb-base-logging.sh function log_daemon_msg, which wasn't handling border cases properly and was crashing. I sent a patch to the Ubuntu mailing list and Tollef has agreed to have it pushed upstream into lsb-base. John V has also provided a patch which allows for inhibiting whether the network services are restarted after the package is installed. Existing Applets Updates * Network Proxy * About Me * Background * Font * Screen Resolution * Sound Properties * Keybindings * Keyboard Properties * Menu & Toolbars * Network Admin * Date and Time 1. Still buggy, can only run the dialog a few times before crash, and the mercator projection for time zones doesn't draw correctly. Anticipated Applets * Volume Control status bar applet 1. This code doesn't yet conform to the hildon status bar applet format, and so is not yet being displayed. Waiting for an update from Tariq. * Screen Brightness control panel applet: 1. Not yet received from Tariq Todd Brandt - Intel Oregon Linux for Mobile Internet Devices (MID) 2111 W NE 25th Ave Hillsboro, OR 97124 MS: JF1-235 Tel: (503) 264-4035 <><>-- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: Moblin Applets Status Update
The possible values I have seen are: 800x480 800x600 1024x600 I think that 800x480 is a good low-end to support. Smaller devices will have to fend for themselves. I don't know about the right font size to use at that resolution. Something your g-ma can read w/o her 3" thick glasses... or maybe with. Bob From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandt, Todd E Sent: Thursday, August 30, 2007 3:04 PM To: Len Kawell Cc: ubuntu-mobile@lists.ubuntu.com Subject: RE: Moblin Applets Status Update Actually this brings up a great point, we should define a minimum screen resolution and font size that the moblin UI should function within. Is 800x480 as small as we'll ever go? From: Len Kawell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 2:57 PM To: Brandt, Todd E Cc: ubuntu-mobile@lists.ubuntu.com Subject: Re: Moblin Applets Status Update Todd, I noticed you said that you modifed the About Me GUI to fit on a 1024x600 screen. We are working with some device makers who are building devices with 800x480 screens. Can the applet GUIs be made to fit on those smaller screens? Len On Aug 30, 2007, at 2:51 PM, Brandt, Todd E wrote: Hi all, sorry I missed the weekly meeting this morning, here's my status update: Existing Applets * Network Proxy - online and functional * About Me - online and functional, modified the GUI to fit more easily on 1024x600 screen ... snip ... -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: Moblin Applets Status Update
Actually this brings up a great point, we should define a minimum screen resolution and font size that the moblin UI should function within. Is 800x480 as small as we'll ever go? From: Len Kawell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 2:57 PM To: Brandt, Todd E Cc: ubuntu-mobile@lists.ubuntu.com Subject: Re: Moblin Applets Status Update Todd, I noticed you said that you modifed the About Me GUI to fit on a 1024x600 screen. We are working with some device makers who are building devices with 800x480 screens. Can the applet GUIs be made to fit on those smaller screens? Len On Aug 30, 2007, at 2:51 PM, Brandt, Todd E wrote: Hi all, sorry I missed the weekly meeting this morning, here's my status update: Existing Applets * Network Proxy - online and functional * About Me - online and functional, modified the GUI to fit more easily on 1024x600 screen ... snip ... -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Re: Moblin Applets Status Update
Todd, I noticed you said that you modifed the About Me GUI to fit on a 1024x600 screen. We are working with some device makers who are building devices with 800x480 screens. Can the applet GUIs be made to fit on those smaller screens? Len On Aug 30, 2007, at 2:51 PM, Brandt, Todd E wrote: Hi all, sorry I missed the weekly meeting this morning, here’s my status update: Existing Applets Network Proxy – online and functional About Me – online and functional, modified the GUI to fit more easily on 1024x600 screen ... snip ... -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
Moblin Applets Status Update
Hi all, sorry I missed the weekly meeting this morning, here's my status update: Existing Applets * Network Proxy - online and functional * About Me - online and functional, modified the GUI to fit more easily on 1024x600 screen * Background Properties - online and functional * Font - online and functional * Screen Resolution - online and functional * Sound Properties - online and functional, however hasn't been tested for ALSA driver compliance * Keybindings - online, but currently can't see all the keys, this is being root caused Applets Added Since Last Week * Keyboard Properties - Taken from gnome control center, Jian Han is the new owner of this applet and will be adding in soft keyboard support * Menu & Toolbars - online, but currently the settings don't take, this is being root caused * Network Admin - online but not yet functional, this is the GUI front end for the NetworkManager daemon and hasn't yet been tested on real hardware. Raji Bommaraju is the new owner of network management on moblin and is in the process of testing these tools. * Date and Time - online but not yet functional, both this and the Network Admin applet come from the gnome-system-tools package which, like gnome-control-center, was designed to support applets as separate processes. The Gnome-system-tools code has taken the extra step of consolidating all the process instantiation code into a common library, making it harder to convert to the hildon-contol-panel framework, but I'm making good progress. Applets Expected For Next Week * Volume Control status bar applet: This is Tariq Shureih's code which will be added in to a new directory alongside capplets in the moblin-applets tree: sapplets. * Screen Brightness control panel applet: This is also Tariq's code and will be merged into moblin applets. Todd Brandt - Intel Oregon Linux for Mobile Internet Devices (MID) 2111 W NE 25th Ave Hillsboro, OR 97124 MS: JF1-235 Tel: (503) 264-4035 <><>-- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile