Ubuntu :: Programmatically Finding Out The Application Font

Jan 10, 2011

I am writing an Air application and I would like to have the app use the font indicated in Appearance Preferences.

A similar problem to this one :

[URL]

I do not have Gtk::Settings and I have looked in ~/.gconf/desktop/gnome/ but I do not have an interface folder and none of the others I opened have any font details.

I have tried simply not setting a font within my application but it is using a font not specified in the Appearance Preferences at all. It looks like Times.

Ideally I would like to be able to get this information from Ubuntu using a native process :

[URL]

get the font name of the Application font or would I have to write a script and call that from inside Air?

I have a default installation of Ubuntu 10.4 with Unity running on top of Gnome. (I think this is correct. I certainly can get Nautilus running quite easily and as I mentioned earlier I have ~/.gconf/desktop/gnome/ folders).

The brief is to get the application working on the default installation so I cannot install anything but the target machine I am using has got 'gconftool'.

View 2 Replies


ADVERTISEMENT

Programming :: Install And Use The The Font In The Application?

Jun 24, 2010

1. How to use the the font in the application? Any code example?
2. How to install the font for linux?
3. How to make the installed font as the system default font?
4. How font/text is rendered in linux? Any inforamation about the font system in linux?

View 14 Replies View Related

Ubuntu :: Change Font Used By An Application For It's Window Border Header?

Mar 22, 2011

I'm trying to use TCM (Toolkit for Conceptual Modeling) but the font used by the application for menus window headers & such is very hard to read. I can change the font used for fields within the application in the configuration file, but there doesn't seem to be a way to change the fonts for the other fonts.

Is there a way to do this through gnome or Ubuntu?

View 2 Replies View Related

Ubuntu :: Finding An Application Similar To Xournal That Can Use Handwriting Recognition?

Sep 14, 2010

Is there an application similar to Xournal that can use handwriting recognition?

View 6 Replies View Related

Debian Multimedia :: Finding An ATI/AMD Gpu Monitoring Application?

Apr 24, 2011

I have searched but I couldn't find anything. I would like something small like a screenlet to monitor fan speed and temperature of an AMD 6970 gpu. So far I could only find for nVidia's products.

View 5 Replies View Related

OpenSUSE Multimedia :: Finding A Application To Play Dvd's?

Aug 3, 2011

I have all multimedia packages installed as the instructions of opensuse site (ffmpeg, libdvdcss, ...) and plus some others not mentioned there (gstreamer, libav ...).Recently I was watching a dvd in kaffeine but several times the video and audio had small stops of about one or half second. It even came to the point of skipping a bit of the video. I tried vlc and the same thing happenned up to a point where the video froze at all. Also in other dvd's, when I tried to watch the content of a menu option vlc skipped the first few second of that scene before playing it. I tried smplayer and the exhibition of video was perfect except by the fact that it don't recognize dvd menus and subtitles. All mplayer gui's don't recognize them.So what player available for opensuse is able to recognize menus, subtitles and at the same time play dvd movies without other problems?

View 9 Replies View Related

Software :: Finding A Application For Reading Documents?

Apr 23, 2010

I am trying to find an application with low dependencies ( not okular ) that i can use to book mark my pdf's and ebook's. I am reading tutorials and its driving me nuts not being able to book mark my position or key topics. It would be nice to have something to manage all my books. I am currently using evince and its ok. As stated above I need to make things more...well..readable. I currently use gnome. I dont want to switch to kde. Okular worked well in the past; however, once all the requirements are met its almost kde.

View 2 Replies View Related

CentOS 5 :: Finding A Image Editing Application?

Aug 31, 2010

recommend a good image editing application for Centos?

View 3 Replies View Related

Software :: Finding A Cross Platform (Win) LAN Chat Application?

Mar 5, 2010

I am looking for a cross-platform LAN IM software for use on my home network, i've got some windows vista & Debian boxes. Is there any such software? I have looked around sourceforge and freshmeat. I tried J-Lan Communicator, it didnt work

View 1 Replies View Related

Software :: Finding A Web Application For Searching And Viewing Documents?

Feb 10, 2010

I have a Mandriva server with a lot of documents (mostly in pdf format) on it. I want to be able to search on this server for certain documents, via the browser. Most preferably searching through the full contents, but a search on file name only would also do. When a document is found, it should be able to download it from the server, or view it on-line.

View 3 Replies View Related

