Simple Java JNI Tutorial: Global Keypress Capture (Hotkey) using X11
location: ubuntuforums.com - date: July 19, 2008
This tutorial is for Java devs who want to be able to capture key presses globally under linux (specifically ubunutu.) This is of course OS dependent as Java does not allow for such a thing without the use of the JNI (Java Native Interface.)
This tutorial is as self-contained as possible; however, if you would like more information about JNI a good place to start is the documentation at http://java.sun.com/developer/online...CBook/jni.html .
The problem is that you would like your Java application to detect keys pressed by the user even if your Java application does not have focus. This is not a trivial problem, as I have learned. For security reasons or convenience, the developers of Java have omitted to give Java developers a painless way of capturing system-wide events such as key presses.
Upon further investigation, most operating systems do offer developers a means of capturing such events. On windows, developers can use hooks to listen fo
Tutorial: Unity Launchers and Desktop files
location: ubuntuforums.com - date: April 21, 2012
The information in this thread have been moved to https://help.ubuntu.com/community/Un...ndDesktopFiles
A thread for discussion of the wiki page only can be found here http://ubuntuforums.org/showthread.php?t=2012385
Since the last 3 posts I've helped are mainly about this issue, I see that many users have a problem of making their own launcher, place it to unity, edit a launcher of unity etc.
This tutorial will show all the basics you need to know on how to have your unity launcher as you want and how to create desktop files for this or other purpose.
1. How to create a .desktop file
.desktop files are files for launching links or applications (here I cover applications).
To create one, you can use gedit to manually create a desktop file or install a program for it. Both ways are easy but with the former you have more control on launcher's behavior
a) Use gedit
Open gedit and paste in:
? Disable TaptoClick on a Synaptic Touch Pad in 11.10
location: ubuntuforums.com - date: November 4, 2011
I have recently moved from Ubuntu 11.04 to Xubuntu 11.10. Under Xubuntu the Synaptics TouchPad in my Dell XPSL501X notebook (http://friendly.ubuntu.com/11.10/Del...z:I8g/devices/) has the "tap-to-touch" feature turned on all the time, which is a real pain as the Dell touch pad is extremely sensitive to touch, and just the slightest touch will cause the cursor to relocate when typing.
Under standard Ubuntu 11.04 and prior versions, tap-to-click and related touch-pad settings can be changed easily in the settings GUI.
Can someone please advise how I turn off tap-to-click in an Xubuntu 11.10 environment ?
WEP crack tutorial
location: ubuntuforums.com - date: August 16, 2008
What is a good one?
I've used http://www.askstudent.com/hacking/ho...-using-ubuntu/ but have encountered some problems.
Wine Tutorial For Beginners
location: ubuntuforums.com - date: June 6, 2009
Some Tips On Using Wine In Ubuntu:
To those who do not know, Wine is software to allow you run 16 and 32-bit Windows binaries natively on Unix-Like systems. Wine is available from the Ubuntu repositories, and runs on AMD64 as well, using 32-bit libraries. The 64-bit version drops support for old 16-bit applications.
Wine functions as a wrapper on common Windows functions (such as the NT kernel) and uses Linux equivalents to fulfill them. Wine is not based on Windows, and does need a Windows license to be used.
Performance and stability in applications can vary widely, however many programs work quite well, and may even perform better than when used on Windows. There is a web page where Windows applications are reviewed, and their functionality is rated.
The version of Wine in the repositories is somewhat out of date, though it is quite fine to use. For those wishing for a more up to date version o
Upgrade gnome 2.24 in ubuntu 8.04
location: linuxquestions.com - date: October 28, 2008
Please help. How do I upgrade gnome 2.24. Currently using Ubuntu 8.04.
UFW log guide/tutorial ?
location: ubuntuforums.com - date: November 17, 2012
Can please someone point me to some kind of beginner's guide/tutorial to read UFW log messages ? I've set up some basic rules in UFW,but then when looking at the log messages I frankly don't understand what I see,can't figure out what things like AUDIT,DST,TOS actually are,therefore I can't check if said rules are indeed doing what I wanted.Thanks.
dpkg 1.14.24 error processing pythontextile (..) Ubuntu 9.04
location: linuxquestions.com - date: October 13, 2009
I'm encountering problems, while setting up the packages `python-textile' and `language-selector' on Ubuntu 9.04 with dpkg (ver. 1.14.24) from the official Ubuntu-repositories. *Goal*: Terminate the error.
Following debug message I get when using `apt-get' when upgrading: 
According to the debug message 'python-textile' doesn't point to the default python installation, which is python2.6 in my case. I'm getting the same message, when pointing/linking to another installed python installation.
I've actively used Google and the forum's search and used some of the described algorithms in the posts.
Using `dpkg --configure --pending' gives me following output: 
and trying to purge it using `dpkg --purge --pending' a similar one.
I've also deleted the cache in /var/lib/apt/.
Slowly I'm losing ideas and so I beg you for some support, if you know a way to solve my problem.
TUTORIAL: Automated backups with rsync & ssh
location: ubuntuforums.com - date: February 12, 2005
Several times I've had to configure automated backups for my machines, and each time I do, a long enough period has elapsed since the previous time that I forget all the important details. So this little tutorial is as much to help me remember (and to keep a record and to trace the steps) as for other users.
1. What You Need
a) ssh (should be installed by default) and rsync ("sudo apt-get install rsync" if you don't already have it).
b) Users on both machines (the source machine and the destination machine), ideally with the same username (so: if user "ross" exists on source machine, user "ross" should also exist on destination machine).
c) ssh and rsync installed on both machines.
2. Testing ssh (also see step 4)
Start on the source machine. As user ("ross" in my case -- not root) try to login to the destination machine using ssh, specifying either an ip address or a hostname (if the hostname appears in /etc/hosts). You'll b
ssh android to debian tutorial or howto needed
location: linuxquestions.com - date: September 19, 2011
I'm trying to connect my android, using DroidSCP, to my laptop at home. However, I never tried ssh.ing myself to anything before so I may need help. I'm looking for a howto, tutorial or anything that can help me out with this. There are several of them available, but I most of them didn't work or aren't directly related to my issues: My dormitory has its own network (accessible directly trough either static IP and domain), but the laptop is connected trough my router. How will this affect ssh connection? Do I need to switch it to gateway or router mode? Or should it be directly plugged to dormitory network?
Page: 1 2 3 4 5 6 7 8 9 10