Monday, February 16, 2015

Linux Mint and HP EliteBook - Suspend and Hibernate not working

I have HP Elitebook 8530w laptop with installed Linux Mint, and I have had a problem to resume system after Suspend or Hibernate.
After hibernation I got locked screen, and after I type correct password nothing happens so I must to use hard reset (power button for several seconds).

I read many blogposts but without success.

After several days of trying everything I found that problem is in generic NVidia drivers. So I got to adminpanel and istead of default XOrg Nvidia drivers I checked (recomended) Ubuntu NVidia drivers.
After restart everything works well.

Happy Linuxing :-)

Monday, May 24, 2010

How to change color and blur for PopUpManager in MXML

Big problem in Flex application is default modal block display object. You can't change blur and color in PopUpManager Style, but you can in main Application set default modal properties:

modalTransparencyColor="#666666"
modalTransparency="0.7"
modalTransparencyBlur="0"

Monday, January 25, 2010

How to Add/Change Reflow property for PDF files


Reflow option need to be enabled if you want to read PDF files on small screens (smartphones, PDA-s, eBook readers etc). In most cases downloaded PDFs don't have setted this option, and you can't easy set that.
I found only one method:

First you need program FineReader. In that program than open your PDF file. Than you need to call Read all pages (this is procedure where FineReader goes through all pages and prepare texts and paragraphs):


When "reading" is finished, you can save your PDF. In save dialog pick pdf:


and in format setings check "enable tagged PDF".


And that's all. Wait some time and your new reflowed document is ready.

Tuesday, January 12, 2010

How to change 3D perspective (camera POV) in Actionscript 3

In Actionscript 3 for Flash CS4 (Flex SDK 3.2 or newer) Adobe added some new features for simple 3D DisplayObject manipulation. You can rotate display objects in 3D space, but if you need to add your component to other display container your 3D perspective probably will be changed. The biggest problem is that for all 3D views default camera position is center of main scene, not of your display object.

So if you need to specify concret position of camera just for your display object you need to specify PerspectiveProjection and set it to your transform property. This is code:

var perspective:PerspectiveProjection;
perspective = new PerspectiveProjection();
perspective.projectionCenter = new Point(400, 300);
transform.perspectiveProjection = perspective;

Tuesday, December 2, 2008

How to set on Digsby Gtalk status away or idle

I'm using Digsby for all IM, mail and social network accounts, and my biggest problem is when I go Away from computer that my gtalk is still online. If you try to set Away your Digsby other gtalk users will see you as busy (red dot in gtalk client - not yellow dot). If I go out of my home and forget to disconnect gtalk on digsby, I'll stay online and I'll receive tons of messages. I turn off gtalk account on Digsby, and setup them (like before) on Miranda.
Now I find solution, and I set back my gtalk account to digsby.
Yes, you can set idle for gtalk account if you using Digsby.
Just you need to setup your gtalk account not like gtalk, but like Jabber account, like on image below:

Everything what you need is to enter for your username gtalkname@gmail.com, and for server talk.google.com and now when you set Away from Digsby menu you will be idle for other gtalk users.


Wednesday, October 8, 2008

Automatically start Winamp when Windows starts

If you want to start Winamp automatically when your computer (with Windows XP/Vista) starts, only thing you need to do is to put next code in your registry in run statement:

"%ProgramFiles%\Winamp\winamp.exe" "%AppData%\Winamp\Winamp.m3u"


If your Winamp isn't set for multiuser usage and previous code doesn't work try to change it to:

"%ProgramFiles%\Winamp\winamp.exe" Winamp.m3u


This code will start Winamp and set them to play last played playlist. In first code last played playlist is in your Application Data folder (if Winamp is instaled in multiuser mode). In Second winamp.m3u file is located in Winamp installed folder.

If your Winamp isn't installed in your Program Files folder, you need to change first part of command: "%ProgramFiles%\Winamp\winamp.exe" to full path to your winamp folder.