OpenSUSE :: Finding Application To Communicate In MSN Via Video And Audio Chat?

Aug 14, 2010

I have installed the latest version of aMSN (aMSN | Download aMSN software for free at SourceForge.net) which supports sending my webcam video. Unfortunately, it is unable to send my audio at the same time which is highly frustrating.

Does anyone know of a Linux equivalent of MSN which allows video and audio communication. I have tried Kopete, although the call feature button is inactive, despite having setup my webcam in this program.

I have also tried installing a program called qnext, though webcam and audio support between alternate different Instant Messengers (IM's) are not supported.

View 3 Replies View Related

General :: Finding The Command Line To Launch An Application From A Terminal?

Sep 25, 2009

Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.

View 5 Replies View Related

General :: GUI Application For Finding / Deleting Duplicate Data Files

Jan 10, 2011

I copied a back up of my windows 'my documents' fold and all of its' sub folders into my linux (Mint Debian) Documents directory. I found that many of my files can be found in more that one directory so, what I want to do is to find all the dups and deal with them. Is there a good linux application to resolve this 'duplicates' problem. (I don't want to touch the linux system files.)

View 2 Replies View Related

Software :: Finding A Remote Desktop Application That Will Work With OpenGL

Nov 22, 2010

I need to be able to open an openGL based piece of software remotely (like Maya or 3D Studio Max, for example). The server will be a linux machine (CentOS, currently, fwiw), but the client should be able to run on at least Linux and Windows. This will happen over the internet as opposed to over a LAN.

So far, I've tried

- "NoMachine NX" which is pretty good, but it seems to have some issues with GL. Maybe this can be fixed in xorg on the server (disabling overlays or something like that)? not sure.

- HP Remote Graphics Software (RGS) which works fairly well with Cent & Windows, though is sometimes a little slow. It also doesn't seem to be happy on Ubuntu, which is a pretty big bummer. It's also a bummer that it's somewhat expensive. That said, it's still the front-runner.

- VNC which was very slow.

It's imperative that it can transmit very complex rendered OpenGL properly. It's ok if it's slow to tumble/refresh, but it should be correct.

View 2 Replies View Related

Ubuntu :: Finding An Application That Will Take The Data From An Open Office Spread Sheet And Locate And Mark Each Address On A Map?

Mar 10, 2010

Is there an application that will take the data from an Open Office spread sheet and locate and mark each address on a map?I've got a long list that I need to sort and locate by zip codes.

View 9 Replies View Related

Ubuntu :: Generate Pdf Documents Programmatically Using Ruby

Apr 1, 2011

I need to generate pdf documents programmatically using Ruby. i.e. I don't want a GUI interface but an API interface. The bulk of my document is text but there are images included as well. I've looked at this thread: [URL] and it's 2 main recommendations PDFEdit and ImageMagik. PDFEdit has scripting available but I can't get my head round how to call this using Ruby. ImageMagik has a number of Ruby wrappers and is the kind of thing I want but as far as I can tell it only deals with Images and my stuff is mainly text.

View 1 Replies View Related

General :: How To Stop Fan Programmatically

May 27, 2011

My system doesn't reacts at writing values below 255 to /sys/class/hwmon/hwmon0/device/pwm(2,3) which correspond to 3-wire case fans connected via M/B (ga-890gpa-ud3h) headers. The idea was taken from [url]

ls /sys/class/hwmon/hwmon0/device/

It indeed shows the actual speed:

But refuses to write to fanX_input: permission denied (even for root).

More specs: kernel 2.6.38.4, sensors output is:

I do not run any daemons for fan control, but suppose the speed may be set by CPU in-kernel governor. How to stop a fan under this conditions without doing hardware tricks?

Upd: part of pwmconfig's output:

Devices:

Found the following PWM controls:

hwmon0/device/pwm2 is currently setup for automatic speed control. In general, automatic mode is preferred over manual mode, as it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n) y hwmon0/device/pwm3 hwmon0/device/pwm3 is currently setup for automatic speed control.

In general, automatic mode is preferred over manual mode, as it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n) y

Test:

Warning! This program will stop your fans, one at a time, for approximately 5 seconds each! This may cause your processor temperature to rise! If you do not want to do this hit control-C now!

Hit return to continue:

Would you like to generate a detailed correlation (y)? y

This was stopping CPU fan. And:

View 2 Replies View Related

General :: Programmatically Detecting A USB Device?

