tag:blogger.com,1999:blog-83386871884499629242024-02-20T13:24:03.067+01:00My life's journeySharing my thoughts about medicine and technology, linux and computer security.Unknownnoreply@blogger.comBlogger175125tag:blogger.com,1999:blog-8338687188449962924.post-68334200447197599602017-11-06T11:03:00.000+01:002017-11-06T11:06:46.011+01:00How to set a PIN password or a short password in Ubuntu Linux<div dir="ltr" style="text-align: left;" trbidi="on"><div class="tr_bq">If you are looking for a way to a PIN password or a short password in Ubuntu Linux, similar to Windows 10, you've come to the right place.</div>The way described here changes only the desktop login (lightdm service), but can be applied to other services as well if you wish.<br />
Also, this allows you to have your original strong password for "sudo", while maintaining a fairly easy way to login to Ubuntu desktop.<br />
Commands can be issued in the terminal program.<br />
<h2 style="text-align: left;">Installing pam_pwdfile.so</h2>First of all, make sure you have installed the libpam-pwdfile package:<br />
<blockquote class="tr_bq">sudo apt-get install libpam-pwdfile</blockquote><h2 style="text-align: left;">Creating the user/password file</h2>You will be prompted to enter a new PIN password.<br />
Your password will be encrypted and saved to a file named "passwd.like"<br />
<br />
<blockquote class="tr_bq"><br />
pinpass=$(mkpasswd -5)<br />
echo "$pinpass" | sudo tee /etc/passwd.like<br />
<br />
</blockquote><br />
You will see the encrypted pin password echoed in the terminal. This password will be written to the /etc/passwd.like file.<br />
<br />
<span style="font-size: small;"><i>Alternatively, you may use:<br />
<code>openssl passwd -1 yourpinpasswordhere</code></i><br />
</span><br />
<h2 style="text-align: left;">Setting up the desktop login service</h2>The next step is to prepare the desktop login service to accept the PIN password before other password procedures. I've mentioned already the name of the desktop login service, <i><b>lightdm</b></i> .<br />
<br />
Take a look at the file:<br />
<blockquote class="tr_bq"><br />
cat /etc/pam.d/lightdm</blockquote><br />
If you don't have this file, then your desktop (login) service is a different one, and you should find your desktop manager before going further. As explained before, this guide is for Ubuntu 16.04 but can be used for other login services as well.<br />
<br />
It could be useful if you also create a backup:<br />
<blockquote class="tr_bq"><br />
sudo cp /etc/pam.d/lightdm /etc/pam.d/lightdm.backup</blockquote><br />
Now, you may edit the file using nano or gedit or any other text editor:<br />
<blockquote class="tr_bq"><code>sudo gedit /etc/pam.d/lightdm</code></blockquote><br />
At the top of the file mine had:<br />
<br />
<br />
<blockquote class="tr_bq"><br />
<i>#%PAM-1.0</i><br />
<i>auth requisite pam_nologin.so</i><br />
<i>auth sufficient pam_succeed_if.so user ingroup nopasswdlogin</i><br />
<i>@include common-auth</i></blockquote><br />
I have modified it like so:<br />
<br />
<blockquote class="tr_bq"><br />
<br />
<br />
#%PAM-1.0<br />
auth requisite pam_nologin.so<br />
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin<br />
<span style="background-color: #6aa84f;">auth required pam_pwdfile.so pwdfile=/etc/passwd.like<br />
auth required pam_permit.so<br />
#</span>@include common-auth</blockquote><br />
Save the file and close your text editor.<br />
<br />
Log out and log back in.<br />
<br />
You should be able to use the PIN password you set. By following this guide, the PIN password is only used for the desktop login service, not for the password of sudo commands. <br />
<br />
Sources: <br />
This is a modified guide based on a pam pwdfile guide for vsftpd at: <a href="http://www.rollnorocks.com/2015/11/authenticating-vsftpd-virtual-users-with-pam_pwdfile-so/">http://www.rollnorocks.com/2015/11/authenticating-vsftpd-virtual-users-with-pam_pwdfile-so/</a><br />
<br />
<br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-17354731144847697712015-08-24T22:22:00.003+02:002015-08-24T23:01:58.112+02:00How to issue a time resynchronization in Windows - cmd/batch<div dir="ltr" style="text-align: left;" trbidi="on">
Hello again, I'm back. I found some spare time to add some updated tricks concerning technology, and general tips for Windows or GNU/Linux. :)<br />
<br />
I've been having some problems with the time synchronization in Windows 7, which required more often synchronization. So after some googling around, I came up with this little batch commands:<br />
<pre>echo Current date/time: %date%_%time%
%windir%\system32\sc.exe start w32time task_started
%windir%\system32\w32tm.exe /resync
echo Fixed date/time: %date%_%time%
pause
</pre>
<br />
Save it as a .bat file and run it as an administrator (right-click on file > Run as administrator).<br />
It's nothing much, pretty dirty scripting I confess, but it does get the job done, at least in my case. I hope it will help someone else too.<br />
<br />
See ya!<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-48019668178506975602012-10-11T08:42:00.001+02:002012-10-11T08:44:19.427+02:00Icon 'gtk-close' not present in theme<div dir="ltr" style="text-align: left;" trbidi="on">I recently started to use screenlets again, especially FreeMeteo for weather forecast. But on ubuntu 12.04 every time I login I get a crash message:<br />
<br />
<b><i>FreemeteoWeatherScreenlet.py crashed with GError in load_buttons(): Icon 'gtk-close' not present in theme</i></b><br />
<br />
If you have a similar crash message, you can simply install the <a href="apt://gnome-icon-theme-full">gnome-icon-theme-full</a> package which contains the gtk-close.png file.<br />
<br />
Source: https://bugs.launchpad.net/ubuntu/+source/indiv-screenlets/+bug/807129<br />
</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8338687188449962924.post-35925451772576135932012-10-11T08:10:00.000+02:002012-10-11T08:14:39.588+02:00Kernel mainline ppa downloader (aka kmpd / kmp-downloader)<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<b>About</b><br />
<br />
<a href="https://github.com/medigeek/kmp-downloader">kmp-downloader</a> is a simple program that allows you to install fresh new kernel versions from the ubuntu kernel mainline ppa.<br />
<br />
As it is, the mainline is not an actual "ppa" (personal package archive) and doesn't allow people to use apt-get to upgrade.<br />
<br />
<b>Requirements</b><br />
<br />
You may need python beautifoul soup (<a href="apt://python-bs4">python-bs4</a>) or execute:<br />
<pre>sudo apt-get install python-bs4</pre><br />
<b>How to use it</b><br />
<br />
You may download it using this quick link: <a href="https://github.com/medigeek/kmp-downloader/tarball/master">https://github.com/medigeek/kmp-downloader/tarball/master</a><br />
<br />
Save the archive and extract the files. Double click on kmpd.py (execute in terminal). If you're not sure about an option, press Enter and it will select the default answer.<br />
<br />
You may also execute this command (one-liner):<br />
<br />
<pre>cd /tmp; rm -rf medigeek-kmp*; wget --no-check-certificate https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz; tar xzf kmpd.tar.gz; cd medigeek-*; python kmpd.py</pre><br />
You will be asked a series of questions, where you either reply by "Y" or "N" (yes or no) or simply press enter and let the program figure out the default reply (mentioned in square [] brackets). It will then install the appropriate debian packages.<br />
<br />
Note: it will not fix the problems with other packages. I suggest running linux ppa packages without dkms package (without closed source packages like nvidia driver or virtualbox driver), in order to have a smooth, errorless installation.<br />
<br />
<b>Uninstall</b><br />
<br />
To uninstall the kernel packages, <i><span style="color: #990000;">remember to boot to a different kernel image first</span></i>. Then you can use your favourite package manager to uninstall the packages.<br />
<br />
If you prefer the command line, if you installed version 3.5.3, you can uninstall it using this command:<br />
<br />
<pre>sudo apt-get purge linux-image-3.5.3.* linux-image-extra-3.5.3.* linux-headers-3.5.3.*</pre><br />
<br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-33574119360890992772012-07-26T00:04:00.001+02:002012-07-26T00:18:36.959+02:00python: download url to file with progress bar<div dir="ltr" style="text-align: left;" trbidi="on">This is an alternative answer for a question on stackoverflow:<br />
<a href="http://stackoverflow.com/a/22776/286994">http://stackoverflow.com/a/22776/286994</a><br />
<br />
I modified the answer a bit, using .format instead of % string formatting and sys.stdout.write(), and posted it on gist github: <a href="https://gist.github.com/3176958">https://gist.github.com/3176958</a><br />
<br />
<pre>#!/usr/bin/python
# Improve http://stackoverflow.com/a/22776/286994
# (using .format() instead of % string formatting)
import sys
import urllib2
file_name = url.split('/')[-1]
u = urllib2.urlopen(url)
f = open(file_name, 'wb')
meta = u.info()
file_size = int(meta.getheaders("Content-Length")[0])
print("Downloading: {0} Bytes: {1}".format(url, file_size))
file_size_dl = 0
block_sz = 8192
while True:
buffer = u.read(block_sz)
if not buffer:
break
file_size_dl += len(buffer)
f.write(buffer)
p = float(file_size_dl) / file_size
status = r"{0} [{1:.2%}]".format(file_size_dl, p)
status = status + chr(8)*(len(status)+1)
sys.stdout.write(status)
f.close()
</pre><br />
I'm using this solution for the kernel mainline ppa downloader: <a href="https://github.com/medigeek/kmp-downloader">https://github.com/medigeek/kmp-downloader</a></div>Anonymousnoreply@blogger.com4tag:blogger.com,1999:blog-8338687188449962924.post-60432386515488434522012-04-02T12:40:00.002+02:002012-04-02T12:48:47.112+02:00Hiren's boot cd using unetbootin (missing boot options)<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-6mGF-D66fx4/T3mDy2QvVoI/AAAAAAAAACg/LZQscVUQdKM/s1600/hiren-syslinux-isolinux.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="258" src="http://3.bp.blogspot.com/-6mGF-D66fx4/T3mDy2QvVoI/AAAAAAAAACg/LZQscVUQdKM/s320/hiren-syslinux-isolinux.png" width="320" /></a></div>
<br />
<br />
If you try to use <a href="http://unetbootin.sourceforge.net/">unetbootin</a> to copy <a href="http://www.hirensbootcd.org/">Hiren's bootcd</a> on a usb flash drive and you boot using the flash disk, you'll notice that some options are missing, especially the "mini windows xp" boot option.<br />
<br />
To overcome this problem you have to copy the file "<span style="font-family: "Courier New",Courier,monospace;">HBCD/isolinux.cfg</span>" to the main folder and replace the file "<span style="font-family: "Courier New",Courier,monospace;">syslinux.cfg</span>"<br />
<br />
Then everything will work as expected.<br />
<br />
Bug report: https://bugs.launchpad.net/unetbootin/+bug/971403 </div>Unknownnoreply@blogger.com9tag:blogger.com,1999:blog-8338687188449962924.post-59905051918889605572012-03-05T18:32:00.001+01:002012-03-05T18:32:24.138+01:00Now you can read xps files in ubuntu!<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: large;">About</span> <br />
OpenXPS or XPS stands for XML Paper Specification. It is based on XML and it's a new electronic paper format originally developed by Microsoft and it serves as a PDF alternative. XPS files are usually created using "Microsoft XPS Document Writer" in Windows environments. It is now standardized as an open standard document format.<br /><br />Quoting <a href="https://en.wikipedia.org/wiki/Open_XML_Paper_Specification">Wikipedia</a>:<br /> An XPS file is in fact a Unicoded ZIP archive using the Open Packaging Conventions, containing the files which make up the document. These include an XML markup file for each page, text, embedded fonts, raster images, 2D vector graphics, as well as the digital rights management information. The contents of an XPS file can be examined simply by opening it in an application which supports ZIP files.<br /><br />
The OpenXPS document format specification supports features such as color gradients, transparencies, CMYK color spaces, printer calibration, multiple-ink systems and print schemas.<br />
<br />
Evince already supports xps, but it has to be compiled with that option enabled. In order for evince (the program that allows you to read pdf document files) to read xps files, <b>libgxps</b> is required first. <br />
<br />
<span style="font-size: large;">Status update</span><br />
..for libgxps in Debian (we'll see about Ubuntu afterwards):<br />
<br />
<ul style="text-align: left;">
<li>We are very close to a release in Debian.</li>
<li>We have a willing debian developer to sponsor it.</li>
<li>It's now maintained by debian-gnome team: <a href="http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/libgxps/" rel="nofollow">http://<wbr></wbr>anonscm.<wbr></wbr>debian.<wbr></wbr>org/viewvc/<wbr></wbr>pkg-gnome/<wbr></wbr>packages/<wbr></wbr>unstable/<wbr></wbr>libgxps/</a></li>
<li>Package release was blocked by a libarchive bug: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662603" rel="nofollow">http://<wbr></wbr>bugs.debian.<wbr></wbr>org/cgi-<wbr></wbr>bin/bugreport.<wbr></wbr>cgi?bug=<wbr></wbr>662603</a> (now fixed)</li>
</ul>
<br />
<br />
<span style="font-size: large;">There's a PPA!</span> <br />
After much frustration, I have created a PPA for evince with xps: <a href="https://launchpad.net/%7Emedigeek/+archive/evince-xps/" rel="nofollow">https:/<wbr></wbr>/launchpad.<wbr></wbr>net/~medigeek/<wbr></wbr>+archive/<wbr></wbr>evince-<wbr></wbr>xps/</a><br />
<br />
<i>Note</i>: The evince version in Ubuntu 11.10 oneiric ocelot doesn't work with xps (segmentation fault when opening the file) and there are several packages to be backported. I've decided not to backport it. It works in Ubuntu 12.04 precise pangolin.<br />
If you need to read an xps file, package libgxps-utils provides enough conversion tools, e.g. command:<br />
<pre>xpstopdf myfile.xps</pre>
<br /></div>Anonymousnoreply@blogger.com2tag:blogger.com,1999:blog-8338687188449962924.post-74857806725144206702012-03-02T14:17:00.001+01:002012-03-02T14:17:22.737+01:00Libreoffice recent documents - History manager extension<div dir="ltr" style="text-align: left;" trbidi="on">
This solution works for Windows operating systems as well as Linux distributions (It's actually system independent)<br />
If you need to clear or define how many items the recent documents list bears, you can install this easy-to-use extension/addon/plugin: <a href="http://extensions.services.openoffice.org/en/project/histmngr">History manager for Libreoffice/Openoffice</a><br />
<br />
- Click "Get it" and download the .oxt file.<br />
- Open Libreoffice writer, menu > Tools > Extension manager > press Add and open the .oxt file you've downloaded.<br />
- Close Libreoffice and re-open it. Go to menu Tools > Add-ons > History manager<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://i.imgur.com/Xz9X7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="183" src="http://i.imgur.com/Xz9X7.png" width="320" /></a></div>
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-1878973800757014652012-02-28T16:19:00.001+01:002012-02-28T16:24:18.718+01:00How to set default apps (aka how to use xdg-mime)<div dir="ltr" style="text-align: left;" trbidi="on">
How to set default apps in Chromium / Chrome / Firefox / Ubuntu Linux<br />
<br />
Situation: You hate the default app that opens when you double click a file or when you open it with chromium browser and you want to change it.<br />
<br />
a) In Unity (and probably Gnome 3 Shell), some default apps can be changed through gnome-control-center: System settings > System info > Default applications<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-Ib7aMY6HqX8/T0zrPuXijaI/AAAAAAAAACA/qWlqbS93Q34/s1600/Screenshot+at+2012-02-28+15:56:28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="205" src="http://4.bp.blogspot.com/-Ib7aMY6HqX8/T0zrPuXijaI/AAAAAAAAACA/qWlqbS93Q34/s320/Screenshot+at+2012-02-28+15:56:28.png" width="320" /></a></div>
<br />
<br />
<br />
b) You can also right-click on a file > select Properties > Open with. See what applications/programs are listed there. You can also add them and set them as default.<br />
<br />
<div class="separator" style="clear: both; display: block; margin-bottom: 250px; text-align: center;">
<a href="http://3.bp.blogspot.com/-D9RsBTMYFiw/T0zrdBeaR6I/AAAAAAAAACI/TEt8ASb17dg/s1600/Screenshot+at+2012-02-28+15:53:05.png" imageanchor="1" style="float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="175" src="http://3.bp.blogspot.com/-D9RsBTMYFiw/T0zrdBeaR6I/AAAAAAAAACI/TEt8ASb17dg/s200/Screenshot+at+2012-02-28+15:53:05.png" width="200" /></a><a href="http://4.bp.blogspot.com/-mFcWGfjTl3o/T0zrfkOkqSI/AAAAAAAAACQ/hzVCTVqVm3E/s1600/Screenshot+at+2012-02-28+15:53:26.png" imageanchor="1" style="float: left; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="http://4.bp.blogspot.com/-mFcWGfjTl3o/T0zrfkOkqSI/AAAAAAAAACQ/hzVCTVqVm3E/s200/Screenshot+at+2012-02-28+15:53:26.png" width="196" /></a></div>
<br />
c) If none of the above work, you can use xdg-utils (xdg-mime) to set a default application for a specific <a href="https://en.wikipedia.org/wiki/Internet_media_type">Mime Type</a><br />
<br />
First, you have to figure out what text string to use as a "mime type". An easy way to find it is to look into the default application's desktop file.<br />
<br />
<b>Example</b>: Chromium opens magnet links and bittorrent files with transmission-gtk by default. The .desktop files are usually in folder /usr/share/applications/. We use "cat" command to look into the file /usr/share/applications/transmission-gtk (a line that starts with "MimeType"):<br />
<br />
<pre>$ cat /usr/share/applications/transmission-gtk.desktop
[Desktop Entry]
Name=Transmission
[...]
Exec=transmission-gtk %U
Icon=transmission
Terminal=false
TryExec=transmission-gtk
Type=Application
<b>MimeType=<span style="color: #990000;">application/x-bittorrent</span>;<span style="color: #38761d;">x-scheme-handler/magnet</span>;</b>
Categories=Network;FileTransfer;P2P;GTK;
</pre>
<br />
Bingo! <span style="font-family: "Courier New",Courier,monospace;">x-scheme-handler/magnet</span> and <span style="font-family: "Courier New",Courier,monospace;">application/x-bittorrent</span> are the mime types we're after.<br />
<br />
How to use xdg-mime command? Simple: <span style="font-family: "Courier New",Courier,monospace;">xdg-mime default myapp.desktop mymimetype</span><br />
<br />
..where we substitute myapp.desktop and mymimetype with the values from above.<br />
<br />
Following the example above, we want magnet links and bittorrent files to open with Deluge (deluge-gtk) application. First you have to install the <span style="font-family: "Courier New",Courier,monospace;">deluge-gtk</span> package (otherwise the .desktop file won't exist). Then you have to execute:<br />
<br />
<pre>xdg-mime default deluge.desktop x-scheme-handler/magnet
xdg-mime default deluge.desktop application/x-bittorrent
grep -i deluge ~/.local/share/applications/*</pre>
<br />
The last command (<span style="font-family: "Courier New",Courier,monospace;">grep</span>) should return "<i>application/x-bittorrent=deluge.desktop</i>" and the other mime type for magnet. Otherwise, something went wrong (maybe the desktop file didn't exist?).<br />
<br />
And that's about it! Close and open chromium-browser again (or logout/login).<br />
<br />
For the sake of documentation, the files that have to do with mime types and default apps are:<br />
<br />
<pre>~/.local/share/applications/defaults.list
~/.local/share/applications/mimeapps.list
~/.local/share/applications/mimeinfo.cache
/usr/share/applications/mimeinfo.cache
/usr/share/applications/mimeapps.list
/usr/share/applications/defaults.list
</pre>
<br /></div>Anonymousnoreply@blogger.com3tag:blogger.com,1999:blog-8338687188449962924.post-33594241268632673102012-02-28T11:40:00.001+01:002012-02-28T11:40:06.123+01:00Error creating XPS file<div dir="ltr" style="text-align: left;" trbidi="on">
<span id="summary_alias_container"><span id="short_desc_nonedit_display"> </span></span><br />
<pre><span id="summary_alias_container"><span id="short_desc_nonedit_display">Error creating XPS file: Source _rels/.rels not found in archive</span></span></pre>
<span id="summary_alias_container"><span id="short_desc_nonedit_display">If you see the above error when trying to use xpstopng, xpstopdf, xpsto* tools provided by <a href="https://live.gnome.org/libgxps">libgxps</a>, then you probably suffer from this bug:</span></span><br />
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=670895"><span id="summary_alias_container"><span id="short_desc_nonedit_display">https://bugzilla.gnome.org/show_bug.cgi?id=670895</span></span></a><br />
<br />
<span id="summary_alias_container"><span id="short_desc_nonedit_display">In short, the problem lies with <a href="http://libarchive.github.com/">libarchive</a> versions prior to 3.x and zip files created by windows.</span></span><br />
<span id="summary_alias_container"><span id="short_desc_nonedit_display">Solution?</span></span><br />
<span id="summary_alias_container"><span id="short_desc_nonedit_display">a) Just update to 3.x or newer and you'll be good to go.</span></span><br />
<span id="summary_alias_container"><span id="short_desc_nonedit_display">b) As a workaround, you can recreate the zip file:</span></span><br />
<br />
<pre>unzip lorem-ipsum-and-image.xps -d temp/
cd temp/
zip ../newfile.xps *
cd ..
</pre>
<br />
<br />
You now have a working copy of your XPS document.</div>Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-8338687188449962924.post-78608791515056439522012-02-11T16:56:00.003+01:002012-02-11T16:56:48.303+01:00How to install 1385:5f01 Netgear WPN111 (ar5523 driver)<div dir="ltr" style="text-align: left;" trbidi="on">
<pre>Bus 002 Device 004: ID 1385:5f01 Netgear, Inc WPN111 (no firmware)</pre>
If you have the above device or a usb wifi dongle that requires <b>ar5523</b> driver, you can try the commands and packages I've documented in order to make it work.<br />
<br />
The weird thing with this device is that the firmware adds +1 to its ID. If you look at the code (<a href="http://svn.berlios.de/svnroot/repos/fullstory/ar5523/trunk/">SVN repository</a>), you'll see that it's registered as "1385:5f00".<br />
<br />
How to install the device driver<br />
1. Install this package, depending on the version of ubuntu you may have:<br />
<ul style="text-align: left;">
<li>12.04 (precise pangolin): <a href="https://launchpad.net/%7Emedigeek/+archive/experimental/+files/ar5523-source_0%7Eslh.12%7Eppap1_all.deb">https://launchpad.net/~medigeek/+archive/experimental/+files/ar5523-source_0%7Eslh.12%7Eppap1_all.deb</a></li>
<li>11.10 (oneiric ocelot): <a href="https://launchpad.net/%7Emedigeek/+archive/experimental/+files/ar5523-source_0%7Eslh.12%7Eppao1_all.deb">https://launchpad.net/~medigeek/+archive/experimental/+files/ar5523-source_0%7Eslh.12%7Eppao1_all.deb</a></li>
<li>11.04 (natty narwhal): <a href="https://launchpad.net/%7Emedigeek/+archive/experimental/+files/ar5523-source_0%7Eslh.12%7Eppan1_all.deb">https://launchpad.net/~medigeek/+archive/experimental/+files/ar5523-source_0%7Eslh.12%7Eppan1_all.deb</a></li>
</ul>
<br />
2. Execute the following commands, copy-paste them one by one:<br />
<pre>sudo apt-get update
sudo apt-get -f install
sudo apt-get upgrade
sudo apt-get install build-essential linux-headers-generic module-assistant
sudo m-a a-i ar5523-source
wget http://verein.lst.de/~hch/ar5523.tgz
tar xvf ar5523.tgz ar5523/uath-ar5523.bin --strip 1
sudo mv uath-ar5523.bin /lib/firmware
</pre>
<br />
3. Restart your computer and replug your usb dongle. Hopefully it works. :)<br />
<span style="font-size: x-small;"><br />
</span><br />
<span style="font-size: x-small;">Source(s):</span><br />
<ul style="text-align: left;">
<li><a href="http://linuxwireless.org/en/users/Drivers/ar5523"><span style="font-size: x-small;">http://linuxwireless.org/en/users/Drivers/ar5523</span></a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=1012812"><span style="font-size: x-small;">http://ubuntuforums.org/showthread.php?t=1012812</span></a></li>
<li><a href="http://forum.ubuntu-gr.org/viewtopic.php?p=229452#p229452"><span style="font-size: x-small;">http://forum.ubuntu-gr.org/viewtopic.php?p=229452#p229452</span></a></li>
<li><a href="http://forum.ubuntu-gr.org/viewtopic.php?p=229667#p229667"><span style="font-size: x-small;">http://forum.ubuntu-gr.org/viewtopic.php?p=229667#p229667</span></a></li>
</ul>
</div>Anonymousnoreply@blogger.com2tag:blogger.com,1999:blog-8338687188449962924.post-35894505547527005832012-01-27T13:46:00.001+01:002012-01-31T01:06:57.645+01:00Ubuntu Server Guide στα ελληνικά<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Μετά από παρότρυνση ενός μέλους του ubuntu-gr στην ταχυδρομική λίστα (<a href="http://ubuntu.5.n6.nabble.com/Ubuntu-Server-td4337433.html">ubuntu-gr mailing list</a>) και με λίγη βοήθεια από τον Σίμο, καταφέραμε να δημιουργήσουμε τον οδηγό "Ubuntu server guide" ως PDF στα ελληνικά.<br />
<br />
<div style="color: #cc0000;">
<b> Φυσικά, η μετάφραση ήδη υπάρχει ως HTML: <a href="http://help.ubuntu-gr.org/10.04/serverguide/el/">http://help.ubuntu-gr.org/10.04/serverguide/el/</a></b></div>
<br />
Το πρόβλημα φαίνεται να ήταν με τη δημιουργία PDF αρχείου. Εμφάνιζε "<span style="font-family: "Courier New",Courier,monospace;">####</span>" χαρακτήρες αντί τους ελληνικούς. <br />
<br />
Το serverguide διασπάστηκε πριν λίγο καιρό από το ubuntu-docs και δημιουργήθηκε καινούργιο project: <a href="https://launchpad.net/serverguide">https://launchpad.net/serverguide</a><br />
Aπό εκεί βρήκα τις πιο πρόσφατες μεταφράσεις:<br />
<br />
<a href="https://translations.launchpad.net/serverguide/">https://translations.launchpad.net/serverguide/</a><br />
<br />
<a href="https://translations.launchpad.net/serverguide/oneiric/+pots/serverguide/el/+details">https://translations.launchpad.net/serverguide/oneiric/+pots/serverguide/el/+details </a><br />
<br />
Τώρα, πώς μεταφράζουμε τον οδηγό και πώς δημιουργούμε το pdf; Εκτελούμε τις εξής εντολές:<br />
<br />
<pre>sudo apt-get install xsltproc bzr fop gnome-doc-utils docbook-xsl libservlet2.5-java
bzr branch lp:serverguide
cd serverguide
mkdir po
</pre>
<br />
Μετά πάτε στο <a href="https://translations.launchpad.net/serverguide/oneiric/+pots/serverguide/el/+export">https://translations.launchpad.net/serverguide/oneiric/+pots/serverguide/el/+export</a><br />
Ζητάτε το αρχείο ως .po (PO format). Θα σταλεί στο email.<br />
<br />
Μετονομάζετε το αρχείο ως <span style="font-family: "Courier New",Courier,monospace;">el.po</span><br />
Μεταφέρετε το el.po στο φάκελο <span style="font-family: "Courier New",Courier,monospace;">po/</span><br />
<br />
Patch-άρετε το bzr tree:<br />
<br />
<pre>wget http://people.ubuntu.com/~medigeek/serverguide_el/bzrpatch.diff -O bzrpatch.diff
bzr patch bzrpatch.diff
</pre>
<br />
Για να δημιουργήσετε html:<br />
<pre>make serverguide LN=el</pre>
<br />
Για να δημιουργήσετε pdf:<br />
<br />
<pre>make serverguide-pdf LN=el</pre>
<div style="color: #134f5c;">
<br /></div>
<div style="color: #cc0000;">
<b> Το pdf στα ελληνικά με Ubuntu fonts: <a href="http://people.ubuntu.com/%7Emedigeek/serverguide_el/pdf/serverguide.pdf">http://people.ubuntu.com/~medigeek/serverguide_el/pdf/serverguide.pdf</a></b></div>
<br />
Το πρόβλημα με τα fonts αναφέρθηκε ως σφάλμα:<br />
<br />
<a href="https://bugs.launchpad.net/serverguide/+bug/922251">https://bugs.launchpad.net/serverguide/+bug/922251</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-60315872399383986192010-07-07T16:13:00.000+02:002010-07-07T16:13:24.253+02:00Windows says "network cable unplugged", but works in ubuntu..and I'm back on the Net! I'm going to travel to Guatemala soon, first time Atlantic-crosser and eager to do so! I won't be able to write for about 2 months, unless I find a good safe spot to write.<br />
Now to the main course. This was one of the worst problems I have ever faced in my life: "Network cable unplugged" but isn't. <b style="color: #38761d;">If you want the solution, scroll down to the last paragraph.</b><br />
<br />
I was cleaning up the appartment yesterday, and the PC was switched off during the day. I have a dual boot set up with <a href="http://www.ubuntu.com/">Ubuntu</a> as the main operating system. "It's been ages I didn't boot to Windows", I said to myself -- so the first thing I did was to boot up to Windows and try to check for some updates.<br />
Waiting for Windows 7 to boot up, I went out, bought some beverages from a store nearby and came back -- and no, it's not *that* slow, but why not take advantage of the waiting time? Anyway, when I came back I saw the tray network icon with a yellow triangle over it. "Hum, now what?". The error was: "<b>Network cable unplugged</b>". But the cable was plugged!<br />
These were the steps I took and none of them were faulty or broken: Router was working fine, all the LED lights showed that Internet was connected. Also the LED light for LAN network was green for the computer. I though of booting to Ubuntu.<br />
In Ubuntu, everything worked as expected. "Maybe it was a one-time error?" I mumbled while rebooting back to Windows. Nope -- the error "Network cable unplugged" remained.<br />
I used another cable, didn't work again. Another one, nada. "It can't be!!", I said, "Εvery cable is problematic?!". I booted to Ubuntu looking/googling for answers. After a couple of hours "researching" to figure out a solution, I decided to drop it. Since Ubuntu worked, why would I care?<br />
But it was eating me up inside. The day after (today) I tried another google search, pissed off about the whole thing. And I found <a href="http://en.kioskea.net/forum/affich-100254-network-cable-unplugged-but-isn-t#6">the answer</a>. It wasn't the cable, nor the router, nor the driver, <i>it was Windows, simply and stereotypically</i>.<br />
<br />
<br />
<blockquote>1.) Shut dowm your PC. <br />
2.) Unplug the power cord. <br />
3.) If you have a <a href="http://en.kioskea.net/contents/pc/ordinateur-portable.php3">laptop</a>, remove the battery as well. <br />
4.) Walk away from the problem for at least 30 minutes. <br />
5.) When you return, reconnect battery and power cord. <br />
5.) Start as usual. <br />
6.) If this solves the problem, take 20 minutes and post this to all of those message boards that you didn't find the solution to. </blockquote><br />
<div style="color: #38761d;"><b>Here's what I did:</b></div><div style="color: #38761d;"> <b><br />
</b></div><div style="color: #38761d;"><b>- Shut down my PC.</b></div><div style="color: #38761d;"><b>- Switched off the router.</b></div><div style="color: #38761d;"><b>- Unplugged the ethernet cable. </b></div><div style="color: #38761d;"><b>- Switched off the extension cord. Unplugged the power cord.</b></div><div style="color: #38761d;"><b>- While it was unplugged, I pressed the power button once.</b></div><div style="color: #38761d;"><b>- I went to my neighbour and had a lovely 20-minute chat.</b></div><div style="color: #38761d;"><b>- Came back, connected the power cord and powered it on.</b></div><div style="color: #38761d;"><b>- Switched on the router.</b></div><div style="color: #38761d;"><b>- Plugged the ethernet cable.</b></div><br />
That's it. As simple as it may be, it might save you from buying a new network ethernet card. :)Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-8338687188449962924.post-36276250857579860772009-10-04T09:53:00.001+02:002009-10-04T09:53:50.087+02:00Indefinitely offlineIn case anyone is wondering what happened to me, I have some real life issues to sort out. I will have some basic internet access and email, but nothing fancy.<br />
Hopefully I will be back online within a year or so. Until then! :-)<br />
If you liked any of my posts or projects or backports so far, the donation link on the right-side menu is a good way to express your gratitude. Cheers!Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-8338687188449962924.post-24900014283259303282009-09-01T08:00:00.020+02:002009-09-01T08:00:00.687+02:00How to enable man pages search in Google I was messing around with Google this morning, when I realised that you can actually "subscribe" yourself to a custom search for linux manpages. You have to be logged in of course. :-)<br />
<br />
I say "subscribed" in quotes, because it's not really a subscription, but rather a pointless (my opinion) feature. The only good thing about it is the icon that you notice directly what you want to search, giving a simple explanation of what the command does - in other words, the title of the manpage.<br />
<br />
The steps are quite easy! You go to <a href="http://www.google.com/search?q=man+nmap">http://www.google.com/search?q=man+nmap</a> and press the "Sign in" link on the top right corner. You log in with your Google account, then you are redirected back to the Google search page.<br />
<br />
<a href="http://4.bp.blogspot.com/_hNM7d1gNYCA/SpuzbvrUngI/AAAAAAAAA04/BjJp2fTQuRA/s1600-h/man+nmap.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://4.bp.blogspot.com/_hNM7d1gNYCA/SpuzbvrUngI/AAAAAAAAA04/BjJp2fTQuRA/s200/man+nmap.png" /></a> Afterwards, you go to Settings ⟶ Search settings.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_hNM7d1gNYCA/Spuzd2-ISQI/AAAAAAAAA1A/1jhro4ii74A/s1600-h/man+google+subscribe.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://1.bp.blogspot.com/_hNM7d1gNYCA/Spuzd2-ISQI/AAAAAAAAA1A/1jhro4ii74A/s200/man+google+subscribe.png" /></a></div><a href="http://4.bp.blogspot.com/_hNM7d1gNYCA/Spuze8sPAFI/AAAAAAAAA1I/utWxGxEwBWI/s1600-h/man+nmap+2.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://4.bp.blogspot.com/_hNM7d1gNYCA/Spuze8sPAFI/AAAAAAAAA1I/utWxGxEwBWI/s200/man+nmap+2.png" /></a> Next, scroll down to "Subscribed Links"<b><span style="font-family: arial,sans-serif;"> </span></b>and click on the Subscribe button next to the "Unix Manpages". Click "Save preferences" and you're redirected back to the "man nmap" search. The search result is listed third here, so the result might be different than yours.<br />
<br />
<br />
<br />
Finally, let me justify why I consider this pointless. If you use Firefox, you can easily integrate a quick search keyword with your favourite operating system's manpages website. Not all of them have this feature/website, but Debian and <a href="http://manpages.ubuntu.com/">Ubuntu</a> have it!<br />
<a href="http://1.bp.blogspot.com/_hNM7d1gNYCA/Spu5cp3NHZI/AAAAAAAAA1Q/k_AjJGeuNEs/s1600-h/add+a+keyword+search+firefox.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_hNM7d1gNYCA/Spu5cp3NHZI/AAAAAAAAA1Q/k_AjJGeuNEs/s200/add+a+keyword+search+firefox.png" /></a> - Head on to <a href="http://manpages.debian.net/">http://manpages.debian.net</a>.<br />
- Select Man -> All sections -> Debian Sid.<br />
- <span style="color: #990000;">Right</span>-click in the <span style="background-color: white; color: #990000;">white text box</span> next to "<b><i>Man Page or Keyword Search</i></b>".<br />
- Select "Add a keyword for this search".<br />
<a href="http://2.bp.blogspot.com/_hNM7d1gNYCA/Spu5d3FZxGI/AAAAAAAAA1Y/d0fdXcOS6tU/s1600-h/add+a+keyword+search+firefox+2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_hNM7d1gNYCA/Spu5d3FZxGI/AAAAAAAAA1Y/d0fdXcOS6tU/s200/add+a+keyword+search+firefox+2.png" /></a> - Name: Manpages, Keyword: man<br />
- Click Save.<br />
- Head to your location bar text box and type in "man nmap".<br />
<br />
Voila! Have fun keyword-ing!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-88858354739436305932009-08-24T12:57:00.000+02:002009-08-24T12:57:01.431+02:00Blogger and Firefox - How to save your password<a href="http://2.bp.blogspot.com/_hNM7d1gNYCA/SpJxuMvRtWI/AAAAAAAAA0w/JYNh4Vk3uh0/s1600-h/blogger_key_password.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://2.bp.blogspot.com/_hNM7d1gNYCA/SpJxuMvRtWI/AAAAAAAAA0w/JYNh4Vk3uh0/s200/blogger_key_password.png" /></a> Some websites don't allow you to save your password in Firefox built-in password manager, for example Yahoo and Blogger. Really irritating!<br />
<br />
One beautiful day (my irony tends to build up under 35 degrees Celsius), I noticed that the Blogger page actually redirects you to a Google account sign in. Therefore, I've come up with this little link that will allow you to save your password and take you back to Blogger:<br />
<a href="http://draft.blogger.com/goog_1251107997327"><br />
</a><br />
<a href="https://www.google.com/accounts/ServiceLogin?service=blogger&continue=http://www.blogger.com/">https://www.google.com/accounts/ServiceLogin?service=blogger&continue=http://www.blogger.com/</a><br />
<br />
Someone might make a good use of it. I also hope someone will find a way or fix the yahoo login page. Enjoy!<br />
<br />
P.S. Make sure you install <a href="https://addons.mozilla.org/en-US/firefox/addon/4429">Secure Login add-on</a> - it's a really handy application that allows one-click installs!Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-8338687188449962924.post-86510282535381806022009-08-20T21:32:00.002+02:002009-08-20T21:41:08.769+02:00Swine/Avian flu comeback?We've seen the avian/bird flu to "fly away" from the media attention, as soon as a new wave of infection, called swine flu, popped out. There exist 3 main "types" (genus / species) of influenza virus - A, B and C. Their "subtypes" (serotypes / strains) are really easy to merge with each other and create a whole new subtype, which isn't covered by a vaccine. If you still didn't understand it, imagine crossing a black cow with a white cow and ending up getting a black cow with white spots (or vise versa) - that's a rather simplistic comparison!<br />
<br />
Now, CDC and the pharmaceutical companies (and subsequently the doctors that cooperate with them) warn about the widespread influenza virus infection. They expect the same or similar strains that have appeared so far. To some of you, this might look like "a big game" played by medicament-related companies. I have no idea what's going in the background and in the behind-closed-doors meetings, but one thing is sure: You have to be prepared.<br />
<br />
<i><span style="font-size: x-small;">Note for employers: this really concerns you, if you don't want to have insufficient personnel unexpectedly!</span></i> <br />
CDC has a well-written article about how should businesses and employers be prepared for the winter:<a href="http://draft.blogger.com/goog_1250705176619"></a> <a href="http://www.flu.gov/plan/workplaceplanning/guidance.html">http://www.flu.gov/plan/workplaceplanning/guidance.html</a><br />
<br />
<i><span style="font-size: x-small;"></span></i><br />
<br />
<br />
It may statistically be a pandemic crisis, but if people and public areas are well-prepared there's nothing to be afraid of. Quite honestly, I doubt anyone of you reading this post will face any serious symptoms. Surely pre-schools, schools and libraries can provide better hygiene control, teaching children how to wash their hands properly is a great way to start. Secondly, liquid hand sanitizers should be available in some rooms. Moreover, it should be possible to "recycle" the air in the premises, providing a fresh set every now and then; for instance, leaving a window open for a couple of minutes while on break.<br />
<br />
<a href="http://img19.imageshack.us/img19/2116/pic290343001182303604.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="131" src="http://img19.imageshack.us/img19/2116/pic290343001182303604.jpg" width="200" /></a><br />
Sneezing, coughing and even talking might expel liquid (droplets) along with some particles (droplets nuclei). One of the best ways to trigger attention while warning other people is to show why sneezing and coughing are bad, and some pictures of the actual moment are a good way to start:<br />
- <a href="http://pileofphotos.com/view/188/People-sneezing">http://pileofphotos.com/view/188/People-sneezing</a><br />
- <a href="http://www.immediart.com/catalog/popup_image.php?pID=434">http://www.immediart.com/catalog/popup_image.php?pID=434</a><br />
<br />
<br />
<br />
It's common sense that some people will get sick during the winter. That doesn't mean that they all will catch the bird or the swine flu. Babies should of course be taken care of and checked by a paediatrician, whereas adults and teenagers should also take precautional measures.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://img26.imageshack.us/img26/333/ralfwigum.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="83" src="http://img26.imageshack.us/img26/333/ralfwigum.jpg" width="96" /></a></div><br />
<a href="http://img12.imageshack.us/img12/6931/article118064504e6243c0.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="69" src="http://img12.imageshack.us/img12/6931/article118064504e6243c0.jpg" width="96" /></a>The easiest pathways for a micro-organism to enter our body is through the mouth, the eyes or the nose. The droplets from sneezing and coughing are really contagious. Therefore, "nose-picking", "eye-rubbing", "thumb-sucking" etc. should be avoided at all times; or at least until you get your hands cleaned! :-)<br />
<br />
<br />
Also note that one of the first symptoms is almost always a sudden fever, followed by a runny nose/sore throat/higher fever after 8-12 hours; they might not all be expressed and might be in a different sequence!<br />
<br />
There is one thing though in this whole bird/swine flu story that drives me nuts. The western capitalistic countries seem to be in a non-infective bubble. Many people in the least developed or developing countries don't have the adequate medical equipment nor the vaccines to combat and prevent the virus from spreading. Because of this, people might die, and only a few of us care. The media simply draw attention to what happens in the "western civilization", avoiding to show deaths that happen in other places of the world, where - under famine and food shortage - pathogenic micro-organisms spread wildly and only some of us provide help.<br />
<br />
If the flu was just a marketing trick to cause <a href="http://en.wikipedia.org/wiki/Mass_hysteria">mass hysteria</a> and sell out their vaccine merchandise, I have a brutal comment for such companies, but then again I prefer not to express my opinion.<br />
<br />
<br />
Finally, I recommend taking the "Flu I.Q." test, it's a fun way of being informed about general information and facts regarding the influenza virus:<br />
<br />
<div style="text-align: center;"><object align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" height="500" id="cdc_widget_fluIQ09" width="300"><param name='allowScriptAccess' value='sameDomain' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.cdc.gov/widgets/FluIQ/fluiq.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.cdc.gov/widgets/FluIQ/fluiq.swf' quality='high' bgcolor='#ffffff' width='300' height='500' name='cdc_widget_fluIQ09' align='middle' allowscriptaccess='sameDomain' allowfullscreen='false' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' /></embed></object></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-35485096107515598812009-08-19T19:42:00.007+02:002009-08-28T12:05:52.843+02:00Workaround: brasero - slow speeds while burningBrasero is a cd/dvd writing application for the Gnome desktop manager. Its advantages are ease of use, a lot of burning options and support for plugins!<br />
<br />
Currently in Ubuntu 9.04, if you try to burn a disc, you might notice that:<br />
<br />
<ul><li>Everything goes well until about 50%.</li>
<li>Afterwards, it continues, but the report does not show anything (empty progress bar).</li>
<li>The speed is less than 2x, from 600 KiB/s to 800KiB/s, but the burning keeps going.</li>
<li>Somewhere in the end, brasero shows progress again, but starts from 0%!!</li>
<li>Burn was successful.</li>
</ul>Note: You should consider that this might not always be <span style="color: #e06666; font-size: large;">your</span> issue with slow speeds. For example, maybe your drive is not working well, or maybe your power supply unit (PSU) does not have enough "W" to supply all your hardware with adequate power.<br />
<br />
The bug information is extensively reported here:<br />
<a href="http://bugzilla.gnome.org/show_bug.cgi?id=582261">http://bugzilla.gnome.org/show_bug.cgi?id=582261</a><br />
<br />
One of the developers detected and corrected the problem, which seems that it was using the wrong plugin ("wodim" instead of "growisofs"). Since Ubuntu's binary package brasero has wodim as a dependency, it might cause problems if you try to remove wodim.<br />
<br />
There is a workaround though that seems to do the trick:<br />
<br />
Don't forget to install the package for growisofs: <a href="apt://dvd+rw-tools">dvd+rw-tools</a><br />
<br />
1. Tell brasero to use growisof:<br />
- Press Alt+F2, and execute this command:<br />
<pre>gconf-editor
</pre><br />
- Head to apps ⟶ brasero ⟶ config ⟶ priority.<br />
- Change the number "0" next to <b style="color: #cc0000;">wodim-burn</b> to "<b style="color: #38761d;">-1</b>" in order to disable it.<br />
- Change the number "0" next to <b style="color: #cc0000;">growisofs-burn</b> to "<b style="color: #38761d;">1</b>" in order to set a higher priority.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_hNM7d1gNYCA/Sow6PkmVsOI/AAAAAAAAA0I/-qmwXI_VHWs/s1600-h/Screenshot-Configuration+Editor+-+priority.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_hNM7d1gNYCA/Sow6PkmVsOI/AAAAAAAAA0I/-qmwXI_VHWs/s320/Screenshot-Configuration+Editor+-+priority.png" /></a></div><br />
<br />
2. Instead of using "Max" in speed burning options, set it manually at a high speed - e.g. choose 16x for a DVD or 52x for a CD.<br />
<br />
That's it!<br />
<br />
<br />
Credits go to:<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/370999/comments/15">https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/370999/comments/15</a><br />
<a href="https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/370999/comments/16">https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/370999/comments/16</a>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-8338687188449962924.post-54855683674878407212009-07-24T09:37:00.000+02:002009-07-24T09:37:05.860+02:00People are practically showing off where they got their songs on last.fmI just stumbled upon the famous http://last.fm/ website - really great website that tracks down your audio preferences. Useful to show off your stats and music to your friends.<br />
It's unfortunate that many people practically show off the origin of their (illegally downloaded?) songs, take a look: <a href="http://www.last.fm/search?m=all&q=www.">http://www.last.fm/search?m=all&q=www.</a><br />
<br />
Makes you think again before posting your audio along with your personal information... ;)Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8338687188449962924.post-31162455650043831432009-07-10T11:15:00.000+02:002009-07-10T11:15:14.430+02:00Nikola Tesla: the forgotten wizardTo Nikola Tesla, a great Serbian-American who has given the basis of most electrical/radiological machines we use daily in our era. He provided the basis for an uplift of the way we live and work. Thank you, Nikola and happy anniversary.<br />
<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/gt8Y93k0pB0&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/gt8Y93k0pB0&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8338687188449962924.post-34540539623425428262009-04-24T10:19:00.007+02:002009-05-08T21:00:39.926+02:00belimantil.info hackedAbout 2 days ago, I saw this on <a href="http://www.belimantil.info">belimantil.info</a>:<br /><br /><a target='_blank' href='http://img134.imageshack.us/my.php?image=belimantilinfohacked.png'><img src='http://img134.imageshack.us/img134/2227/belimantilinfohacked.th.png' border='0'/></a><br /><a target='_blank' href='http://img218.imageshack.us/my.php?image=belimantilhacked2.png'><img src='http://img218.imageshack.us/img218/6626/belimantilhacked2.th.png' border='0'/></a><br /><br />Astounded my first thought was "What the hell?!". I was looking for a revision text one of my colleagues wrote, and fortunately it was available on <a href="http://sites.google.com/site/medskripte/">another site</a>. <a href="http://www.belimantil.info/medforum2">medforum2</a> (a forum created by medical students for general talk, exams and medicine-related discussion) was hosted on that domain, I thought of visiting and saw one of my colleagues complaining about the same thing.<br /><br />Today I re-visited the site, only to find that it wasn't working! Naturally, my techie side kicked in several minutes afterwards, and I started looking into whether it was their fault (probably) or the web administration (why not?). So the <a href="http://whois.domaintools.com/belimantil.info">whois command</a> revealed the nameserver, I decided to visit <a href="http://oklopsrbija.com">oklopsrbija.com</a>, their hosting provider.<br /><br /><pre>Poštovani klijenti,<br /><br /> Prekjuce je izvrsen napad velike grupe palestinskih hakera koji su "u borbi protiv Izraelaca" uspeli da zaobidju sve zastite na serveru i ishakuju sve naloge. Juce je ceo dan bila rekonstrukcija fajlova i pojacanje zastite.<br /> Nocas je uglavnom proradilo sve. Otezan je jos pristup cPanelu. Klijenti kojima je hakovanjem ostecena indeks stranica a nemaju backup tog fajla, neka ostave ticket sa subjectiom: "backup index fajla" i uradice se parcijalni restore podataka za te klijente, pocevsi od petka ujutru, i samo za klijente koji zatraze restore indeks fajla. U nemogucnosti smo da uradimo full restore svih podataka posto je vecina sajtova, pogotovu foruma, vec online i pregazili bi tim full restore njihove sveze podatke.Probijanje zastite nije nista novo na internetu, postala je nazalost svakodnevnica, igrom slucaja smo prekjuce odabrani mi.<br /> Ako hakeri mogu da provale u NASA ili Pentagon servere, sto ne bi i kod nas. I nismo prvi a na zalost ni poslednji domaci provajder koji je imao komplet ishakovan server.Takodje vas molimo da pratite dalja obavestenja logovanjem na vas oklopov nalog i pregledanje sekcije "Obavestenja".<br />S poštovanjem,<br />Vojin Petrović<br />direktor Oklop Srbija</pre><br />In short, they are claiming that "Security breaking is nothing new on the internet, it has become an everyday event unfortunately, by chance we were chosen the day before yesterday" and "If hackers can break into NASA or Pentagon servers, why wouldn't they break into ours?". If understood them correctly, they're claiming it's not their fault they're not secure. <span style="font-weight:bold;">Not even</span> a single "<span style="font-style:italic;">We are sorry for not being careful</span>" or "<span style="font-style:italic;">We'll take extra security steps to provide you with a safer hosting in the future</span>" sentence. What an arrogance! I guess they should scratch the word on their website title, "Pouzdan" (=Reliable).<br /><br />P.S. I hope this doesn't happen to me :)Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-38790668170924039762009-04-16T17:31:00.000+02:002009-04-16T17:31:24.073+02:00Unable to connect server irc.ubuntu.com port 6667Yesterday I received a message like one of the following:<br />
<blockquote>Unable to connect server irc.ubuntu.com port 6667 [Name or service not known]<br />
Could not resolve irc.ubuntu.com/6667: Name or service not known<br />
Connection to 192.168.1.1#53(192.168.1.1) for irc.ubuntu.com failed: connection refused.<br />
</blockquote><br />
If the same has happened to you, I suggest using <a href="irc://chat.freenode.net/ubuntu">chat.freenode.net</a> for a better IRC experience. :)<br />
<br />
P.S. I know, I know - long time no blog.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-47758922794835755352009-02-22T18:17:00.002+01:002009-02-22T18:27:48.329+01:00Millions for beating / Not a penny for students - Reason? This is Serbia.<a href="http://img5.imageshack.us/my.php?image=y195847935796294.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" target="_blank"><img alt="Free Image Hosting at www.ImageShack.us" src="http://img5.imageshack.us/img5/849/y195847935796294.th.jpg" style="cursor: move;" border="0" /></a> The Serbian government <a href="http://www.b92.net/info/vesti/index.php?yyyy=2009&mm=02&dd=19&nav_id=345767">decided to pay the amount of a million dollars</a> ($ 1,000,000) for a "student" (basketball player more likely), in exchange for his freedom. Namely, Miladin Kovačević is charged severely for injuring US colleague, Bryan Steinhauer. The newpaper that reported this, Borba, was charged for revealing "Governmental secrets" - the news was <a href="http://www.b92.net/info/vesti/index.php?yyyy=2009&mm=02&dd=21&nav_id=346246">investigated and proven correct</a>.<br /><br />Meanwhile, students in Serbia are outraged, because there was a change in the law for students of higher education<br />Here's the pdf announcement for the <a href="http://www.med.bg.ac.rs/">Medical Faculty of the University of Belgrade</a>:<br /><a class="linkification-ext" href="http://www.scribd.com/doc/12733383/Uslovi-Za-Upis-2009-2010-medicinski-fakulter-u-beogradu-izmena-statuta" title="Linkification: http://www.scribd.com/doc/12733383/Uslovi-Za-Upis-2009-2010-medicinski-fakulter-u-beogradu-izmena-statuta">http://www.scribd.com/doc/12733383/Uslovi-Za-Upis-2009-2010-medicinski-fakulter-u-beogradu-izmena-statuta</a><br /><a class="linkification-ext" href="http://www.med.bg.ac.rs/?init=news&nid=2963&sid=5" title="Linkification: http://www.med.bg.ac.rs/?init=news&nid=2963&sid=5">http://www.med.bg.ac.rs/?init=news&nid=2963&sid=5</a><br /><br /><br /><a href="http://1.bp.blogspot.com/_hNM7d1gNYCA/SaGInCTBh-I/AAAAAAAAAzE/9G8HcBuHfYc/s1600-h/dddmp200822i1.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img src="http://1.bp.blogspot.com/_hNM7d1gNYCA/SaGInCTBh-I/AAAAAAAAAzE/9G8HcBuHfYc/s200/dddmp200822i1.gif" style="cursor: move;" border="0" /></a> Until now, students in Serbia were allowed to continue being on "budget" status, meaning they could study free of charge, even if they had repeated an academic year. Things changed and after this announcement, whether it is the first time you repeated the academic year or whether it's your second or third, it doesn't matter - the minute you repeat the year, you are automatically sent to , without the possibility to go back to on budget free studying.<br /><br /> Such acts as the one above and the event with Miladin Kovačević, really raise eyebrows, not only among students, but the whole working community of Serbia is opposed to this.<br /> The next step the Government of Serbia is about to take, is to block ALL students and keep the ones that are regarded as the "best" - *ahem* no comment. Here's a news article about it:<br /><a class="linkification-ext" href="http://www.24sata.rs/vesti.php?id=45826" title="Linkification: http://www.24sata.rs/vesti.php?id=45826">http://www.24sata.rs/vesti.php?id=45826</a><br /><br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://www.hltmag.co.uk/sep06/joke_image02.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img src="http://www.hltmag.co.uk/sep06/joke_image02.gif" style="cursor: move;" border="0" height="148" width="200" /></a></div> Apparently, giving out millions for unknown (and classified as "top secret"!) purposes is more important than funding students (not basketball players), willing to learn and work.<br /><br /> And this is Serbia - a country where <span style="font-weight: bold;">politicians</span> promise and spend everything on unnecessary trips, on expensive cars and 101 suits; where <span style="font-weight: bold;">politicians</span> act like children in the Serbian Parliament, instead of teaming up together to resolve an issue; where politicians beat each other up; where <span style="font-weight: bold;">politicians</span> accuse <span style="font-weight: bold;">fellow politicians</span> for syphilis (or whatever it was), and the latter go and spend government budget on (many) unnecessary blood check-ups, just to prove them wrong; finally, this is a country that pays 1 million dollars and marks the situation as <span style="font-weight: bold;">highly classified</span> to free a guy that has beaten up one of his colleagues.<br /><ol></ol>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8338687188449962924.post-22841310052846340682009-02-18T08:00:00.004+01:002012-02-29T02:31:49.388+01:00Independent Kosovo - the "thank you" of several world countries to Serbia<div dir="ltr" style="text-align: left;" trbidi="on">
Regard this as a "my opinion" post before spraying ethnicism over it.<br />
<a href="http://en.wikipedia.org/wiki/File:Location_of_Serbia_in_Europe,_Kosovo_included.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="150" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Location_of_Serbia_in_Europe%2C_Kosovo_included.png/800px-Location_of_Serbia_in_Europe%2C_Kosovo_included.png" style="cursor: move;" width="200" /></a>The day of independence of Kosovo and Metohija (17th February) is a day that every Serbian will remember, definitely more if they have lived the terrifying moments when the sirens go wild, when everyone tries to save - or better yet grab - whatever possible while the NATO began dreadful bombing over cities, military and general infrastructure buildings as well as civilians.<br />
<br />
I will not argue the fact that both sides suffered, but in the end, no-one respected to see both sides, just what the CNN and all other western propaganda showed.<br />
<br />
I would like to list several good links to show you my point of view:<br />
1) What Serbia did for the world? I'll take you back several decades - Heroic actions of the Serbian people during World War II:<br />
<a class="linkification-ext" href="http://wayback.archive.org/web/*/www.byzantinesacredart.com/blog/2006/11/heroic-serbia-wwii.html" title="Linkification: http://web.archive.org/www.byzantinesacredart.com/blog/2006/11/heroic-serbia-wwii.html">http://wayback.archive.org/web/*/www.byzantinesacredart.com/blog/2006/11/heroic-serbia-wwii.html</a><br />
<br />
2) What happened after WWII, how it reached to demographic changes which favoured Albanian ethnics and imperialistic ideas of a "Great Albania"?<br />
A Czech TV documentary answers most of these questions (mostly one-sided stories, but do see the video):<br />
- <a class="linkification-ext" href="http://www.apatin-city.com/4um/index.php?topic=4964.0" title="Linkification: http://www.apatin-city.com/4um/index.php?topic=4964.0">http://www.apatin-city.com/4um/index.php?topic=4964.0</a><br />
- <a class="linkification-ext" href="http://serbblog.blogspot.com/2008/06/brave-czechs-brave-film-stolen-kosovo.html" title="Linkification: http://serbblog.blogspot.com/2008/06/brave-czechs-brave-film-stolen-kosovo.html">http://serbblog.blogspot.com/2008/06/brave-czechs-brave-film-stolen-kosovo.html</a><br />
Note: They're not my uploads. Look for "<a href="http://www.google.com/search?q=Stolen+Kosovo+video+english">Stolen Kosovo video english</a>" in Google if this isn't available.<br />
<br />
Amongst others, you will see:<br />
- French Foreign minister Bernard Kushner, Hashim Tachi, NATO officers and the Kosovo Liberation Army (KLA).<br />
- Madeleine Albright exchanging how-do-you-do's.<br />
- Havier Solana disturbingly nodding to a woman that was forced away from her home.<br />
- Atrocities.<br />
<br />
<a class="linkification-ext" href="http://wayback.archive.org/web/*/www.byzantinesacredart.com/blog/2007/03/nato-aggression-anniversary.html" title="Linkification: http://web.archive.org/www.byzantinesacredart.com/blog/2007/03/nato-aggression-anniversary.html">http://wayback.archive.org/web/*/www.byzantinesacredart.com/blog/2007/03/nato-aggression-anniversary.html</a><br />
<br />
3) The thank you for Serbia's heroism during WWII? NATO bombing and proclaiming Serbians as vicious murderers.<br />
<br />
Kofi Annan endorsed NATO bombing in former Yugoslavia:<br />
<a class="linkification-ext" href="http://link.history.com/services/link/bcpid1681730307/bclid1729287264/bctid1601261895" title="Linkification: http://link.history.com/services/link/bcpid1681730307/bclid1729287264/bctid1601261895">http://link.history.com/services/link/bcpid1681730307/bclid1729287264/bctid1601261895</a><br />
<a class="linkification-ext" href="http://www.pbs.org/wnet/un/timeline/timeline5b.html" title="Linkification: http://www.pbs.org/wnet/un/timeline/timeline5b.html">http://www.pbs.org/wnet/un/timeline/timeline5b.html</a><br />
<a class="linkification-ext" href="http://news.bbc.co.uk/2/hi/special_report/1999/03/99/kosovo_strikes/318104.stm" title="Linkification: http://news.bbc.co.uk/2/hi/special_report/1999/03/99/kosovo_strikes/318104.stm">http://news.bbc.co.uk/2/hi/special_report/1999/03/99/kosovo_strikes/318104.stm</a><br />
<br />
<blockquote>
It is indeed tragic that diplomacy has failed, but <b>there are times when the use of force may be legitimate in the pursuit of peace</b>," Annan notes, but emphasizes the Security Council should have been consulted.</blockquote>
(For the "diplomacy has failed" argument, see "More links" below)<br />
<br />
4) NATO's "oops" bombings, accidentally targetting not only foreign embassies, but civilians as well: <a class="linkification-ext" href="http://news.bbc.co.uk/2/hi/europe/340966.stm" title="Linkification: http://news.bbc.co.uk/2/hi/europe/340966.stm">http://news.bbc.co.uk/2/hi/europe/340966.stm</a><br />
See (2) if you think you can handle watching the holocausts (the bus over the bridge, the village).<br />
<br />
An article quoting an eye-witness at the bazaar market in Niš NATO bombed:<br />
<a class="linkification-ext" href="http://www.haroldpinter.org/home/florence.html" title="Linkification: http://web.archive.org/www.haroldpinter.org/home/florence.html">http://www.haroldpinter.org/home/florence.html</a><br />
<br />
5) The final outcome?<br />
- Billions of dollars in damages.<br />
- Cultural damages, including churches:<br />
<a class="linkification-ext" href="http://www.international.icomos.org/risk/world_report/2000/yugos_2000.htm" title="Linkification: http://www.international.icomos.org/risk/world_report/2000/yugos_2000.htm">http://www.international.icomos.org/risk/world_report/2000/yugos_2000.htm</a><br />
<a class="linkification-ext" href="http://news.bbc.co.uk/2/hi/europe/7249034.stm" title="Linkification: http://news.bbc.co.uk/2/hi/europe/7249034.stm">http://news.bbc.co.uk/2/hi/europe/7249034.stm</a><br />
- Blood-lust and monuments of historic importance destroyed:<br />
<a class="linkification-ext" href="http://wayback.archive.org/web/*/www.nato-tribunal.de/varvarin/photo_documentation.htm" title="Linkification: http://web.archive.org/www.nato-tribunal.de/varvarin/photo_documentation.htm">http://wayback.archive.org/web/*/www.nato-tribunal.de/varvarin/photo_documentation.htm</a><br />
<br />
More links:<br />
Albright's "Take it or leave it" plan - <a class="linkification-ext" href="http://www.youtube.com/watch?v=eo1jJkIfWbc" title="Linkification: http://www.youtube.com/watch?v=eo1jJkIfWbc">http://www.youtube.com/watch?v=eo1jJkIfWbc</a><br />
Albright & Kosovo - <a class="linkification-ext" href="http://news.bbc.co.uk/2/hi/special_report/1999/03/99/kosovo_strikes/315053.stm" title="Linkification: http://news.bbc.co.uk/2/hi/special_report/1999/03/99/kosovo_strikes/315053.stm">http://news.bbc.co.uk/2/hi/special_report/1999/03/99/kosovo_strikes/315053.stm</a><br />
<br />
NATO bombings operation:<br />
- <a class="linkification-ext" href="http://en.wikipedia.org/wiki/Operation_Allied_Force" title="Linkification: http://en.wikipedia.org/wiki/Operation_Allied_Force">http://en.wikipedia.org/wiki/Operation_Allied_Force</a><br />
- <a class="linkification-ext" href="http://en.wikipedia.org/wiki/Strategic_Bombardment_in_the_Kosovo_War" title="Linkification: http://en.wikipedia.org/wiki/Strategic_Bombardment_in_the_Kosovo_War">http://en.wikipedia.org/wiki/Strategic_Bombardment_in_the_Kosovo_War</a><br />
- <a class="linkification-ext" href="http://en.wikipedia.org/wiki/Legitimacy_of_NATO_bombing_of_Yugoslavia" title="Linkification: http://en.wikipedia.org/wiki/Legitimacy_of_NATO_bombing_of_Yugoslavia">http://en.wikipedia.org/wiki/Legitimacy_of_NATO_bombing_of_Yugoslavia</a><br />
- <a class="linkification-ext" href="http://news.bbc.co.uk/hi/english/static/nato_targets/default.stm" title="Linkification: http://news.bbc.co.uk/hi/english/static/nato_targets/default.stm">http://news.bbc.co.uk/hi/english/static/nato_targets/default.stm</a><br />
<br />
"Humanitarian" military intervention:<br />
- <a class="linkification-ext" href="http://en.wikipedia.org/wiki/Humanitarian_intervention" title="Linkification: http://en.wikipedia.org/wiki/Humanitarian_intervention">http://en.wikipedia.org/wiki/Humanitarian_intervention</a><br />
- <a class="linkification-ext" href="http://www.fpif.org/briefs/vol5/v5n01hmi.html" title="Linkification: http://www.fpif.org/briefs/vol5/v5n01hmi.html">http://www.fpif.org/briefs/vol5/v5n01hmi.html</a><br />
- <a class="linkification-ext" href="http://www.usip.org/pubs/peaceworks/pwks45.pdf" title="Linkification: http://www.usip.org/pubs/peaceworks/pwks45.pdf">http://www.usip.org/pubs/peaceworks/pwks45.pdf</a><br />
<br />
Other:<br />
- <a class="linkification-ext" href="http://wayback.archive.org/web/*/www.cpa.org.au/garchive/960yug.htm" title="Linkification: http://web.archive.org/www.cpa.org.au/garchive/960yug.htm">http://wayback.archive.org/web/*/www.cpa.org.au/garchive/960yug.htm</a><br />
- <a class="linkification-ext" href="http://www.unmikonline.org/DPI/PressRelease.nsf/0/BA2CB1DFE04FAFD5C12571790054E673/$FILE/pr1555.pdf" title="Linkification: http://www.unmikonline.org/DPI/PressRelease.nsf/0/BA2CB1DFE04FAFD5C12571790054E673/$FILE/pr1555.pdf">http://www.unmikonline.org/DPI/PressRelease.nsf/0/BA2CB1DFE04FAFD5C12571790054E673/$FILE/pr1555.pdf</a><br />
- <a class="linkification-ext" href="http://www.pbs.org/newshour/bb/yugoslavia/military_situation.html" title="Linkification: http://www.pbs.org/newshour/bb/yugoslavia/military_situation.html">http://www.pbs.org/newshour/bb/yugoslavia/military_situation.html</a><br />
- <a class="linkification-ext" href="http://www.againstbombing.org/WPworldreaction.htm" title="Linkification: http://www.againstbombing.org/WPworldreaction.htm">http://www.againstbombing.org/WPworldreaction.htm</a><br />
<br />
As a final note, I'd like to quote <a href="http://web.archive.org/www.san.beck.org/NATOBombingLessons.html">this site</a>:<br />
<blockquote>
Certainly the atrocious crimes of the Serbs against Kosovars should not be tolerated, but any child knows two wrongs do not make a right. The rule of law also needs to be made universal by democratic processes. Individuals must be held accountable for actions that violate the rights of others. But to use the blunt instruments of war to punish whole nations and peoples for the crimes of their leaders and supporters tends to escalate the violence and the crimes.</blockquote>
<br />
Last, but not least, I would like to personally condemn the single-sided independence of Kosovo, the illegal approval and the ignorance of several international laws. The other thing I would like, is simply that Ms Madeleine Albright and Havier Solana apprehend the Serbian language and try to live in the Kosovo they've so desired to create by force - without their bodyguards and escorts that is, to see just how things actually are, behind the cameras, and during the terrifying nights of raids and attacks towards the few remaining serbians in Kosovo & Metohija.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8338687188449962924.post-67084296041808935542008-12-29T23:16:00.014+01:002008-12-30T00:13:07.846+01:00How to change default locale (Ubuntu GNOME)<a href="http://2.bp.blogspot.com/_hNM7d1gNYCA/SVlOaF9aCQI/AAAAAAAAAyA/ZB20bWWlZSI/s1600-h/screenlets_en_GB_locale.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_hNM7d1gNYCA/SVlOaF9aCQI/AAAAAAAAAyA/ZB20bWWlZSI/s200/screenlets_en_GB_locale.png" /></a> I have always been a fan of English as my main language while using the computer or computer-related terminology. Recently I've stumbled upon the <a href="http://www.screenlets.org/">screenlets</a> package (see picture or <a href="apt://screenlets">install debian package</a>).<br />The only problem is that using United States' default date is shown as <b><span style="color: #990000;">Month/Date</span></b>/Year (i.e. 29/12/2008), which is rather unattractive (hey - my eyes, my brain, my opinion, my choice!).<br /> After many unsuccessful tries of various commands, I've come up with a rather graphical-based solution to use the locale I preferred. Obviously, the best choice for me would be en_GB (Great Britain/United Kingdom), since I wanted to stick with English, but use the date format <b style="color: #38761d;">Date/Month</b>/Year.<br /> 1. System > Admnistration > Language Support<br />Or you can simply run the command: gnome-language-selector<br /> 2. Type in your password if asked to do so. (Make sure you're the adminsitrator, it might involve installing extra packages)<br /> 3. Install your language of preference.<br /> 4. Choose the language of your choice again as the "Default language".<br /> 5. Press "Apply" and click "OK".<br /> 6. Log out (System > Log out).<br /> 7. While viewing the Login screen, click "Options" (lower left corner in Ubuntu), then "Set Language" and select "System Default". It will ask you to restart the login screen (press "Yes").<br /> 8. When the login screen is restarted, you will be using the language of your preference with the appropriate locale! :) You should be able to check this out when you run the following command in Terminal (Applications > Accessories > Terminal):<br />locale<br /><pre><br />LANG=en_GB.UTF-8<br />LC_CTYPE="en_GB.UTF-8"<br />LC_NUMERIC="en_GB.UTF-8"<br />LC_TIME="en_GB.UTF-8"<br />LC_COLLATE="en_GB.UTF-8"<br />LC_MONETARY="en_GB.UTF-8"<br />LC_MESSAGES="en_GB.UTF-8"<br />LC_PAPER="en_GB.UTF-8"<br />LC_NAME="en_GB.UTF-8"<br />LC_ADDRESS="en_GB.UTF-8"<br />LC_TELEPHONE="en_GB.UTF-8"<br />LC_MEASUREMENT="en_GB.UTF-8"<br />LC_IDENTIFICATION="en_GB.UTF-8"<br />LC_ALL=<br /></pre><br /><br />Now, if you notice any problems:<br />1. Execute these commands in terminal:<br /><pre>sudo -s</pre><br /><pre>echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"' > /etc/environment<br /></pre><br />2. Reboot your computer.<br />3. Run the gnome language selector again, choose "English (United States)" (or whatever was the default language). Press Apply and OK. Run it once more and set it again to the language you want it to be ("English (United Kingdom)"), press Apply and OK.<br />4. Follow the steps <b>6, 7 and 8</b> above.<br />You ought to be able to have the default language and locale you selected!Unknownnoreply@blogger.com1