Hello! I need to run inkscape in PHP so I can convert an svg image to PDF. However every time I try:
//some PHP code
system("inkscape -z --file=svg.svg --export-pdf=pdf.pdf");
//more code
I get no new file and I get this in the apache erro log.
(inkscape:28607): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: ...
Hi folks,
I'm using the following command in order to convert .avi video files
ffmpeg -i -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 320×240 -vcodec libx264 -b 96k -flags +loop -cmp +chroma -partitions +parti4×4+partp8×8+partb8×8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 ...
Hi folks,
I'm trying to convert movies from .avi to an iphone readable format
wherever I look, people suggest the following options for ffmpeg
ffmpeg -s 320x240 -aspect 320:240 [...]
This does not bode well for videos with a different aspect ratio!
How can I keep the aspect ratio from changing? Is there a way to set the size dy...
Programming with GTK+ is annoying and physically painful because of the sheer amount of reaching out for the "_" key. For anyone with actual GTK+ experience, have you found a work around for this?. The platform is linux based.
...
I am getting my bachelor degree in a few month. After that I`m planing to go for a master degree in software engineering. In the mean time I plan to take some certification too. I develop in Java and obvious plan to go on Oracle Java certification path. But as an addition to my knowledge (and proof of knowledge) I plan to take Cisco CCNA...
Why running application with SUDO changes GUI appearance?
I.e.Button background, Button size, JTree appearance are behaving differently depending on how the GUI was started with SUDO or not.
Will appreciate your suggestions.
Thank you
...
From the console:
adelevie@ubuntu:~$ gem install passenger
Building native extensions. This could take a while...
ERROR: Error installing passenger:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file ...
How do I connect two webcams to a PC? I need to grab the frames from the two webcam inputs simultaneously. What software should I use and is there any extra hardware that I will need? I prefer connecting the cameras using USB as most computers have several of these ports. Also please suggest solutions that will work in Linux. I'm using U...
Hi!
I want to run a cron and compress my /var/log directory every hour to a tar file.. so I can backup that file.
What would happen to the log files the exact moment I run the tar command, will I miss those log lines or would the different softwares running and using /var/log wait, or will the tar be corrupt etc?
I have a busy webserv...
Hello all
Lately I really want to start hacking my UBUNTU.
I looked at the applications that are installed and interested me and stoped at
"system monitor" processes really interest me .
I have downloaded the code from here link text , but after I looked at it I pretty sure I need some help with it. (no idea how to run it compile and...
I have Ruby versions 1.8.7 and 1.9.1 on Ubuntu.
How do I get the system to register Ruby 1.9.1 when using ruby -v?
ruby is at /usr/bin/ruby
ruby1.9.1 is at /usr/bin/ruby1.9.1
Also, can someone recommend a free text editor for Ubuntu?
...
Hello everyone,
I'm using a pc1602f PowerTip directly connected to the PC parallel port using this scheme:
http://www.beyondlogic.org/parlcd/parlcd.htm
All well as energizes the LCD and shows me the front row with black blocks, until then fine but now I want to send information through the parallel port.
If you look at the page you wi...
I wasn't sure if this question would go better here or at superuser, since it kinda crosses between the two.
I have a Flex web app with a PHP service, using ZendFramework.
The app works fine on Ubuntu 9.04 Server. No errors at all, behaves exactly as expected. If I install Ubuntu 10.04 Server, I suddenly start getting a "Channel discon...
Hi,
Is there any tool out there which enables me to see differences between different versions in git? and the differences is shown in-line in a file? E.g. like the way eclipse shows 2 files differences?
Thank you.
...
Hi Everyone?
I have one libA.so. It is used by JNI method.
And I have two different version of Ubuntu. One is Ubuntu 8.04 and the other is Ubuntu 9.10.
libA.so has a dependency. libA.so depends on libB.so and libB.so depends on libC.so.
ie. libA.so -> libB.so -> libC.so (Actually libB.so and libC.so are related with GTK)
The li...
I was wondering if I could make some money by creating an iDevice app and posting it on the Rock your Phone Store. Which language should I use and are there exceptions to it.
...
I've recently set up a Ubuntu 9.10 server with a LAMP configuration and then installed Coldfusion 9 Development version as well.
I've got phpMyAdmin working, so MySql and PHP are fine, and I can serve coldfusion pages, but if I cannot verify my Coldfusion datasource. I get the following error:
Could not create connection to
databa...
I have spent around 4-5 hours installing and configuring Ubuntu 10.04 (Desktop) on this old computer I have and it seems real sluggish. I thought I would seek some advice here before I invested more of my time. I would like a GUI (for VNC access) but it is not required, and better webpage generation performance. Any reccomendations?
...
What is the accepted, portable way to include interpreter options in the shebang line, ie. how can I do something like
#!/usr/bin/env python -c
or (more importantly) something like
#!/usr/bin/env java -cp "./jars/*:./src" -Xmn1G -Xms1G -server
and get it to be parsed correctly? Right now ubuntu seems to just glom the whole thing...
We've got an "appliance", based on ubuntu that has some of our own apps running on it (which are distributed as .deb).
Logging is sent through syslog. Syslog.conf is customized so that our apps' messages get sent to a dedicated file.
Are there any gotchas/best practices I should know about in terms of programmatically modifying syslog....