Dec 14, 2010

I have a USB modem and a large C++ application that needs to detect whether that device is present or not. I was hoping to get advice for what the best method to do so would be. The only solution I've thought of is to parse the output of lsusb and look for the vendor and product ID of my device, but that seems a little hack-ish and inefficient. Is there a command or program that I can provide it a vendor/product ID for a USB device and it can tell me whether or not such a device is present in the system? Or another, better way to detect the device than parsing the lsusb output that I've been thinking

View 2 Replies View Related

Programming :: Programmatically Getting Standard File Dialog

Jul 14, 2010

Is it possible to do the following in C/C++ in Linux:Without direct linking (my program should NOT depend on Qt or GTK), display a GTK or Qt based file dialog.The behaviour should be something like this when my program runs, when you want to open a file:The program scans whether you have Qt installed. If so, it somehow manages to link itself to Qt (e.g. dynamically loading the .so file) and display its file dialog and get the path from it. If Qt wasn't found, it tries the same with GTK. If that also wasn't found, it displays a less powerful replacement dialog instead (better than nothing).

Or is there any other simple way in Linux to get a standard file dialog somehow (similar to when compiling for Windows you can very easily get its standard file dialog, no matter what version of Windows, in your code, even if your program doesn't use any other Windows GUI at all).

View 4 Replies View Related

General :: Programmatically Connect To A Box Running Ssh From A Windows Pc?

May 11, 2010

I am writing an application that has a web service client on a Windows PC that needs to call a web service on a Linux server. In order to create the client, I need to be able to programmatically read the WSDL on the server and use it to create the client. I'm using the web tools in MyEclipse to build the client.

The Linux server is running Red Hat, I believe, with ssh enabled. I can connect from Linux to Windows with no problem, but I can't reach the Linux box from Windows. I get one of three errors when I try: no path to host, connection reset, or unknown error number, depending on the port I use. I've googled for an answer, but haven't found anything yet.Is there some way to add the Windows IP to a permission file on the Linux machine so it will be recognized when it queries for the WSDL?

View 9 Replies View Related

Networking :: Programmatically Check Process Down / Up Stream

Aug 31, 2010

I wonder if there's a way to capture the same information I can get from nethogs to a file. All I need it per process (rather than per interface) what is the sent/received traffic.

View 1 Replies View Related

General :: Create A Png Or Jpeg File Programmatically?

Oct 3, 2010

Given a matrix with 0,1 entries, how can I create a graphic in linux such that we have a black square or pixel if the entry is one and white otherwise?

For example, if the matrix is:

0001000
0011100
0111110
0000000

then I want a graphic that looks like:

[code]....

I will be working with many large matrices, e.g. 1000x1000, or 5000x1000 so I need to do this automatically.

View 6 Replies View Related

Software :: How To Programmatically Determine Monitor Type

Jul 7, 2010

I know the tool system-config-display can tell me all about my display but it's not available on all systems and so I'm looking for alternative ways to get my monitor type. Ideally, I could just look in /proc but I don't see anything there and I would like to be able to do so from a script perhaps written in bash or perl. Is there some place to get this info, say in a config file somewhere?

View 2 Replies View Related

Programming :: Programmatically Set File Associations In Gnome/KDE?

Jun 3, 2010

I would like to associate my program with several file extensions programatically.

Everything I've been finding online is how a user would set a file association, does anyone know how to do this progormatically (bash, C++, etc)?

I would mostly like to get this to work with Gnome, but KDE would be nice as well.

View 3 Replies View Related

Programming :: Get Default Browser Name And Mail Client Name By Programmatically?

May 4, 2009

I am developing a application in which i have to show the name of default browser and mail client. i want to run this application on RedHat, SuSE, Mandriva, and Ubuntu. I have checked similar threads but not found any useful information.

View 8 Replies View Related

General :: Create And Install All Relevant Font-metrics And Fontmaps Of A TrueType Font For (pdf)TeX?

Jul 9, 2010

Essentially I have found this guide, but it is for miktex, i need a guide for texlive on Debian/Ubuntu which will not pollute dpkg installed texmf.

I'm interested in converting TrueType font to be usable in (pdf)(La)TeX.

All the power google turn up just stuff f relating how to install microsoft fonts or do stuf on MikTeX.

I CANNOT USE XeLaTeX!!! I use pstricks and the font must be available in plain TeX! Otherwise my document looks inconsistent!

View 1 Replies View Related

General :: Missing Glyphs In Terminus Font - Setup A Fallback Font?

Jul 8, 2010

Most of my work happens in a terminal, so I need a clear, readable font. I've settled a while ago on Terminus [URL]..., which works wonders for me. I added XTerm*faceName : Terminus in my ~/.Xdefaults, and I do get the Terminus font. Unfortunately, a lot of Unicode glyphs are missing (mathematical symbols, greek and hebrew letters), displaying as little square blocks instead.

If I remove the faceName entry, the default configuration seems able to display most of the glyphs (including math, greek, hebrew, runic, and whatever else), but the default font is much harder to read.

A google search hints that it should be possible to use Terminus as the default font, and fallback to (an)other one(s) for missing glyphs, but provides no further explanation. I've seen documentation that recommends Bitstream Vera Sans as a fallback, but it lacks the glyphs I need too; I don't know how to identify the default font used by xterm either, I had a look at /usr/share/X11/app-defaults/XTerm, but all I can find are generic references to old pre-fontconfig font names.

Using Gentoo Linux, fontconfig and xterm are up to date, USEs trutype and unicode enabled, X.Org server 1.6.

Edit: I alternate between Ratpoison, Awesome and XMonad, without a desktop environment.

View 1 Replies View Related

OpenSUSE :: Can't Change Font - Font Size FIrefox 3.6.8

Aug 16, 2010

I can't change fonts in Firefox preferences (Content).

My OS is openSUSE 11.3, KDE 4.4.4. release 8.

Any type and size of font I use, nothing happens. It's still same font which I choose for the first time I've started Firefox afer installing openSUSE 11.3.

View 4 Replies View Related

Ubuntu :: By Default Pango Is Choosing AR PL UMing CN As Font To Render Japanese Text When Current Font Doesn't Have Japanese Glyphs

May 4, 2010

Actually I want to log a bug but I don't really know what package to log it against. The problem is that by default Pango is choosing the AR PL UMing CN as the font to render Japanese text when the current font doesn't have Japanese glyphs. But AR PL UMing CN is a Chinese font, so Chinese glyphs for kanji characters (e.g., 覚) are displayed. This is jarring and confusing for Japanese readers.

This situation mostly arises when you have mixed English and Japanese text. Some applications (for instance Firefox) will allow you to select a font for Asian text. Thus if the text contains only Asian characters it will use the font you select, rather than what Pango would have selected. But if it is a mix of English and Japanese, you end up with the wrong glyphs.

Other environments (like gnome-terminal, or a gedit) have difficulties as well. Since the primary interface requires mono spaced roman characters you run into difficulty selecting fonts. Most Japanese fonts only have proportional roman characters. This means that if use a nice roman font and use Japanese text (for instance file names), you end up with Chinese glyphs. What I want is a mechanism that will work across all of Gnome for selecting the font I want to use for Chinese characters. That way I can choose either Japanese or Chinese glyphs.

I realize this is low priority. It only bugs me a little, but many of my Japanese colleagues are put off from using Ubuntu because they are confused by the Chinese glyphs that pop up on my screen from time to time. As I said, I'd like to file a bug, but I'm not sure against what package...

View 2 Replies View Related

Fedora :: Upgrade To KDE 4.4 And "Configure Kmail" Displayed In The Default Font No In Console Font

Feb 25, 2010

In all previous versions of KDE I had Console8x16 set as KDE font for all cases (Settings->Appearance->Fonts). After tonight upgrade, this (only!) font is not working. I can see it in font manager, I can set it in ...Appearance->Fonts, but actually remains default font. Two of about 30 attempts somehow (can not reproduce) succeeded to set "console 12" font, but it disappeared after restart.

1. What can be the problem in 4.4?
2. In /usr/share/fonts tere are 3 files named console8x16.pcf, console8x8.pcf and console9x15.pcf, but in the font list in Appearance->Fonts I can see only 2 - one named "Console" (seems to be 8x16 and "console" (8x8). File 9x15 does not appear at all. Why?

Last results of attempts: cannot use console font in part of areas, while part works OK. For example: kdevelop editor, kmail message body text works OK. But kmail other parts - does not. The most interesting is that although setting the kmail body message text to console displays the message body text correctly (with console font), but the example message in "Configure kmail" dialogue "The Quick Brown Fox Jumps Over The Lazy Dog" is displayed in the default font, as if there is no console font!

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved