- Go to "System Settings"
- Click on "Notifications"
- Select "KDE System Notifications" from the drop-down menu
- Find the "Login" event
- Untick the "Play a sound" option and that's it.
Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts
Sunday, November 22, 2009
How to disable Kubuntu login sound
I don't know about you, but in my case the login sound can be a problem at home while rebooting the system when my wife is sleeping, so I took a couple of minutes to find out how to disable it and here it is.
Wednesday, November 18, 2009
How to get rid of Internet Explorer
I am not a big fan of Microsoft products and using Internet Explorer is one of the most painful experiences I have to go through while testing a UI for a web development or just while browsing the intranet at work, but today I took a look at a Firefox addon that allows you to open an IE tab inside Firefox called (not surprisingly) IE Tab.
The best part of it is that I can add trusted sites just as in IE, something that is not available in the current version of FF, and this avoids having to enter my credentials every time I go to a different page in the intranet! The addon is not perfect, IE 8 sites don’t look exactly the same but still it helps a lot while testing previous versions.
That’s it for now ;)
Tuesday, November 17, 2009
Javac OutOfMemory error while compiling with Ant
Did you get this OutOfMemory error message from javac while compiling with ant:
“The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space”
Well there is an easy way to fix it! first set property “fork” to true, this will allow javac to execute in a separate thread with its own resources, then you can set the values for “memoryinitialsize” and “memorymaximumsize” according to your needs. Here is a sample of how the javac task would look.
<javac
fork="true"
srcdir="${basedir}/src"
destdir="${basedir}/build/classes"
classpath="${project.classpath}"
memoryinitialsize="256m"
memorymaximumsize="256m"
/>
That’s it! I hope it helps ;)
How to remove dotted lines from blogger (bottom)
Yesterday I removed dotted lines from the top of each post from Google Blogger, but I didn't have enough time to check how to remove them at the bottom, so today I took a look at it and here it goes for anyone else that needs it:
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
}
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:1.5em;
}
- Login to you Blogger account and go to Layout -> Edit HTML
- Ctrl + F "border-bottom:1px dotted $bordercolor;" it should be located in something like this
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
}
- Set "border-bottom" to zero
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:1.5em;
}
- Save and check your blog
How to remove dotted lines from blogger
I personally don't like blogger's dotted lines on each post title, so with some help from Greasemonkey and after taking a look at the HTML template I managed to removed them with a simple line of code:
- Login you blogger account and go to Layout -> Edit HTML
- Ctrl + F "]]>"
- Copy this "a {outline:none;}" before the result of step 2
- Save and check your blog
Friday, April 17, 2009
A few simple but useful Eclipse tips
Eclipse is the most popular Java IDE in use by developers, and there are many of them spending hours and hours in front of it everyday trying to solve issues, create new functionalities and such, here goes a couple of simple but very useful tips to make those hours more productive:
- Use
"Ctrl + Page Up / Down"to walk between opened editor tabs. - Try "Alt
+ Left / Right"to go backwards and forwards in your editing history. - Finnally use
"Ctrl + F6" to cycle through opened files.
