What i will show you here is the result found in this website: http://www.syndesmosnikiforos.gr/p/blog-page_9205.html
The site is in Greek but you can easily see the result if you click any one of the bullets in the main area of the page.
As you see when a link is clicked the same link is highlighted on the right menu. Also the right menu has a mouse over event that works fine. The best thing is that the component on the right is a standard link list that is added from bloggers Layout menu.
Showing posts with label Marios. Show all posts
Showing posts with label Marios. Show all posts
Sunday, September 4, 2011
Monday, June 27, 2011
Red5 freezes when running without error
When i tried to run Red5 server the excecution froze without producing any errors.
The last two lines printed were:
The last two lines printed were:
[INFO] [Launcher:/installer] org.red5.server.service.Installer - Installer service createdAfter that i tried to run the server from the eclipse plugin but the same problem occurred. After waiting the following error was produced:
Logger context selector method found
Server Red5 Server Runtime at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor.The solution is not related to the eclipse plugin but it relies on the port number that you entered during the setup of red5. The default port number is 5080 and it works fine with that port. During the setup i did not know what the default port number was so that was the problem.
Read more...
Red5 error exception BasicMDCAdapter
After installing Red5 1.0 RC1 when i tried to run the server i got the following error:
This error is produced because there are 2 additional jars that shouldnt be there.
The solution is to delete the following files from red5/lib directory
Exception java.lang.ClassCastException: org.slf4j.helpers.BasicMDCAdapter cannot be cast to ch.qos.logback.classic.util.LogbackMDCAdapter
This error is produced because there are 2 additional jars that shouldnt be there.
The solution is to delete the following files from red5/lib directory
com.springsource.slf4j.juli-1.6.1.jarMore information ca br found: http://code.google.com/p/red5/issues/detail?id=43
com.springsource.slf4j.log4j-1.6.1.jar
Read more...
Wednesday, November 17, 2010
Windows 7 - Can't pin any Folder to Windows Explorer in taskbar
For a while i had this problem with windows 7. I dragged a folder i wanted to pin in windows explorer in taskbar but it did not show anything.This is the solution that worked for me.
Read more...
Wednesday, February 24, 2010
Show Run menu in Windows Vista and Windows 7
Back in the days of Windows XP(Professional i do not know about home) Run... menu could be found in start menu. This changed in Windows Vista and was kept that way in Windows 7.
Read more...
Labels:
Marios,
Windows 7,
Windows Vista
Shutdown command in windows
Some time ago i wanted to leave my computer running for a short time only, not all night. I was looking for a way to do this without installing a new program in windows. All i wanted was to schedule the computer for shutdown after 15 minutes.
Read more...
Labels:
Marios,
Windows 7,
Windows Vista
Wednesday, October 14, 2009
Cedega 7 install issue "cedega Error: Dependency is not satisfiable: python2.4-dbus"
Today i downloaded the .deb version of cedega from this URL http://www.cedega.com/downloads/
When i tried to install cedega i came across the following error:
cedega Error: Dependency is not satisfiable: python2.4-dbus
After some search i found out that in ubuntu 9.04 (Jaunty) the package python2.4-dbus was renamed to python-dbus. So this leads to a broken dependency error. The solution i found is:
Open a terminal and navigate to the directory you downloaded the .deb file from cedega. Usally this is your home folder or Desktop folder.
Execute the following commands by the order they appear:
Hope this helps.
When i tried to install cedega i came across the following error:
cedega Error: Dependency is not satisfiable: python2.4-dbus
After some search i found out that in ubuntu 9.04 (Jaunty) the package python2.4-dbus was renamed to python-dbus. So this leads to a broken dependency error. The solution i found is:
Open a terminal and navigate to the directory you downloaded the .deb file from cedega. Usally this is your home folder or Desktop folder.
Execute the following commands by the order they appear:
$ mkdir -p cedega_000133_all/DEBIANMake sure you have write permissions to this folder if it is outside your home directory. If you don't have sufficient write permissions the build command will produce an error.
$ ar p cedega_000133_all.deb data.tar.gz | tar zx -C cedega_000133_all/
$ ar p cedega_000133_all.deb control.tar.gz | tar zx -C
$ cedega_000133_all/DEBIAN/
$ mv cedega_000133_all.deb cedega_000133_all.prerebuild.deb$ perl -pi -e 's/python2.4-dbus/python-dbus/' cedega_000133_all/DEBIAN/control$ dpkg-deb --build cedega_000133_all
$ rm -rf cedega_000133_all
$ sudo dpkg -i cedega_000133_all.deb
Hope this helps.
Read more...
Monday, May 18, 2009
Disable Hibernation in windows Vista
If you have read the post about the hibernation problem in Vista you may also be interested in disabling Hibernation to save some space from your disc.
This can be done with two ways.
The first one is to excecute the Disc Cleanup utility and delete the file. In my opinion this has a major disadvantage. The Disc cleanup utility is realy slow and takes a considerable amount of time in order to calculate all the available data.
The second and much faster way is to go to the command line as you did in the previous post and write:
This can be done with two ways.
The first one is to excecute the Disc Cleanup utility and delete the file. In my opinion this has a major disadvantage. The Disc cleanup utility is realy slow and takes a considerable amount of time in order to calculate all the available data.
The second and much faster way is to go to the command line as you did in the previous post and write:
powercfg /hibernate offWhen you want to enable it again just write:
powercfg /hibernate on
Read more...
Labels:
Marios,
Windows Vista
Left 4 Dead crashes on Vista [Solved]
If you have played the game Left 4 Dead on windows Vista you may have noticed that on random times the game crashes with no obvious reason.
For this problem i hadn't found a valid solution for some time. The solution that worked for me is:
Step 1:
In the main menu screen of the game go to
For this problem i hadn't found a valid solution for some time. The solution that worked for me is:
Step 1:
In the main menu screen of the game go to
Options -> VideoThis solution did the trick for me. Before that i had tried all the options in Vistas compatibility mode but nothing worked.
Click Advanced options and set the option multicore rendering to DISABLE
Read more...
Labels:
Games,
Marios,
Windows Vista
Hibernation not working or isn't available in Windows Vista [Solved]
WIndows Vista have the bad habbit of deleting the Hibernation file when you excecute the Disc Cleanup utility.
This utility can be found when you right click on a hard disc and select Properties. After you choose to clean this file you will not be able to put your computer in hibernation mode. Fortunatly there is a simple solution.
Step 1:
Go to: Start menu -> All programs -> Accessories
and right click on the Command Prompt.
Step 2:
Select the option Run as an Administrator and accept the UAC warnings.
Step 3:
In the comand line write:
This utility can be found when you right click on a hard disc and select Properties. After you choose to clean this file you will not be able to put your computer in hibernation mode. Fortunatly there is a simple solution.

