Tag Info

Hot answers tagged

5

This works for me. Might not work with all applications and all window managers. The pam format is at least supported by ImageMagick, so you can view it with display and convert it to other formats if need be with convert: xprop -notype 32c _NET_WM_ICON | perl -0777 -pe '@_=/\d+/g; printf "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\nTUPLTYPE ...


4

You want libguestfs. You can use it via guestfish or guestmount, or use the library directly through its C interface or any of the many language bindings, like Python.


4

Ok I've found the solution : mount the directory using cifs rather than smbfs, and it works ! I added the following line to fstab : //windows-computer/share /home/jj/smbShare cifs username=jj,password=***,perm,iocharset=utf8,uid=jj,gid=users,nounix,noserverino 0 0 To avoid putting your Windows password in the fstab file, you may use a credential ...


4

Your root file system (which by the way is extremely small, even considering that you have /home, /tmp, /usr and /var elsewhere) is practically full; that exact df invocation reports 24 MB free on /, which adds up well with the 23.87 MiB reported by the wizard. I'm guessing this is because parts need to go into locations outside of the supposed installation ...


3

This isn't necessarily Unix/Linux specific, so you are probably better asking this on Stack Overflow. Never the less, QtCreator is usually quite good at detecting alternative Qt installs, just create a new project and look under the Projects tab on the left. You can set different build configurations there. There should be a drop down box to select from the ...


3

I don't know where you got the idea that doing a make clean before a make install was somehow something you should be doing. The canonical INSTALL file for autotools spells out the process: ./configure make make check (optional) make install make installcheck (optional) At item 6, it says: You can remove the program binaries and object files from ...


3

One application is using GTK2 and the other is using GTK3 (unless I'm mistaken). Thus, you need to switch to a theme with both GTK2 and GTK3 components. One theme that supports both is Phenix, but if you search you can find many others. Most GTK3 themes on OpenDesktop.org also support GTK2. As for Qt, install qtconfig (I'm sure Arch has some version of it ...


2

You can develop with the Qt SDK on all the distros where it is available (and compile the open source edition often enough when it's not directly packaged, provided you can use that license). What the primary desktop environment is based on is largely irrelevant (you could develop non-GUI Qt apps on a headless server if you felt like it). What you can ...


2

Your question is a bit strange, since QtCurve is a Qt/KDE theme already. If you want to build your own theme based on that, the easiest thing to do is to download its source from kde-look.org, start by building it without modifications to make sure you've got that part right, then start changing things progressively. If you want to write a Qt style ...


2

You need superuser privileges to be able to mount. But those could be given to you by setuid helper commands like sudo, mount or fusermount. In /etc/fstab, and admin can grant some mere users to mount specific FS. Some users can be allowed to mount filesystems via fuse (for instance, if the FS is ext, you may be able to use fuseext. Or maybe you can do ...


2

Concerning this one the following comes into my mind. You can add a line to your /etc/fstab for the device you want to mount as a user with normal privileges. An example line would look like /dev/mydevice /mnt/directory auto rw,user 0 0 With this line a normal user can mount mydevice to /mnt/directory and additionally can read from- and ...


2

Have a look at /etc/X11/xinit/xinitrc (this may be different places on different systems) to see what files it sources. Generally, this will have an if..elif..else structure, so that only one initialization file is read, with $HOME/.Xclients prioritized then /etc/X11/xinit/Xclients. That's almost certainly where the terminal that appears comes from (I am ...


2

I tried your script, with latest (2.4) version there was no problem, If you forget to terminate the QProcess before closing main window of your program, you usually get this warning, I think the author has fixed that problem: QProcess: Destroyed while process is still running. texstudio doesn't release the pesudo tty when it's started, so deleting of ...


1

First of all, you can take a look at the versions available for the package you want to upgrade with this command : apt-cache show qt4-desiger | grep Version You can also use http://packages.debian.org/search?keywords=qt4-designer You can then force the installation of a given version by doing : apt-get -uVf install qt-designer=4:4.8.2+dfsg-2 ...


1

As far as I have understood the situation with LXDE, they are not 100% sure to switch to Qt. Since there will not be any further development on GTK+ 2, they have to choose between GTK+ 3 and Qt. It looks like there will be two version of LXDE one with Qt and the other with GTK+ 2 or 3, until they decided which to choose. To answer your question, today you ...


1

Given it's developed using the GTK+ Toolkit I would assume that developing using GTK2 would make the most sense. excerpt from LXDE wikipedia page LXDE is written in the C programming language, using the GTK+ toolkit, and runs on Unix and other POSIX compliant platforms, such as Linux and BSD. GTK+ is commonly used in many Linux distributions and ...


1

I would start with this query on the Qt website. The first link goes to the 4.8 documentation but you can go to that page and change the URL so that it goes to 4.7 to see the supported platforms/architectures that Qt supports. http://qt-project.org/doc/qt-4.7/supported-platforms.html I would do additional searches on the qt-project.org website to see how ...


1

Open KDE System Settings and then go to the Application Appearance / Fonts tab. Make sure that Force fonts DPI is unchecked or set it to a reasonable value. You can also edit ~/.kde/share/config/kcmfonts and set forceFontDPI=0. This is better done while not logged in KDE as the target user.


1

It's not a locale problem. I don't know Greek but I can tell from your screenshot that it's perfectly normal English. It quite clearly says "Welcome to VirtualBox", there's a button that says "New", the one next to it suspiciously looks like "Settings", there are several "the" and other English words. If it actually was Greek I'd expect it to look very ...


1

Try adding the following to your /etc/default/locale file, maybe also on /etc/environment. LC_ALL=en_US.UTF-8 LANGUAGE=en_US.UTF-8 More adequately add the following to /etc/profile : ${LANG:=en_US.UTF-8}; export LANG : ${LC_ALL:=en_US.UTF-8}; export LC_ALL If after rebooting that doesn't fix the issue, try running virtualbox from a terminal like this ...


1

If UTF-8 encoded files are presented to the tools, all non-latins are handled correctly. Then I suggest you recode the files to UTF-8, merge them, then recode back if neccessary. GTK Meld (and all other GTK apps) handles the chars (ISO-8859-1 and UTF-8) quite well. I guess you might call this a feature, not a bug: when the application sees some ...


1

Just to add a little detail: OpenSUSE 12.2 is using libQt 4.8.1, while Tumbleweed and Factory (12.3) are using libQt 4.8.4. There will be no need to perform a major version upgrade to Qt5 in the foreseeable future. Equally, as harish provided; KDE4.10 does not require Qt5; so if you are running an installation of openSUSE Factory (which will receive Qt5 ...


1

Did you compile Scribus with -no-rtti? The backtrace hints at a failure to locate the typeinfo of ScribusQApp. Scribus doesnt rely on RTTI and I thought Qt didn't, either. Yet the error occurs in an unnamed function in /usr/lib64/qt4/libQtGui.so.4. So my advice is to check the compile settings for Qt and Scribus and make sure they use the same RTTI ...


1

Here's a (quick-and-dirty) shell script that might help you. Adjust the output format to something that's easy to parse for you. Finding the right icon could use some improvement to select the highest resolution image. Maybe there is a better way to get the optimal icon using gconftool or something, I don't know. #!/bin/sh ...


1

To be able to run application without specifying whole path to it, directory where executable is installed must be in $PATH variable. You can check what is in $PATH by using echo $PATH. To modify $PATH you can use export PATH=$PATH:/usr/lib64/qt4/bin/. After that you can use just moc to start it. To make changes permanent you may put that line to your ...



Only top voted, non community-wiki answers of a minimum length are eligible