Ubuntu Oneiric 11.10: HDMI audio out on XPS M1330 with Intel Integrated Graphics Card
1) Open Sound Settings, click on Hardware Tab, next to Profile select Digital Stereo (HDMI) Output. The Output tab should now show Connector: HDMI.
2) Open terminal, sudo alsamixer. Go to the right with the arrow keys until you find S/PDIF 1 (1, not 0 or anything else). Unmute it by pressing M. Test audio.
Saturday, January 28, 2012
Tuesday, January 17, 2012
Installing asf_tools (Alaska Satellite Facility Map Ready) on Ubuntu 11.10 Oneiric Ocelot
http://www.asf.alaska.edu/downloads/software_tools
I assume the build-essential package and other basic tools are installed.
apt-get install zlib1g-dev flex bison
Edit asf_tools/src/to_sr/Makefile and asf_tools/src/fill_holes/Makefile and changes the line similar to:
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS)
with this line
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS) -lm
(add -lm at the end)
then do a normal configure / make / make install installation
http://www.asf.alaska.edu/downloads/software_tools
I assume the build-essential package and other basic tools are installed.
apt-get install zlib1g-dev flex bison
Edit asf_tools/src/to_sr/Makefile and asf_tools/src/fill_holes/Makefile and changes the line similar to:
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS)
with this line
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS) -lm
(add -lm at the end)
then do a normal configure / make / make install installation
Thursday, January 12, 2012
Tuesday, January 03, 2012
Wednesday, December 28, 2011
Show or Display (some) Blu Ray drive capabilities in Ubuntu/Linux
1) Download and install Nero Linux 4 (trial available)
2) nerocmd --list-drives (lists drives .. see first and second columns for drive id)
3) nerocmd --drive=1,0 --info=drive (where drive ID here is 1,0)
Sample output:
Device name : MATSHITA BD-MLT UJ240AF
Device id : 0
Host adapter number: 1
Host adapter name : unknown
Firmware Revision : 1.00
Underrun protection: supported
Drive buffer size : 2048 bytes
Mandatory BUP speed: none
Device type : WORM
Writeable media : CD-R/RW, DVD R/RW, DVD DL, DVD-RAM, BD-R/RE, BD DL
CD write speeds : 8, 24
Base speed in KB/s : 150
Readable media : CD-R/RW, DVD R/RW, DVD DL, DVD-RAM, BD-R/RE, BD DL
CD read speeds : 1, 2, 4, 8, 12, 16, 24
Base speed in KB/s : 150
Capabilities:
- Can write in Disc-at-once
- Reads CD TEXT
- Writes variable pauses in Track-at-once
- Writes CD TEXT in Disc-at-once
- Has a buffer underrun protection feature
- Can write DVD+VR
- Supports Layer Jump for DVD-R DL
- Supports Overburn
- Can write in UltraRaw 96
Ok.
1) Download and install Nero Linux 4 (trial available)
2) nerocmd --list-drives (lists drives .. see first and second columns for drive id)
3) nerocmd --drive=1,0 --info=drive (where drive ID here is 1,0)
Sample output:
Device name : MATSHITA BD-MLT UJ240AF
Device id : 0
Host adapter number: 1
Host adapter name : unknown
Firmware Revision : 1.00
Underrun protection: supported
Drive buffer size : 2048 bytes
Mandatory BUP speed: none
Device type : WORM
Writeable media : CD-R/RW, DVD R/RW, DVD DL, DVD-RAM, BD-R/RE, BD DL
CD write speeds : 8, 24
Base speed in KB/s : 150
Readable media : CD-R/RW, DVD R/RW, DVD DL, DVD-RAM, BD-R/RE, BD DL
CD read speeds : 1, 2, 4, 8, 12, 16, 24
Base speed in KB/s : 150
Capabilities:
- Can write in Disc-at-once
- Reads CD TEXT
- Writes variable pauses in Track-at-once
- Writes CD TEXT in Disc-at-once
- Has a buffer underrun protection feature
- Can write DVD+VR
- Supports Layer Jump for DVD-R DL
- Supports Overburn
- Can write in UltraRaw 96
Ok.
Thursday, December 01, 2011
Wednesday, November 30, 2011
Monday, November 21, 2011
How to reduce PDF file size from command line
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
-dPDFSETTINGS=/screen (screen-view-only quality, 72 dpi images)
-dPDFSETTINGS=/ebook (low quality, 150 dpi images)
-dPDFSETTINGS=/printer (high quality, 300 dpi images)
-dPDFSETTINGS=/prepress (high quality, color preserving, 300 dpi imgs)
-dPDFSETTINGS=/default (almost identical to /screen)
Sources:
http://www.ubuntugeek.com/ubuntu-tiphowto-reduce-adobe-acrobat-file-size-from-command-line.html
http://milan.kupcevic.net/ghostscript-ps-pdf/
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
-dPDFSETTINGS=/screen (screen-view-only quality, 72 dpi images)
-dPDFSETTINGS=/ebook (low quality, 150 dpi images)
-dPDFSETTINGS=/printer (high quality, 300 dpi images)
-dPDFSETTINGS=/prepress (high quality, color preserving, 300 dpi imgs)
-dPDFSETTINGS=/default (almost identical to /screen)
Sources:
http://www.ubuntugeek.com/ubuntu-tiphowto-reduce-adobe-acrobat-file-size-from-command-line.html
http://milan.kupcevic.net/ghostscript-ps-pdf/
Wednesday, November 16, 2011
Vulnerability in the WordPress King Size theme
This is the vulnerability: http://catchinternet.com/blog/timthumb-vulnerability-wordpress-security-patch/
Below is a discussion that I have been having with the creators of King Size. I personally find their response unacceptable, but I agree that themeforest is also to blame. I also do not understand why they didn't have an "update notifier" until recently. I also contacted themeforest and waiting for a reply.
-----
Hello King Size Theme team,
My server was cracked using a vulnerability found in timthumb.php, which ships with the King Size Theme.
I checked the theme page on themeforest.net and under version 3.1 it says: "Updated Timthumb (timthumb.php) for security concerns"
Did you send out e-mails to all your customers using King Size < 3.1 about this problem? If not, why not?
Thanks,
Ovi
-----
Ovidiu Dan (Ovi),
A customer support staff member has replied to your support request, #455636 with the following response:
Hello,
I am sorry to hear about your troubles but its not our responsibility to keep you informed of updates. Its yours as a buyers responsibility to occasionally check in and see if updates are available. As of v3.3 we released an "update notifier" which informs buyers when updates are available via their Dashboards.
Kind regards,
Bryce Wisekal
-----
Hello again,
I am sorry but it IS definitely your responsibility, especially when it comes to critical security vulnerabilities.
Please do the right thing and inform your customers or I will do it for you.
Ovi
-----
Ovidiu Dan (Ovi),
A customer support staff member has replied to your support request, #455636 with the following response:
Hello Ovi,
And how do you propose we do that when we do not have CONTACT to our buyers? Come on now, be sensible. When you buy a template from theme forest it IS YOUR responsibility. If you cannot deal with that I am sorry, its not our fault though. We announced this information within our comments, as well released an update. We do not have access to contact buyers due to Theme Forest controlling those rights.
As I had mentioned, I am sorry to hear about your troubles but if you came by Theme Forest from time to time and checked on the template you would have clearly known about the issues. We did our part by addressing the issue, its not your responsibility to update your template - not ours.
So please, do the right thing and accept your responsibility, because its not ours. If you disagree with this, you're more than welcome to take it up with Theme Forest and suggest to them that sellers need the ability to contact their buyers but its not going to happen. It's something authors have been asking Theme Forest for some time now. I'm sorry, but we're only able to do what we can, the rest is up to you as a buyer.
Kind regards,
Bryce Wisekal
-----
This is the vulnerability: http://catchinternet.com/blog/timthumb-vulnerability-wordpress-security-patch/
Below is a discussion that I have been having with the creators of King Size. I personally find their response unacceptable, but I agree that themeforest is also to blame. I also do not understand why they didn't have an "update notifier" until recently. I also contacted themeforest and waiting for a reply.
-----
Hello King Size Theme team,
My server was cracked using a vulnerability found in timthumb.php, which ships with the King Size Theme.
I checked the theme page on themeforest.net and under version 3.1 it says: "Updated Timthumb (timthumb.php) for security concerns"
Did you send out e-mails to all your customers using King Size < 3.1 about this problem? If not, why not?
Thanks,
Ovi
-----
Ovidiu Dan (Ovi),
A customer support staff member has replied to your support request, #455636 with the following response:
Hello,
I am sorry to hear about your troubles but its not our responsibility to keep you informed of updates. Its yours as a buyers responsibility to occasionally check in and see if updates are available. As of v3.3 we released an "update notifier" which informs buyers when updates are available via their Dashboards.
Kind regards,
Bryce Wisekal
-----
Hello again,
I am sorry but it IS definitely your responsibility, especially when it comes to critical security vulnerabilities.
Please do the right thing and inform your customers or I will do it for you.
Ovi
-----
Ovidiu Dan (Ovi),
A customer support staff member has replied to your support request, #455636 with the following response:
Hello Ovi,
And how do you propose we do that when we do not have CONTACT to our buyers? Come on now, be sensible. When you buy a template from theme forest it IS YOUR responsibility. If you cannot deal with that I am sorry, its not our fault though. We announced this information within our comments, as well released an update. We do not have access to contact buyers due to Theme Forest controlling those rights.
As I had mentioned, I am sorry to hear about your troubles but if you came by Theme Forest from time to time and checked on the template you would have clearly known about the issues. We did our part by addressing the issue, its not your responsibility to update your template - not ours.
So please, do the right thing and accept your responsibility, because its not ours. If you disagree with this, you're more than welcome to take it up with Theme Forest and suggest to them that sellers need the ability to contact their buyers but its not going to happen. It's something authors have been asking Theme Forest for some time now. I'm sorry, but we're only able to do what we can, the rest is up to you as a buyer.
Kind regards,
Bryce Wisekal
-----
Monday, January 03, 2011
Monday, December 06, 2010
Thursday, November 04, 2010
Notes on installing Condor on Windows / Win 7
Below you can read about some of the problems I encountered while testing Condor, along with some solutions/workarounds.
1) The Condor keyboard daemon (KBDD) does not work out of the box. If you start the condor_kbdd.exe process as the SYSTEM user (the default configuration), it will fail to register keyboard/mouse activity. Instead, you can configure Condor to not start the KBDD daemon by removing “KBDD” from the DAEMON_LIST in the configuration file. If you want to use the kbdd process you will need to run it as the the local (logged in) user.
2) When installing Condor manually you need to set the CONDOR_CONFIG environment variable *system wide* (not for the current user). Attempting to start the service when the environment variable is not configured yields this error: “Error 1067: The program terminated unexpectedly”. The manual mentions that instead of an environment variable we can also set several registry keys. I found this to be incorrect. Condor seems to completely ignore those registry keys. If I remember correctly, the installer does not even create them.
3) If the Condor service is configured to start at boot time it will sometimes (always?) fail. One theory is that this happens because Condor tries to establish network connections before the networking services are up. So you might want to delay starting the service until the machine booted up properly.
Below you can read about some of the problems I encountered while testing Condor, along with some solutions/workarounds.
1) The Condor keyboard daemon (KBDD) does not work out of the box. If you start the condor_kbdd.exe process as the SYSTEM user (the default configuration), it will fail to register keyboard/mouse activity. Instead, you can configure Condor to not start the KBDD daemon by removing “KBDD” from the DAEMON_LIST in the configuration file. If you want to use the kbdd process you will need to run it as the the local (logged in) user.
2) When installing Condor manually you need to set the CONDOR_CONFIG environment variable *system wide* (not for the current user). Attempting to start the service when the environment variable is not configured yields this error: “Error 1067: The program terminated unexpectedly”. The manual mentions that instead of an environment variable we can also set several registry keys. I found this to be incorrect. Condor seems to completely ignore those registry keys. If I remember correctly, the installer does not even create them.
3) If the Condor service is configured to start at boot time it will sometimes (always?) fail. One theory is that this happens because Condor tries to establish network connections before the networking services are up. So you might want to delay starting the service until the machine booted up properly.
Sunday, September 19, 2010
Thursday, December 03, 2009
Tuesday, July 07, 2009
Sunday, July 05, 2009
Subscribe to:
Posts (Atom)