Archive for the ‘Windows’ Category

[VIEW] Ubuntu 10.04 Title Bar Buttons stay on the Left with changed order

Here is a comment from Mark Shuttleworth on the bug
[Master] Window Control buttons: position/order/alignment :

Thank you to everybody who has participated in this discussion.

The final decision on window controls for 10.04 LTS is as follows:

– the window controls will remain on the left, however
– the order will change to be (from left) close, minimize, maximise

The decision is based on the view that putting the close button in the corner will be most familiar to many users, even if the particular choice of corner is not.

For the avoidance of doubt, this is not a comment dependent on the date :-)

Our intent is to encourage innovation, discussion, and design with the right of the window title bar. We have some ideas, and others are already springing up in the community. We welcome participation on the Ayatana list, where those can play out. This will be a fruitful topic for the design track at UDS in Brussels in May.

This bug is now marked wontfix. Please focus ongoing participation on the opportunities for innovation that this opens up. The decision as to the window controls location and order itself is now final, and as they say in the old newspapers, no further correspondence will be entered into.

My Opinion
I think the idea of moving the buttons (maximize, minimize, close) to the left side was not a good idea in the first place. It contradicts with the default layout of GNOME DE (and hence almost all other distributions using GNOME) and does not provide any value (as of now). Also, doing this starting from an LTS release was not a good idea at all. It is not difficult to adapt to the changes (I already have adapted to the latest mac like changes) for someone who uses Ubuntu as the only OS, but since Ubuntu is widely used in PCs, alongside Windows, it will be difficult for a user to use Windows and Ubuntu. It is easy to have another layout (just by switching to a different theme or following my older post), but still it is not a good out of the box experience.
The other thing that concerns me here is that Shuttleworth said “Ubuntu is not democracy” and trying to turn into next Steve Jobs. Ubuntu is by far, the most popular Linux distribution, but with steps like this, it could turn around very easily.

What do you think?

[SOLVED] java.security.AccessControlException: access denied (java.net.SocketPermission host connect,resolve)

I am building a Java Applet which needs to connect to foreign host to operate. I created it and it runs good on OpenJDK Runtime Environment (IcedTea6 1.8pre) installed on my Ubuntu 10.04 Lucid Lynx Beta. But it does not run with Sun Java Runtime Environment 1.6.0_18 on Windows. I don’t know if it also does not work with Sun JRE in Linux. Also, as far as I know, OpenJDK/OpenJRE for Windows does not exist.

The applet shows somewhat this kind of when run in Windows under Sun JRE:

1
java.security.AccessControlException: access denied (java.net.SocketPermission host connect,resolve)

and the page just stalls.

When I searched for help on the internet, I discovered that unsigned files do not run in Windows. So, I needed to sign it. The Certificate can cost at least a couple of hundred dollars for a month. If you are using it for commercial purposes, I advice you to buy a certificate. However, I just wanted my code to run in Windows and to do that I bundled the code inside a Jar file (I was just using the class file i.e. code=”Classname.class”. Now I need to use code=”Classname” archive=”JarName.jar” for applet in the HTML file.). So I am sharing what I did to make it run.

After building the Jar File (Netbeans IDE that I am using builds the Jar file automatically inside the dist sub-directory of the Project directory), I used the command

1
keytool -genkey

and entered the details. You can choose your own password for keystore. You can either use the same password for key password or choose a different one. Now a keyfile named .keystote is created in the home directory. I need to certify the key. Since I have not purchased a security certificate, I needed to certify it myself using the following command:

1
keytool -selfcert

. Now a key named mykey is created for me to use. This should only be done once.

Now, I changed my directory to the dist directory and executed the following command to sign a MyJarApplet.jar:

1
jarsigner -storepass KeySorePassword -keypass KeyPassPassword MyJarApplet.jar mykey

Here KeyStorePassword is the password used while creating the keystore and KeyPassPassword is the password used in the key mykey.

Now, the applet asks for authentication instead of showing nothing at all in Windows too.

