Re: Sticky Fn/modifier keys
On Mon, 6 Jun 2011, Philipp Haselwarter wrote: Is there any way to make Fn (and possibly Shift and Ctrl) sticky all over the desktop, not just in the terminal? Or at least in certain applications (emacs…)? How do you use emacs? The sticky shift and Fn keys work in xterm, and so in programs that run in xterm. Ctrl is not sticky. On the N900, the implementation of sticky keys is in gtk input method (and in hildon-desktop for "pressing a number on the desktop opens the dialer"), so it should work for programs using this method, but not for programs that take their input from X directly. Xkb also has sticky keys, so you could use that and have it work in all programs, but this option of Xkb is not well documented. -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Permissions on /etc/sudoers messed up - reflash?
On Sat, 22 Jan 2011, Philipp Haselwarter wrote: I chmod 0640'ed /etc/sudoers on my N900 and closed the terminal -.- sudo gainroot/chmod/... fails complaining about the permissions, the gui package manager does so silently. Can't mount the filesystem root offline on another device to chmod 0440 back (?), can't login as root locally, ssh to localhost seems to work but I don't have the slightest idea about the root password. Any way to avoid a reflash? You can boot another system. For example Meego: 1. Download any u-boot image (for example the one from here: http://al.robotfuzz.com/~al/maemo/u-boot/u-boot.bin ) and flash it (as a kernel): flasher-3.5 -f -k u-boot.bin 2. Prepare a uSD card for meego according to instructions here: http://wiki.meego.com/ARM/N900/Install/MMC 3. Boot into meego, mount the N900 root filesystem (ubifs on mtd5), and fix the problem 4. Reflash kernel by downloading the firmware image and using the command flasher-3.5 -f -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Shortcut for XTerminal (SHIFT+CTRL+X)
On Tue, 26 Oct 2010, Igor Stoppa wrote: On Tue, 2010-10-26 at 10:26 -0300, ext Francisco Diaz Trepat - gmail wrote: Hi all I was wondering if there is a way to change the (SHIFT+CTRL+X) shortcut to some other combination more easy for me. It is hard coded in hildon-desktop, so the only way to change is to change the source code. Modified-hildon-desktop package (see http://my.svgalib.org/repo/Modified_Hildon_Desktop.html ) is a modified version of hildon-desktop that allows arbitrary reconfiguring of keyboard shortcuts. Sidenote: iirc it's not recommended to use that approach because some resources are not claimed back once the terminal is closed. It was mostly meant to be used in case of emergency. hopefully someone with better memory than mine can confirm/dispute this I don't see any obvious memory or resource leaks in the code that runs xterminal. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: PR 1.2 hardware keyboard long-press and vi
On Mon, 7 Jun 2010, Marius Gedminas wrote: PR 1.2 makes a long press of a hardware key enter the Fn-shifted character displayed on the key. Well, what it actually does, is enter the normal character, followed by Backspace, followed by the Fn-shifted character. This doesn't work well with vi, which interprets every character as a separate command. Is there a way to disable this feature and return the regular key autorepeat? gconftool -s -t bool /apps/osso/inputmethod/ext_kb_repeat_enabled {false/true} See here: http://talk.maemo.org/showthread.php?t=52694 -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Go to beginning of document, N900?
On Mon, 15 Mar 2010, Frantisek Dufka wrote: Tommy Persson wrote: How do I go to the beginning of a document with the N900? It is very annoying when you for example scroll down on Facebook to read the new thing and then want to get back to the top of the page. The only way I have found is pressing shift-space many times but can it really be that this is the only way? One can edit platformHTMLBindings.xml file (as root) and add own keybindings. I don't have my N900 here so I don't know exact path but you can get it by running 'dpkg -L microb-engine-common | grep platformHTML'. Or maybe it is in microb-engine package. For N810 the file is in /usr/lib/microb-engine/chrome/toolkit/content/global Document top/bottom (cmd_scrollTop/cmd_scrollBottom) is currently set to ctrl+home/end which is not that helpful for N900 :-) Actually Home and End used to work in N900 (and it is easy to map some key combinations to those keys), but it was broken in PR1.1. The bug is marked as fixed for a few monthes: https://bugs.maemo.org/show_bug.cgi?id=7567 , but we still do not know whether N900 users will get to enjoy this fix. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: 3G dongle connected to N900?
On Mon, 8 Mar 2010, Xavier Bestel wrote: On Mon, 2010-03-08 at 10:31 +0100, Klaus Rotter wrote: Am 07.03.2010 02:07, schrieb Peter Flynn: Jan Knutar wrote: N900 does not have USB Host Mode, so no. You're kidding? Did they not learn from the N800 at all? The problem is to use the USB port as a plug in for the charger/ac adapter. On the N8x0, there was a separate input for the charger. All new cellular phones in the EU must have a micro USB port as a connector for an ac adapter (in the future). There are some problems to use the USB port both as power input and also power output (required in host mode). And yes, I really want a USB host mode, too. IIRC it's forbidden by the USB spec. Also the spec says you can't have OTG and more than one USB connector. So basically the Euro spec forbids host mode on phones. No, that is a myth. The facts are: 1. There is no mandatory regulation, only a voluntary MoU (Memorandum of Understanding), so nothing is forbidden. 2. Said memorandum allows for devices not following it if there is a good reason. It seems to me that supporting host mode is a good reason. 3. The MoU allows for using an adapter for microUSB charging, so Nokia could include standard Nokia charger connection in the phone, and include an opposite adapter in the box. 4. The MoU only covers devices introduced to the market after 1/1/2010, so it is irrelevant to the N900. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Recording calls
On Sun, Jan 17, 2010 at 9:59 AM, Timo Pelkonen wrote: > IMO developer could was his/hers hands just by adding disclaimer to licence > conditions. Something like "make sure recording calls is legal before using > this software". > > but I'm not lawyer so this is uneducated guess. reasoned from the fact that > kitchen knives can be sold even after people are stabbed to death with few > of those sold... You mean like every image viewer has a warning that viewing some images might be illegal in some places? Or like every text editor has a warning that you should make sure that what you write is legal where you are? -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: any way to use usb0 connection in browser?
On Fri, 8 Jan 2010, Eric Cooper wrote: When I set up the usb0 interface on my N900 and ssh into it, I can access the internet fine from the command line (ping, apt-get, etc.). But when I use the browser on the device, it insists on making me choose a wifi or cellular data connection. Does anyone know where this list of connections is stored, and whether I can add one for the USB network somehow? You need dummy connection. Fortunately, as a gesture of goodwill toward the developer's community, Nokia only lets you have this highly proprietary technology if you install the SDK. See instructions here: http://talk.maemo.org/showpost.php?p=433821&postcount=2 -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: possible bug in N900 Maemo 5 desktop ??
On Tue, 5 Jan 2010, Mark wrote: On Tue, Jan 5, 2010 at 1:14 PM, Andre Klapper wrote: Am Dienstag 05 Januar 2010 17:34:53 schrieb Mark: Beautiful. :-/ The "solution" to a bug is to just remove the feature involved. As if no one will miss the feature... Many people don't understand why there is a second application menu level instead of just scrolling down in the first one. Me neither. Enjoy being probably the only person missing it. Because some people appreciate organization more than others. However, since it apparently isn't configurable, that makes the point moot. It is about as configurable as can be, only not using a GUI. See here for details: http://talk.maemo.org/showpost.php?p=442281&postcount=5 -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: N900 battery duration
On Wed, 11 Nov 2009, Frantisek Dufka wrote: > Matan Ziv-Av wrote: >> Here is some data: >> >> http://talk.maemo.org/showpost.php?p=361648&postcount=23 >> >> Abstract: The often repeated claim that a reboot cycle wastes a lot of >> battery is incorrect. >> > > Hmm, you proved you can drain battery in 44 reboot cycles in 2 and half > hours. To me it says reboot wastes a lot of battery :-) You can play video or > surf the web longer than 2.5 hours. In fact there is not many things that > could drain battery faster than reboots, is it? I cannot play video for 2.5 hours on my almost 2 years old N810. I can hardly read an ebook for this long. In addition I have dual boot, including 30s delay. During this delay screen is on maximum brightness, and I don't know which power saving features are enabled, so without this delay, a few more reboots might be possible. > I have posted my findings with one spare N810 to that thread. I got like 30 > days with N810 sitting completely idle. That would roughly mean one reboot is > 16 hours of standby (with no wi-fi). This must be very atypical. In similar tests on a new N800 I never even managed two weeks (in offline mode). The main reason I suggest turning off when the device is not going to be used for long periods (such as a night sleep) is the non-slim chance that something might cause break power saving (metalayer-crawler, router incompatible with power saving, forgetting to disconnect bluetooth, etc.) and you wake up to see a dead device. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: N900 battery duration
On Tue, 10 Nov 2009, Tuomas Kulve wrote: > Aniello Del Sorbo wrote: >> An N8x0 in offline mode (idle) consumes much less energy in a night >> than its minutes-long start up. > > Does somebody have any data on this? Here is some data: http://talk.maemo.org/showpost.php?p=361648&postcount=23 Abstract: The often repeated claim that a reboot cycle wastes a lot of battery is incorrect. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Nokia netbook
On Wed, 26 Aug 2009, Gary wrote: > Matan Ziv-Av wrote: >> Almost all GPRS/UMTS/HSPA modems appear to >> the CPU as a serial device and need standard AT commands for connection >> management. > > Oh yeah -- I forgot about that. There's a way to use those modems with > OS X that involve some configuration of PPP. Is that the same way a > connection is initiated under Linux? Yes. Exactly like an analog modem - a few AT commands for establishing the connection and then PPP. Again, that is how most chipsets work. I know of one counterexample, but there may be other. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Nokia netbook
On Tue, 25 Aug 2009, Gary wrote: > The catch will be whether they release drivers for the HSPA broadband > chipset ... Drivers for the HSPA chipset? Almost all GPRS/UMTS/HSPA modems appear to the CPU as a serial device and need standard AT commands for connection management. The only exception I know of are HSO modems, and even those use a serial port and AT commands for management. -- Matan. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: 2Gb internal storage on N810
On Thu, 23 Jul 2009, Gary wrote: > Frantisek Dufka wrote: >> AFAIK since version 2.4 of linux kernel, swapping to file no longer goes >> via filesystem code at all and speed is similar/same to swapping to >> block device directly. > > That is true but in this case, AFAIK, with the maemo control panel > you're building a swap file on a FAT32 file system. That would most > likely result in a different performance metric than if you built a swap > file on top of ext3 or used a raw swap slice. Someone please correct me > if I'm wrong, You are wrong. A simplified version of what happens: At swapon time, the kernel builds a table in RAM of where all the blocks of the swap file are. Later during swap in/out the table is used and filesystem is ignored. So filesystem might affect the time to run swapon, which happens once at boot time, but does not matter to the swap performance after that. -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Where is telnet?
On Fri, 15 May 2009, Mark wrote: > Sigh... would you please read the references before relying on your > memory? NetBIOS/NetBEUI was included in the *basic* Windows 3.1; WFW > 3.11 added features, including Winsock. Actually, the link you gave specifically says that WfW 3.11 shipped without TCP/IP support: "Windows for Workgroups 3.11 (originally codenamed Snowball) was released on 11 August 1993,[4] and shipped in November 1993.[5] It supported 32-bit file access, full 32-bit network redirectors, and the VCACHE.386 file cache, shared between them. The standard execution mode of the Windows kernel was discontinued in Windows for Workgroups 3.11. A Winsock package was required to support TCP/IP networking in Windows 3.x. Usually third-party packages were used, but in August 1994 Microsoft released an add-on package (codenamed Wolverine) that provided limited TCP/IP support in Windows for Workgroups 3.11." > See here: > http://en.wikipedia.org/wiki/Windows_3.11 -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Where is telnet?
On Thu, 14 May 2009, Alberto Garcia wrote: > If no one ever realised that telnet was so essential until May 2009 > being such a trivial program to port then it probably wasn't that > important after all. Please read the thread you respond to. Telnet is already available for a long time. It was available for OS2005 and then on. > Sure, there are dozens of small command-line tools that some of us use > everyday, but that doesn't mean that the tablet has to come with all > of them installed. The root filesystem is already quite full as it is > now. Compiling busybox with a few more useful utilities like telnet, hexdump, wget, traceroute, etc. only adds 100KB to the binary size. That is less than 0.05% of available space. > Are we going to have the same thread when someone misses nmap and > netcat? If people will attack the request instead of pointing to where the package is (both are available) then probably we will have. -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Where is telnet?
On Thu, 14 May 2009, Eero Tamminen wrote: > Hi, > > ext Matan Ziv-Av wrote: >>>> Unfortunately, I don't have it on my N810 and can't find a copy of it. >>>> And >>>> the times I need it are when travelling and so I have not got around to >>>> porting it myself! I did not really write that. You have some problem in your quoting. > Telnet isn't something that's either: > - Needed by the device itself > - An essential (needed in installing most of Debian packages > without them declaring a separate dependency) The same is true for chvt, netstat, uniq, and probably many others, yet they were included. The decision to not include telnet was a bad decision. Admitting to mistakes and fixing them (even if only in Fremantle) is better than attacking someone who expects to have telnet on his internet tablet. > It's an (advanced) end-user tool and can be installed separately. > > Have you tested that Busybox telnet even works as well as real telnet? > With the past experience I have some doubts about the quality of misc > Busybox tools. :-) Yes, I have. And even if it does not, it surely does better than no telnet at all. I wonder what kind of QA did Nokia run on busybox's top or nslookup (for example) before deciding to include them? >> Life with the tablet could be a bit simpler if Nokia chose to include more >> stuff that is available in busybox (md5sum, cpio, hexdump, ...). > > Some of them will be included into Fremantle; the ones that are in > Debian in packages that Busybox currently claims to provide and > conflicts with and which provide options compatible with GNU tools. > Other tools belong to somewhere else. telnet belongs on an "Interner Tablet", and claiming otherwise is akin to claiming that the WWW is the internet. -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
RE: Where is telnet?
On Thu, 14 May 2009, karoliina.t.salmi...@nokia.com wrote: > Hi, >> Unfortunately, I don't have it on my N810 and can't find a copy of it. And >> the times I need it are when travelling and so I have not got around to >> porting it myself! > > Actually I would like to encourage you or someone else to port it if you need > it. > We are very busy here and can't port every app you would like to have, so > if you really want it, please consider doing it by yourself. This is very funny considering that telnet is available in busybox, so _not_ having it installed by default is a conscious decision by Nokia. Life with the tablet could be a bit simpler if Nokia chose to include more stuff that is available in busybox (md5sum, cpio, hexdump, ...). -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Where is telnet?
On Thu, 14 May 2009, Gary Mart wrote: > When I try to run telnet from a terminal on my N810: > > ~ $ telnet > -sh: telnet: not found > > And I could not find a downloadable version (at least > 'search' found nothing). The telnet package on my N810 is from this repository, according to apt-cache policy: http://maemo.daylessday.org chinook/user -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: How About Google Maps for Mobile for the IT?
On Wed, 18 Mar 2009, John Holmblad wrote: All, here is another app that would be nice to have on the IT: http://www.google.com/mobile/default/maps.html# At the end of that www page they put in the following teaser: Of course, if you have an iPhone, iPod touch, or Android device, you’ll already be familiar with Google Maps right there on your home screen. What does Google Maps application do that maemo-mapper does not? -- Matan Ziv-Av. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: DIABLO N800 & PPTP
On Wed, 18 Feb 2009, Maciej Drobniuch wrote: > > Hi all! > I've installed the newsiest DIABLO with the pptp client. > I've had tried many howtos to make it working with my pptp server which > uses MSCHAPv2 & MPPE 128. > The first question is - Do I have to install additional kernel modules to > support MPPE128? > Could you guide me to a perfect howto? There is no 'perfect howto', but there is a guide which includes all vnecessary downloads at http://fanoush.wz.cz/maemo Please note that you need to: Flash a new kernel. Install a few modules (and insert them at every boot). Install a user space program. Configure by editing the configuration files. If the instructions are not clear enough, you should ask specific questions about them. -- Matan. ma...@svgalib.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Offline mode from the command-line?
On Mon, 29 Sep 2008, Tony Green wrote: > Hi all, > > A couple of questions about offline mode. > > Is there a way to put my N800 into offline mode from a command-line? > The sort of thing I'm looking at doing is to run my nightly N800 > backup to my server over SSH, then for the server to issue a command > telling it to go offline to save battery power.. If you keep bluetooth off, and tell it to never look for wireless networks (change "search interval" to never), then you get something similar to offline mode. Then you can disconnect from network with dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true And reconnect to a specific network with dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:$NET uint32:0 where $NET is the network name (that appears in the connect dialog) before diablo, and network id since diablo. You can find the network id by a command similar to gconftool-2 -R /system/osso/connectivity/IAP | grep -B 15 home1 The id is the long string of hex digits. -- Matan Ziv-Av. [EMAIL PROTECTED] ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users