Ubuntu :: Define Location In Clear Weather Screenlet (Locale)?
May 10, 2010
I've installed the Screenlets package. HOW TO define my location in the ClearWeather screenlet? The "ZIP" (locale) field has the default: POXX0079 which is: "Villa Real". What coding system is this? How / where do I find the corresponding code for a Canadian city? It's obvious that the "ZIP" field does not use the US Postal coding system.
I am no programming expert, but there must be a file that the Notes screenlet is storing all my notes on ( im not talkign about tomboy). If I can just find this file and then Share the file, i will be able to sync my notes between my computers. Correct? So anyone know where this text file is so that I can sync it.?
I have found a post (http://ubuntuforums.org/showthread.php?t=1331653) that tells me how to add a location to the Locations.xml file for the Gnome Weather Applet (NOT THE CLOCK/WEATHER APPLET). However when I try to open the file (the file is 916 kb) in bluefish it just hangs and never opens. I have tried doing something with both vim and nano but my expertise in using either of those is non-existent. If someone can help me understand how to open a file in vim or nano so I can edit this file (or ANY way to edit this file)
I live in Dunedin, New Zealand. Dunedin isn't listed as a city in the Gnome clock location thing - only Christchurch, Wellington and Auckland are in New Zealand.I can add my own custom city by specifying the latitude and longitude, which I have done, but I also want the weather for Dunedin to show up.Weather for Dunedin is available from Weather Underground, iGoogle and many other weather sites.
I run gnome on Lenny and have been trying to get Weather Report 2.22.3 to work. Rather than having a list of different continents to choose from, I can only select places in Africa. That doesn't help much considering I am half a world away. I have a laptop also, and Weather Report works just fine on it. My desktop is the only machine with the problem.
Maverick 10.10 is unable to create Japanese locales on my wife's laptop (Acer Aspire 3000). This machine previously had no such problem. The install is a fresh install, since the machine froze during the upgrade (no fault of Ubuntu's). A possible complication is that it froze several times more during the install, and I have gone through many recovery boots and iterations of dpkg configure. All relevant packages are installed, I believe. Everything else works. Through System, Administration, Language Support, I have installed all components of English and Japanese. Currently English is selected. Japanese should appear in the list but does not. Japanese text appears properly, and I can write in Japanese,But all the menus are in English. Fine by me, but my wife will want Japanese when she uses the computer again (not soon).This mostly likely is a glibc/libc6 problem, as far as I can tell. I can't find any other Ubuntu user with this problem recently.And now, some outputs:1. dpkg-reconfigure locales
I realise KPDF is quite old now but as this issue may recur when I move to a newer distro (well, newer than Hardy) with Okular I thought I'd better ask.I use Gnome, but prefer KPDF to evince when viewing PDF files. However, KPDF's "Open Recent" list behaves very oddly - there's no apparent way to clear it, and items which were on the list one day aren't on it another day (coinciding with old items reappearing on the list).
Is there any way to clear this list?Similarly, is there any way to clear the list of recently opened files in the "Location" drop-down box in File-Open? (which also seems to mysteriously lose list items inbetween reboots).
I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:
I was following the online instructions to install screenlets and all is fine and the manager appears as well. In compiz the widget layer is active etc. Once widget layer is activated it shows an empty blank dark screen, widgets are not running. The widgets/scripts do not show up, neither on desktop nor on the widget layer.
Running the py script from terminal showing following output:
Quote:
user@ubuntu:/usr/share/screenlets/Clock$ ./ClockScreenlet.py CachingBackend: Loading instances from cache Found a running session of Clock, adding new instance by service. Error in screenlets.services.get_service_by_name:
all I want it to do is be a picture of an Orb like the windows 7 one but without the logo which I can place over the start icon. I just can't figure out how to make it, all I know is that you need to compress the file to a Tar.gz file.
I'm using Screenlets in ubuntu 10.04 and I have a problem with screenlets behavior. I played around with it a little while and I guess I messes something, because now whenever I log in some screenlets load twice and I have to clean them manually. Where can I view the config for each individual screenlet?
The text of my cairo-clock screenlet is clipped - only a pixel or two on the top, but more on the bottom (see attached screenshot). Is there a way to fix this? (Also, does anyone know how to format the clock differently? I would like a single line with the format like "13:59 31/01/2010" ...)
I want to try out the screenlet called Folder View:[URL]I have downloaded and installed it fine. However, when I double-click on it (or use the Start/Stop button) there is a momentary flash and then nothing interesting. I have checked on the widget layer and on all desktops and I have tried various settings in Options all to no avail
I saw that it's possible to use stock screenlet to show an exchange rate:[URL].. but I wasn't able to find out how to do that...I know that for let's say Google, you have to type GOOG (Nasdaq index) in the preferences, but there's no such index for exchange rate e.g. EUR-GBP.
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
I have been testing ubuntu 10.10 maverick, it has some nice features. Anyway I am missing the possibility of writing manually the folder you want to go on nautilus using the Location bar. It was used to have some kind of icon which you can click and it switched between graphich breadcrumbs or the location of the folder and you could changed it manually, you know what I mean?
I'm attempting to use the output screenlet to always show the output of the "top" command. However, the screenlet will only display "TERM environment variable not set". Opening a terminal and running a "env | grep TERM" shows me that the variable is actually set, so I think that the screenlet may not be reading my environment correctly.
Somehow my language/locale setting has gotten messed up, and I don't know how to fix it. Several applications complain with a message like: "No matching locale found for 'C'."
The contents of /etc/default/locale is code...
How can I fix this?
(I'm running 64-bit Ubuntu 10.10 with all updates applied.)
The date displayed in my panel is in the American format: Sat Jun 12, but my locale is set to Australian for everything. I have tried switching to different regions (System->Administration->Language Support), but this appears to have no effect on the date format.
I want to ask a question regarding on the "locale" problem. I've searched a lot on Google, but I think there is no detailed information and logic explained this topic well. Someone may suggest use Preference->Administration->Language Support to add or change whatever language I want. I can't use this way beacuse:
1. I need try to push locale configuration to a lot of linux clients. 2. I want to know the detailed information of how to configure.
I have tried to find the most helpful page on the Internet and read some "man locale":
Where is the system locale set?When /etc/profile is run it sources /etc/profile.d/lang.sh which sets envar $LANG but /etc/profile is only used by login shells so -- AFAIK -- modifying $LANG in /etc/profile.d/lang.sh will not change the system locale for processes started by the boot scripts.There are no *locale* files under /etc./etc/inittab has nothing about locale.man init has nothing about locale.man 7 locale describes locale.h and its usage.man 5 locale describes the format of locale files./sbin/init (as investigated using the strings command) may call nl_langinfo but man nl_langinfo only describes how to query the locale, not where it is set.
I am attempting to add a user via the adduser command. However, I get an error/warning message after entering the following: (note I am following a HOWTO, and this is the line it says to enter).
Code: adduser renderNode perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). adduser: Please enter a username matching the regular expression configured via the NAME_REGEX[_SYSTEM] configuration variable. Use the `--force-badname' option to relax this check or reconfigure NAME_REGEX or NAME_REGEX_SYSTEM. I don't quite understand how to check/configure locale settings or variables,
I installed Ubuntu for the ability to easily change the system wide locale and language settings.However I've noticed a strange thing when logging in to my account with Japanese set as the language. Although I'm using the default "Ambiance" theme, the folder icons in Nautilus and some other styling seem to change to a different (much uglier) theme. For example on the top panel the network connection icon also reverts to an blue computer screen icon from the other theme, although other icons on the panel and the rest of the styling remains as the correct theme!
I'm now back in English locale, and my theme is normal again. In fact I don't even see the ugly other theme in the theme selector window. I haven't noticed this problem using other languages such as French and Russian.It's only a stylistic theme, but it's really ugly and really bugging me. what might be going wrong?EDIT***********************Ok I just logged back in again using the Japanese locale in order to post a screencap, and of course the problem has vanished now! I already logged in and out a number of times earlier to see if it would solve the problem and it didn't
I'm wondering if there exists software that serves the same kind of function as Tasker or Locale for Android except for Linux. I think it would be really great to be able to have certain things run automatically based on a set of conditions. For example, I would like to automatically sync my mp3s to my laptop from my home computer when my laptop connects to my home network.
I have setup a VPS @ Strato with Linux Wheezy.Since I'am in the Netherlands I got a Dutch language package installed.I like to setup into englisch all the way.Via dpkg-reconfigure locales I have installed en_GB.UTF-8 UTF8 language packages and deïnstaled nl_NL.utf8
Generating locales (this might take a while)... en_GB.UTF-8... done Generation complete.
But a lot of the commands are still in Dutch like: h2458377:~# uitgelogd.And quite often I got: -su: warning: setlocale: LC_ALL: cannot change locale (nl_NL.utf8)
How do I get ripped off this error?Just working with/on the command line
When I open gedit and also some other applications, I get this message:(gedit:29595): Gtk-WARNING **: Locale not supported by C library.Using the fallback 'C' locale.Why is this happening and should I worry about it? It does not seem to affect my subsequent work.
I have been having some trouble using the Esperanto locale in Xmonad for sometime. I used this locale mainly in the terminal, because obviously Xmonad is a tiling WM and doesnt need a specific locale itself. I found that Esperanto locale prevents Xmonad from starting, but that if the LANG locale is exported after Xmonad is already started, it will turn my xterminal into an Esperanto terminal. Thus opening mutt mail will show Esperanto-Mutt, and for instance "command not found" becomes "komando ne trovita". I enjoy seeing this.
So the trick then is running "export LANG="eo.utf8"" just after xmonad loads before any other programs are run. I tried various things, and now wonder is it possible to just have the terminal itself running it its own locale? I could run this manually in every terminal, but wonder about automating it. I use the Xfce4-Terminal.
I tried .bash_profile, .xinitrc, .bashrc, and I tried adding the export to a bash script set to run by xmonad after it starts up. None of these cause the desired effect. I also notice it is temporary. If I open a terminal and do the export, that terminal is Esperantized. If I open a new terminal it is back to english.
Another thing I noticed is that after xmonad starts, if I manually add the export to .bashrc, all the terminals are in Esperanto. So I am thinking of making a script that does a find and replace of the .bashrc to add the export. Its tricky, some kind of sed-grep action. Another idea would be to put the .bashrc in a weird location so it isnt found on startup. Then make a command to symlink to it in the user folder after Xmonad starts. The main Slackware system would be English locale in order to prevent Xmonad from barfing on startup.