Hope this helps.

References:
http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/jarsigner.html
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html

[HOWTO] Video Wallpaper on Ubuntu 10.04 Lucid Lynx with Shantz XWinWrap

I wanted to try out video wallpaper (like DreamScene on Windows 7). I had tried XWinWrap with Hardy but back then, I had problems running Compiz on an old PC and it did not look good at all. Now, I am trying it out on a new PC and Compiz works well on my onboard Intel GMA 3000 on Ubuntu 10.04 Lucid Lynx Alpha.

If you want to try this, you must have compiz enabled. You may also want to install mplayer and codecs for videos you want to use as desktop background. Read the rest of this entry »

[HOWTO] Cleaning Ubuntu for better performance and privacy

When I used Windows, I had come across several “system cleaners and optimizers”. One I liked was CCleaner (Crap Cleaner). It had a nice interface and was capable of cleaning cache and data of several applications.

I found a similar application for my Ubuntu 10.04 Lucid Lynx Alpha. It has similar interface and features. It is called bleachbit and can be installed via Synaptic (universe repos need to be enabled) and can be accessed from Applications>System Tools>Bleachbit. It is also capable of wiping the data so that it is impossible(or lets say difficult) to recover. It can also clean backup files (those hidden with ~ at the end of the filename, .bak, .tmp and more) with Deep Scan.

xVideoServiceThief – Youtube Video Downloader for Ubuntu Linux


xVideoServiceThief is a Desktop based video downloader for Linux, Windows and Mac. It is capable of downloading videos from Youtube, Google, Yahoo and various other sites. You can even queue the videos and it downloads with resume support (if the server supports it). It can resume Youtube videos.

Screenshot 2 300x214 xVideoServiceThief   Youtube Video Downloader for Ubuntu Linux

Read the rest of this entry »

I moved to Linux because Windows does not support my Hardware

Back in the days of 2005, I did not use Linux because it did not support my cheap PCTEL HSP56 Dial-up modem. Now, I do not use Windows Vista because it does not support my cheap Telson Electronics CDMA 1x USB Wireless Modem. Sorry for my poor choice of internet (both in 2005 and now) because I live in rural area of Nepal and we don’t have a choice. Read the rest of this entry »

Turbo C++ IDE – Running on Linux, Windows Vista, Windows 7 or Mac OS

Please look at the alternatives for Turbo C++ IDE before reading this post. Continue reading it only if you want to use BGI graphics (consider Allegro Gaming Library if you want an easy to use Graphics solution for C\C++) or for code compatibility for your Textbook. You might consider changing your textbook if your University\College allows for new code. Continue only if you have no other option than using the DOS based Turbo C++ 3.0. Read the rest of this entry »

Turbo C++ IDE – A look at the Alternatives


Many engineering and computer science labs tend to have Turbo C++ IDE as the basic IDE. That is not appropriate for new standards of C\C++ and an alternative must be sought for it. Read the rest of this entry »

How to fix a corrupt download (Jaunty Jackalope CD Image)

I downloaded Ubuntu 9.04 Jaunty Jackalope ISO and discovered that the file was not downloaded properly. It was corrupt. It failed the md5 check and failed to install inside Sun VirtualBox.

I did not want to download the file again. I have a very poor internet connection. I had downloaded the file from http link with the help of wget.

The ISO was the size as specified in the site. I think this process works only if this holds true. Also, it needs to be available in the torrents. These hold true for the file I was trying to download. Read the rest of this entry »

The tazebama Trojan Q & A


Section 0
Disclaimer
This article is based on the author(_khAttAm_, thats me)’s own experience with the trojan and his own views. Please do understand that anything written here is for information only. The author or the owner of the site hosting this tutorial is not responsible for whaterver you do with the information from this article, only you are. USE THE INFORMATION AT YOUR OWN RISK. Read the rest of this entry »

Get Adobe Flash playerPlugin by khattam.info
Get Adobe Flash playerPlugin by wpburn.com wordpress themes