In GTK, how do I change the localized language text on the UI while it's running?
In Linux, is it possible to change the UI language on the fly which is created using GTK? I have a application which needs to change UI language on the fly. ...
In Linux, is it possible to change the UI language on the fly which is created using GTK? I have a application which needs to change UI language on the fly. ...
I have a problem with installation of java j2sdk 1.4.2 on 64bit linux (Ubuntu 10.04). Did anybody handle it? uname -a 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux I run a self-extracting file sudo ./j2sdk-1_4_2_02-linux-i586.bin but I get tail: cannot open `+473' for reading: No su...
I'm trying to exctract error lines from my log file: I used this : more report.txt | grep -E (?i)(error) I'm getting this error msg : bash: syntax error near unexpected token `(' What am I doing wrong? I'm trying to extract all lines containing "Error" ignoring the case sensitivity so it can be error, Error, ERROR etc. ...
Hi, I am using mono 2.8 with Visual Studio 2008. I have installed "mono-2.8-gtksharp-2.12.10-win32-9". I am creating a windows application and its setup solution is working fine on Windows OS. But when I am creating package for Linux and follow the instruction from http://mono-tools.com/Package.aspx Step-1 to Step-5 are done but afte...
Hi I have a method in my process that should be run only if the process is not in background. How can I dynamically test if the current process is in background ? Thanks ...
I have 2 laptops, one is Core2Duo and one is a Corei7. I heard somewhere that Linux is not able to utilize multiple processors for processing. Is this true ? Or is it that it can use 2 processors but not a quad processor ? ...
on linux system, in the directory /sys/devices/system/cpu/cpu0/cache/index0/ what is the meaning of "ways_of_associativity" ? Do somebody know the answer? ...
Hi, I just got control over a linux server. The previous admin installed DirectAdmin. However, mail isn't functioning right. DirectAdmin says it has made some accounts, but the IMAP server doesn't respond to those logins when I try to login with SquirrelMail or Roundcube. I then uninstalled all mail packages and installed postfix and c...
I have several users on a computer running Linux (Ubuntu Lucid to be more specific). I need to see how much network traffic they generate on a specific interface. Iptables can match outgoing packages, so I could create chains for every user to be able to count outgoing network traffic. However, incoming traffic is significant too. I h...
Sorry for my english! I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well. To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily. Now, i wish to write a bash script that wil tes...
I'm trying find out, how to start jboss with cron job at a particular time. What I'm doing at the moment is setup a cron, then inside jboss startinstance script I put sleep 700 seconds untill jboss starts. Is there a better way to actually know when jboss has successfully started and then continue with the flow after, instead of sleep...
I have a site which contains around 3000 static and dynamic pages. I think 2900 of the pages are based on 3 different php pages which create all the 2900 pages based on database content, and it has about 100 static pages. How difficult would it be to integrate a CMS into the website so our Marketing department can make changes to the w...
I would like to call a program or a script with a relative time offset (or, alternatively, with an absolute time value) on Linux. Think of it as setting the system date and time, except not globally for the system but locally for the script/program and all its child processes. Is that possible? ...
I have a system that is un-usable because I keep getting logs every second from the kernel. The system can actually start up and in the little spaces between the messages I can actually log in. But the kernel just keeps throwing this message every second on the screen(all the terminals). I want to know if there's a way to stop kernel fro...
Hi, I am trying to run some Java code I found on linux. maudecmd = new String[files.length+5]; maudecmd[0] = "maude"; maudecmd[1] = "-no-banner"; maudecmd[2] = "-no-ansi-color"; maudecmd[3] = "-no-mixfix"; maudecmd[4] = "-no-wrap"; for(int i = 0; i < files.length; ++i) { maudecmd[5+i] = files[i]; ...
Can local message-based sockets transfer messages up to the SO_SNDBUF/SO_RCVBUF limits, or where can the so-called 'fixed maximum length' be determined for a descriptor created with socket(PF_UNIX, SOCK_SEQPACKET, 0) or socket(PF_UNIX, SOCK_DGRAM, 0)? ...
When accessing a page through a subdomain, all includes and relative paths break (even though the directory structure on the server should allow for the relative path to find it). What's the best way to have files on multiple subdomains access central resources (without using absolute paths)? An JavaScript example: m_url : '../code/ph...
I am trying to extract Excel Documents which embedded inside word document as OLE but its failing hard. I need to put it in server side script so console or script is necessary. And automating Open Office is very resource hungry .. Is there any tool or libraries to do this ? Please help.. ...
I have 4 .c files hello.c,here.c,bye.c and main.c. One header file mylib.h The contents are as follows hello.c #include<stdio.h> void hello() { printf("Hello!\n"); } here.c #include<stdio.h> void here() { printf("I am here \n"); } bye.c #include<stdio.h> void bye() { printf("Bye,Bye"); } main.c #include<std...
Hi, I'm interested in creating a GUI for a Linux operating system. What I'm trying to do, is, a program will be the GUI -- the program will have be quite basic. I think this question will go into Embedded Linux development, but I'm not sure where to start neither the amount of tutorials or help available. Thank you for any help. ...