I've heard a long time ago that linux applications are built by having a CLI first, and later writing a GUI above that. Does someone have any reference/links about that subject? I'm interested in the principles of this method.
I'm building an RPM that requires adding a cron job into a user's(service account) crontab...from what I see in the manpages, this isn't possible, as the only viable option is to replace the crontab entries already there for previous scripts being run. Either way, as an example I've found I can make it work by directly modifying the crontab file using:
I'd just like to know, is there any MAJOR issues with modifying a the crontabs like this? This is running on a Redhat Enterprise Linux server by the way.
I am trying to debug a src code that I download from the Internet.It is built with libtool. I am able to debug it with gdb, but i cannot debug it with eclipse.
other than Python, which languages are built into most Linux distros, using a real-time interpreter, like the Python prompt, where you can just enter some commands and test out ideas before actually creating a file with your program?
Okay, just wanted to be perfectly clear on this point... /static/ software builds don't link to /any/ shared libs, right? I.e., can a static-built C program run on a system without a libc installed?
into my php script, it works fine. However, if I put
Code:
$r = exec('myX11application'); echo $r;
it doesn't (to be precise, the script still works, but myX11application is not executed). Of course, scripts are run by user "apache", who doesn't have access to X11 server and doesn't even have DISPLAY variable defined.I installed virtual framebuffer Xvfb, created a small bash script:
Code:
Xvfb :2 export DISPLAY=:2 myX11application
and called it with exec from php, but it still doesn't run since it looks like Xvfb can't start if the normal X server is running (I need that for development purposes). The reported error from Xvfb is
Code:
(EE) config/hal: NewInputDeviceRequest failed (2)
Is there a solution to have php running your X11 applications with normal X server running?
Is there something like GtkRecentManager that will give you a list of recently-used or most-used applications instead of files, or will GtkRecentManager give you apps too?
I'm new on software development and I interested which SDK tools are best for creating application for WM platform, Android etc. Also my another question is on which distribution of Linux is best to do this?
I am using ssh on windows XP to remotely connect to a UNIX server that provides web application development services. The server is called snapper and is also designed to run computer-intensive engineering and GIS applications. I have been able to successful access the server. However, when I try to run an application I get an error message saying:Application initialization failed: no display name and no $DISPLAY environment variable
The ANSYS Launcher could not be started The most likely reason is that your DISPLAY environment variable I either not set (i.e. issue setenv DISPLAY dev:0.0 where dev is your device name) or is set to a device that is not accepting the connection. I was hoping someone could explain to me what the DISPLAY environment variable is and how to set it.
I just installed GNAT GPS and would like it to display under Applications->Programming drop down menu. How does one do this? I have read about creating a .desktop file but tried that and it still does not appear under the menu I like. It does appear on the desktop but not because of the .desktop file.
OS: fedora 14 63-bit CPU: CPU AMD-64
An example file (if needed) would be nice.
Also, just as a extra, has anyone found the GNAT GPS icon (.png) file?
I have built a database driven web application that has a user and group system that works in a similiar way that Linux handles user access. Breif explanation: A users can access various resources, the resources are assigned to a single group and users can have many groups.
Users
Code:
id name -- ------- 1 RedRanger 2 GreenRanger 3 BlueRanger
[code]....
Lets say that RedRanger needs to be denied access to resource a if I remove him from group 33 he can no longer access b or c which is no good. The only alternative is to change a's group and add everyone else to the new group, this isn't so bad for 3 users, but what about 3,000?
I was wanting to know what's a good programming suite that is comparable to MS Visual C++. I'm also curious about the portability of something I make in Linux, can I make a program in Linux and import it over to Windows, and what would be involved in making it compatible?
I have a user Application for transferring the data from one PC to the other PC using Ethernet Port, can we create a device driver for that ?? that means it should act like a virtual device, if we write data into /dev/some file, it should go the other PC
i wanna do somthing in this can any one help me how i have to start with linux and how to proside to develop some small applications its very much essential for me. give me a guide path with that i have to get things ASAP.
My requirement is to save files before shutting the Linux machine down, unattended ie: when the user is not near the machine. This is done whenever the UPS battery is about to die, so that the files get saved. open-Office/text-editor applications that can be saved using keystrokes will have to be found from the running processes and keystrokes should be sent to them from a C program that was started in non-graphics stage. ie: from a C program that forks into memory as a daemon before xwindows part starts. How to I send keystrokes to a running application? (like cotrol + F and then wait and then send next set of keystrokes till the file is saved as a new file or as the same file itself), either from C program or a script?
I haven't used Ubuntu for a while, and just reinstalled it. I have one major dislike about the new version, There are several applications I click on and it takes me to the installer.How do I remove those types of applications or just install them all?
I feel shy asking this question but, 90% of the applications I install in Ubuntu (last release), do not show up later on in the applications menu, so I cant run them. I know it seems silly, but I can't find the way to handle this inconvenience. Is there a place (like Start> All programs in Windows), were I could find and run all the programs I install?
I was wondering if there was any way to remove icons from the installed applications menu?I recently attempted to install GOG.com's Zork Anthology using Wine and when I de-installed, the icons for those files were still listed in installed applications. Is there anyway to delete them manually?
I'm setting up a large number of virtual machines, each with a basic set of about 30 applications. Obviously, I don't want to do everything manually so I'm looking for ways to automate this process. Multiple distributions (Ubuntu, Red Hat Ent., FreeBSD, CentOS, etc.) will be used, meaning I will have a few Ubuntu installs with the basic set of 30 applications, and multiple Red Hat installs with the same set, etc. So, I'm looking for advice on automating as much of this as I can, even if it means a new form of automation for each distro.
Is there a programmatic way to get the list of all installed applications on Linux.
Also, how can we get the application activities in Linux OS like running applications name, time of day when they started, duration till the applications were running on system, application version etc.
Is there a way to do this in C/C++.
I am building an app that runs like a daemon and fetches the applications status and sends it to the network admin for him to monitor the application usage pattern on the user computers in the network.
Why is it this doesn't seem to happen any more? I recall some time ago, once an application had access to a file, it would lock out other applications from accessing it (the file). But recently I have noticed one can have the same file open in different apps and the file can be changed successfully by one app without "upsetting" any of the others. What's changed?
I have a windows app installed under wine. It works fine. However, it has the ability to launch openoffice to do further functions. Obviously I have openoffice installed under linux, but the wine app cannot see it. How can I make the wine app see across the emulation layer into linux to see the app it needs? Dont tell me I need to install openoffice under wine as well to get it to work!
i have a sony vaio fw455d. i installed linux mint xfce version, problem is when am using skype or the sound recorder program my built in mic doesn't work, i have already downloaded the latest version of alsa.
I considered puppy Linux, but it's not my taste. I don't like the Looks of the GUI. That's very important to me. If you need the computer make and model, here it is. It is a Gateway 2000 4DX2-66.
Since there aren't many available third party packages for slackware 13.1 yet, is it safe to install packages built for slackware 13.0? For example I need to install openoffice and skype and the latest packages i could find are built for 13.0.