Go to: Start menu -> All programs -> Accessories
and right click on the Command Prompt.
Step 2:
Select the option Run as an Administrator and accept the UAC warnings.
Step 3:
In the comand line write:
powercfg /hibernate on
Read more...
Labels:
Marios,
Windows Vista
Monday, October 27, 2008
Mount iso file in Ubuntu
This post will show you 4 ways to mount an iso file like a normal cd/dvd drive in Ubuntu. By using these you don't have to write the iso file to a cd or dvd. They are ordered from the easiest to the hardest.
Mount iso using Gmount-iso.
This is a great program that i found recently. To install it just type:
Mount iso using nautilus.
This is the easiest and fastest way i know.
Step: 1
With this way you only have to install a .deb package. This package is called nautilus-mount-image and it can be found
http://launchpadlibrarian.net/18219053/nautilus-mount-image_0.2.0-1_all.deb
or
https://edge.launchpad.net/%7Ezootropo/+archive/+files/nautilus-mount-image_0.2.0-1_all.deb
After installing the package when you right click on an iso file you will see the option to Mount.
The only problem that i found with this way is that you cannot mount it where you want (in a folder of your choise) .
Mount iso using nautilus scripts.
To make this way work you need to create two nautilus scripts and put them in the correct folder.
Step:1
Create a new file named mount in the folder ~/.gnome2/nautilus-scripts. This file will mount the image file you want.
Step:2
Create a new file named unmount in the folder ~/.gnome2/nautilus-scripts. This file will unmount the image file you previously mounted.
Step:3
Now we just have to give execution rights to the files we created.
If you want some more nautilus script visit:
http://mundogeek.net/nautilus-scripts/
Using loop Kernel Module
This is the hardest way but the only one if you don't want to use a graphical interface.
Step:1
The first thing you need to do is create the directory that the iso is going to be mounted.
Now you have to load the loop mode to your kernel:
Now we can mount the image file (image_file.iso) to the folder we created.
When we want to unmount the image file
Mount iso using Gmount-iso.
This is a great program that i found recently. To install it just type:
sudo apt-get install gmountisoThe best thing with this program is that you can mount the image anywhere you want. You can even mount it on the cdrom folder. (if you execute it with sudo )
sudo Gmount-iso
Mount iso using nautilus.
This is the easiest and fastest way i know.
Step: 1
With this way you only have to install a .deb package. This package is called nautilus-mount-image and it can be found
http://launchpadlibrarian.net/18219053/nautilus-mount-image_0.2.0-1_all.deb
or
https://edge.launchpad.net/%7Ezootropo/+archive/+files/nautilus-mount-image_0.2.0-1_all.deb
After installing the package when you right click on an iso file you will see the option to Mount.
The only problem that i found with this way is that you cannot mount it where you want (in a folder of your choise) .
Mount iso using nautilus scripts.
To make this way work you need to create two nautilus scripts and put them in the correct folder.
Step:1
Create a new file named mount in the folder ~/.gnome2/nautilus-scripts. This file will mount the image file you want.
gedit .gnome2/nautilus-scripts/mount.shand copy the following and save the file
#!/bin/bash
gksudo -u root -k /bin/echo "got r00t?"
sudo mkdir /media/"$*"
if sudo mount -o loop -t iso9660 "$*" /media/"$*"
then
if zenity --question --title "ISO Mounter" --text "$* Successfully Mounted.
Open Volume?"
then
nautilus /media/"$*" --no-desktop
fi
exit 0
else
sudo rmdir /media/"$*"
zenity --error --title "ISO Mounter" --text "Cannot mount $*!"
exit 1
fi
Step:2
Create a new file named unmount in the folder ~/.gnome2/nautilus-scripts. This file will unmount the image file you previously mounted.
gedit .gnome2/nautilus-scripts/unmount.shand copy the following and save the file
#!/bin/bashand copy the following and save the file
for I in "$*"
do
foo=`gksudo -u root -k -m "enter your password for root terminal
access" /bin/echo "got r00t?"`
sudo umount "$I" && zenity --info --text "Successfully unmounted /media/$I/" && sudo rmdir "/media/$I/"
done
done
exit0
#!/bin/bash
gksudo -u root -k /bin/echo "got r00t?"
sudo mkdir /media/"$*"
if sudo mount -o loop -t iso9660 "$*" /media/"$*"
then
if zenity --question --title "ISO Mounter" --text "$* Successfully Mounted.
Open Volume?"
then
nautilus /media/"$*" --no-desktop
fi
exit 0
else
sudo rmdir /media/"$*"
zenity --error --title "ISO Mounter" --text "Cannot mount $*!"
exit 1
fi
Step:3
Now we just have to give execution rights to the files we created.
sudo chmod +x .gnome2/nautilus-scripts/mount.shThe only problem that i found with this way is that you cannot mount it where you want (in a folder of your choise) .
sudo chmod +x .gnome2/nautilus-scripts/unmount.sh
If you want some more nautilus script visit:
http://mundogeek.net/nautilus-scripts/
Using loop Kernel Module
This is the hardest way but the only one if you don't want to use a graphical interface.
Step:1
The first thing you need to do is create the directory that the iso is going to be mounted.
sudo mkdir /media/image_folderStep:2
Now you have to load the loop mode to your kernel:
sudo modprobe loopStep:3
Now we can mount the image file (image_file.iso) to the folder we created.
sudo mount image_file.iso /media/image_folder/ -t iso9660 -o loopStep:4
When we want to unmount the image file
sudo umount /media/image_folder/
Read more...
Friday, October 24, 2008
Disable Xgl server
This post will show you how to disable xgl server in Ubuntu. With this way it is no longer necessary to use any special X session to disable xgl server. I used this way because my laptop has an ati graphics card (Mobility Radeon X1700) and i had many problems with xgl server.
Step 1:
The only thing you need to do is create an empty file named disable in your home directory in the path ~/.config/xserver-xgl/
Now to create an empty file named disable:
Step 1:
The only thing you need to do is create an empty file named disable in your home directory in the path ~/.config/xserver-xgl/
cd .config/xserver-xgl/If the above path does not exist create it
mkdir .config/xserver-xgl/Step 2:
Now to create an empty file named disable:
>disableNow you just have to logout and when you login xgl server won't start.
Read more...
Create an iso file from a cd,dvd or folder
This post will show you how to create an iso file from a cd, dvd or a folder.
Create .iso from CD - DVD
Step 1:
Now we move to the creation of the .iso file. The following command will create the iso file named test.iso.
Create .iso from a folder
Step 1:
In order to create an iso from a folder we need to install the program mkisofs. Just type:
Now we create the iso file (test.iso) from a folder in our system.
It is suggested to create an MD5 checksum from the iso file so we can validate the integrity of the file in the future. This is done with the following command:
Create .iso from CD - DVD
Step 1:
Now we move to the creation of the .iso file. The following command will create the iso file named test.iso.
dd if=/dev/cdrom of=test.iso bs=1024Now wait for the command to finish. This may take some time depending on the size of the data on the disc.
Create .iso from a folder
Step 1:
In order to create an iso from a folder we need to install the program mkisofs. Just type:
sudo apt-get install mkisofsStep 2:
Now we create the iso file (test.iso) from a folder in our system.
mkisofs -r -o test.iso /path_to_folder/Step 3:
It is suggested to create an MD5 checksum from the iso file so we can validate the integrity of the file in the future. This is done with the following command:
md5sum test.iso > test.iso.md5
Read more...
Wednesday, October 22, 2008
Open desktop environment througth ssh
This post will show you a very simple way to open a desktop environment such as gnome, kde or xfce through ssh. This way has been tested on Ubuntu and Kubuntu.
Step 1:
You need to install open ssh client and server
Step 2:
On the client machine you need to open a new screen. In order to do this press Ctrl+Alt F2 (or any f2-f6) and login.
Step 3:
When you are logged in run following command to open a new X Session in screen 1 (you can open it in other screens ex. 2. If you want to go to another screen press Ctrl+Alt f8 - f12)
Step 4:
On that terminal you will execute this command to open an ssh connection.
Now you have to enter your password (from your account on the server) in order to login.
Step 5:
When you are logged in the remote computer according to the X environment it has installed you have to enter the following to run it.
For machines with Ubuntu usaly:
Step 1:
You need to install open ssh client and server
sudo apt-get install openssh-client openssh-server
Step 2:
On the client machine you need to open a new screen. In order to do this press Ctrl+Alt F2 (or any f2-f6) and login.
Step 3:
When you are logged in run following command to open a new X Session in screen 1 (you can open it in other screens ex. 2. If you want to go to another screen press Ctrl+Alt f8 - f12)
xinit /usr/bin/xterm -- :1When the session is opened you will only see a terminal.
Step 4:
On that terminal you will execute this command to open an ssh connection.
ssh -X username@host_ipor
ssh -Y username@host_ipThe difference between the above commands is that the first one is subjected to X11 SECURITY extension restrictions by default. The second is not. So it is advised to use it with caution.
Now you have to enter your password (from your account on the server) in order to login.
Step 5:
When you are logged in the remote computer according to the X environment it has installed you have to enter the following to run it.
For machines with Ubuntu usaly:
gnome-sessionor if you have KDE installed type :
startkdeFor machines that have XFCE installed type:
startxfce4
Read more...
Subscribe to:
Posts (Atom)