Is it possible to implement ribbon interface in Windows7 in GTK or Qt? If yes how to do it? Answer Yes, some libraries for Ribbon widgets have already been released. see this post and this one. There is also QtitanRibbon, an implementation of Microsoft’s Ribbon UI for QT.
Tag: linux
linux command line: du — how to make it show only total for each directories
I am doing it by (with coreutils_8.5-1ubuntu6_amd64): I am looking for a simple way (shorter cmd) to find size of subdirectories. Thank you. Answer This works with coreutils 5.97: du -cksh *
Bash – for i in cat?
I’m not a bash scriptor, so this is no doubt a very simple question. I have a bash script throwing an error. It looks like this: The error is on the second line, related to the curly brackets. So it seems curly brackets shouldn’t be here… in which case, what should line 2 look like? The scri…
Is there some kind of equivalent to .NET’s BackgroundWorker in Vala?
I’m trying to learn Vala so I’m making a small GUI application. My main language before has been C# so things are going pretty well. However, I’ve hit the wall now. I need to connect to an external network server (using GIO) which doesn’t answer my client immediately. This makes the GU…
How to access share folder in virtualbox. Host Win7, Guest Fedora 16?
I’m a newbie in linux. I installed Fedora 16 OS as guest in virtualbox on Window 7. Now, I want to access share folder from Fedora. Here is something I did: Install guest addtion [OK] Make share folder link to virtualbox [OK]. Share folder path in Window 7: D:share_folder_vm In terminal program in fedor…
BASH – weird characters coming out from a pipe
I have this script which simply kills an app If I write the kill command manually as a oneliner than it works. But I have to run it as a script which doesn’t work. So I tried to debug it and here is the result Why do I keep getting those strange characters on the kill line? How can i
Assignment of variables in shell scripting
I am trying to write a shell script to simulate the following problem: File A contains some entries like and File B contains the final file should have (contents of file b which are not there in file a) I was trying something like this but it’s not working: Answer You code has some errors: forgot the cl…
logrotate configuration file development and testing
I have two questions related to developing configuration files for the logrotate tool on Linux systems. When I make a change to a file in /etc/logrotate.d, do I need to somehow notify logrotate so that it will recognize and respond to the change? It seems to notice changes on its own, eventually, but when tes…
Replace of XKeycodeToKeysym
When I try to build my code with the X11 headers in Ubuntu 12.04 What is the expected result? Compiles. What happens instead? As a result of https://bugs.freedesktop.org/show_bug.cgi?id=5349 XKeycodeToKeysym is now properly marked as being deprecated. How to fix my code for warning free and correct build? Tha…
npm fails to build socket.io with Error “Not compatible with your version of node/npm: commander@0.5.0”
I cloned socket.io from https://github.com/LearnBoost/socket.io.git bit it fails with the following Message My current version of node and npm is as follows Is it that my node version is higher than the supported upper limit? If so what is the solution? I am clueless as to how to proceed from here. Please !!H…