Ubuntu :: After Upgrade To Lucid Getting Warnings - Can't Convert String

Jun 24, 2010

After upgrading to Lucid I get the following warnings which I did not have before:

Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

These occur when I start emacs and xpdf. On searching I see people are adding font paths to their xorg.conf file but on looking at mine there is no longer a font section. Also I have few directories fonts/X11/usr/share/fonts/X11$ ls misc/util/. I'm assuming the above folders and xorg.conf file are correct.

View 1 Replies


ADVERTISEMENT

Programming :: Convert The Int To A String Using Stringstream Then Convert The String To A Char?

Mar 26, 2011

Do I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?

View 5 Replies View Related

Programming :: Convert String To Integer Back To String C++ ?

Mar 13, 2010

Code:

The error is:

Code:

What I want to do is take input of ip4 as a string, convert it to an integer to add 1 to it, then reconvert it back to a string. Its not working.

My full code is:

Code:

View 1 Replies View Related

Programming :: Convert String To Int ?

Jul 6, 2010

Iam trying to check a value less than or equals 0.The value iam getting is after doing grep a file . but its throwing error .

Code:

When i execute this it throws

Code:

View 8 Replies View Related

Programming :: Convert String To Int Array?

May 9, 2010

I've searched around and can't find out how to convert a string ( like "12345" ) into an int array ( x[ 5 ] = { 1, 2, 3, 4, 5 } ; ).

View 4 Replies View Related

General :: Awk - Convert Variable To String?

Nov 15, 2010

How do i convert variable to string?

For example:

So how do i make the code with variable work?

View 7 Replies View Related

Programming :: Convert String To Long ?

Jul 2, 2010

convert string to long ?

View 4 Replies View Related

Programming :: Convert From Hex String To Double In C/c++?

Apr 5, 2010

Someone know how i can convert from hex string to double in c/c++?? Example 40668472B020C49C is 180.139

reference page: http://babbage.cs.qc.edu/IEEE-754/64bit.html

View 10 Replies View Related

Ubuntu :: Adobe Fonts - Warning: Cannot Convert String

Jan 21, 2010

I'm having some trouble with some adobe fonts (at least I think that's it). Anyways the errors received are

Code:

Warning: Cannot convert string "-adobe-courier-medium-r-*--14-*-*-*-m-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-courier-bold-r-*--14-*-*-*-m-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-courier-medium-r-*--12-*-*-*-m-*-*-*" to type FontStruct

X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) Serial number of failed request: 643 Current serial number in output stream: 654 xlsfonts|grep adobe|grep courier

[Code]...

I went looking for those files to see if I could symlink a 14 one to either the 15 one or the other ones, but I couldn't find the files anyways. I get this when attempting to run an X windowed program (qmon) and it crashes out while printing the first set of errors.

View 2 Replies View Related

General :: Convert String To Number Without 0 In The Beginning

Jun 8, 2010

I want to convert strings like 002, 049, 050, 100 to numbers: 2, 49, 50, 100.

I tried to use:
Code:
`printf "%5d" $i`
, but it doesnt work , it convert:
002=>2
014=>12
049=>0

View 11 Replies View Related

Programming :: Convert String Array To Character?

Aug 18, 2010

i have problem in java. how to convert string array to character. e.g string a[]={"ab","abc","abd","ag"}; what will be the character array ?

View 3 Replies View Related

Programming :: Convert An 8 Digit String Into A Long

Dec 15, 2010

I'm trying to convert an 8 digit string into a long. The code compiles, but I'm getting only 1 digit placed into the long.

[Code]....

View 2 Replies View Related

Programming :: Convert A String To Its Binary Form?

Jun 9, 2010

Like the binary form of the integer '2' is '10',

How should I find out the binary form of a string say "abcd" ?

View 11 Replies View Related

OpenSUSE :: Warning: Cannot Convert String To Type FontStruct

Jun 9, 2010

I used xbindkeys and xvkbd to map my extra mouse buttons to page up and page down. With kde 4.4 it worked, but since I upgraded to kde 4.5 beta, I get the following error when xbindkeys starts:

Code:

*** Warning ***verify that there is not another program running which captures one of the keys captured by xbindkeys. It seems that there is a conflict, and xbindkeys can't grab all the keys defined in its configuration file. And for button press I get

Code:

Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct

[code]....

View 1 Replies View Related

Programming :: Convert String Into An Integre In Shell Scripting?

Dec 2, 2010

I need to part a string into separate integers ....like "0x0-0xffffffff,0x20000" into 3 integers 0x0 and 0xfffffff and 0x20000.... i can't use any other high-level languages ..

View 3 Replies View Related

Programming :: Convert A Dictionary Data-type To A String?

Mar 17, 2011

how to convert a dictionary data-type to a string?

actually I am trying to update some json file 's dictionary.

View 1 Replies View Related

Ubuntu :: Convert A Lucid Installation To UNR?

May 15, 2010

I want to convert a Lucid installation to UNR, so am I right in thinking I can download the interface from Synaptic to do it. Or is it necessary to download the full version of UNR?

View 2 Replies View Related

Programming :: Copy String A To String B And Change String B With Toupper() And Count The Chars?

Oct 22, 2010

copy string a to string b and change string b with toupper() and count the chars

View 3 Replies View Related

Ubuntu / Apple :: Upgrade From Karmic To Lucid Via Upgrade Manager?

May 4, 2010

How did it work out? What model machine are you using?

Just wanted to get some idea of stability/functionality.

View 9 Replies View Related

Fedora :: Warning: Cannot Convert String "-adobe-courier-bold-r-*-*-12-120-75-75-*-70-*-*" To Type FontStruct

Jan 11, 2010

using the application manager and yum, however, I need to install an executable that is in neither. It isn't an RPM either. $ file results in :

ncplot: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
running:
chmod +x ncplot
./ncplot
results in :
Warning: cannot convert string "-adobe-courier-bold-r-*-*-14-148-75-75-m-90-*-*" to type FontStruct

[code]....

View 10 Replies View Related

Ubuntu Multimedia :: Lost Ability To Convert WMF Graphics After Upgrade To 11.04

Jul 12, 2011

I have a very large graphics library that I use regularly, but all files are in WMF format. Prior to upgrading to Ubuntu 11.04 (was previously on 10.04), these files would preview in Nautilus, and GIMP would automatically convert them when they were opened.

Now, these files no longer preview in Nautilus, nor do they open and convert in GIMP. Package libwmf0.2-7 is installed.

View 3 Replies View Related

Ubuntu :: Convert - Upgrade From System Mint Isadora To 10.10 Meerkat?

Sep 24, 2010

I have linux mint 9 installed and would like to upgrade to ubuntu 10.10 maverick meerkat without reformatting and reinstalling from cd.

update-manager -d is different to linux mint so I can't go the traditional ubuntu way of upgrading.

Can I at least convert to ubuntu 10.04 and then from that; upgrade to maverick meerkat?

If I woulda known it'd be this hard to try the new stuff out I woulda just stayed with ubuntu the whole time. Linux Mint is still cool anyway.

View 6 Replies View Related

Programming :: Convert The String Data Type To Other Primitive Data Type?

Mar 4, 2011

I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.

Code
====
#include <vector>
#include <iostream>
#include <string>

[Code].....

View 7 Replies View Related

Ubuntu :: Put The String Sign Into File / String / Message (rsa)

Mar 7, 2011

I have a String that I would like to sign using a given RSA Private key. I thought this would be relatively easy but I have not been able to find out how to do it, unless I'm looking to far into a simple problem. Do i have to put the string into a file, and sign the file, or can i just sign the string/message?

View 7 Replies View Related

Ubuntu :: Can't Log In Under KDE / Karmic Lucid Upgrade

Jun 9, 2010

I upgraded to Lucid from Karmic.Im now using gnome but would like to get back to KDE. Sadly it seems that even with kdm and plasma-desktop packages installed, I run into a problem at login.If I choose from the downwards facing arrow on the botttom left of the screen, and pick "KDE".Then when I log in, it shows the first icon (a hard disk), goes black and plunks me back on the login screen.This is a Karmic>Lucid upgrade process and I wonder if something got borked in the process.

View 4 Replies View Related

Ubuntu :: Lucid (10.04) No Sound After Upgrade From 9.10

Jun 16, 2010

Once again, after upgrade - NO SOUND. Read all the various forum attempts at getting sound working. Tried them. Still doesn't work. Has been an ongoing problem after each release. Pulseausdio has been removed but still seems to be there somehow, as in, when running alsamixer, the following is output:

alsamixer
ALSA lib pulse.c:229pulse_connect) PulseAudio: Unable to connect: Connection refused
cannot open mixer: Connection refused

or, aplay -l, produces:

aplay: device_list:223: no soundcards found...

so, I guess that's the problem. But how do you get it to recognise the card? The only thing that has been done since upgrading was to remove pulseaudio which wasn't part of the prior install in anycase but somehow injected itself during the upgrade.

View 6 Replies View Related

Ubuntu Installation :: How To Upgrade From Lucid To 10.10

Oct 7, 2010

I am using 10.04 how can I upgrade to 10.10 ?

View 3 Replies View Related

Ubuntu :: Lucid Won't Load After Upgrade?

May 30, 2011

Installed Lucid as a dual boot on Dell Dimension2400. Upgrade Mgr gave me 501 upgrades to install, which Upgrade Mgr did, after which It locks up on login screen. I am getting the following error: [1.809435] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet00:0b:db:a1:a9 [9.412958] b44: eth0: BUG! Timeout waiting for bit 00000002 of register 42c to clear. Do I need to buy a new ethernet card, or is there a "BUG"?

View 1 Replies View Related

Programming :: Pthread - Take String From The Command Line And Creates A Thread To Print The String

May 3, 2011

I've been trying to understand pthread in C a little better. So I made a simple program that takes in a string from the command line and creates a thread to print the string. I've looked online and copied the basic concepts but there are something things I'm confused about. The programs works just fine, but I have questions. Here's what I have so far.

[Code]....

One thing I'd like to know is why the 3rd argument in the pthread_create function which is my SendMessage function needs to be typecasted to a void pointer and then send the address of the function. Also as for the 4th argument, I would see typecasting to void pointer in some of the pthread examples I saw online, but in my case I'm passing a char pointer, would this be correct? In which case would I ever want to pass a void pointer?

Do I need a pthread_exit(NULL) in my main and in the SendMessage function? If so, why? I added the sleep() function so that I could let the pthread_exit function in my SendMessage function execute first. I simply saw that the online examples on pthread had pthread_exit() in both locations.

View 6 Replies View Related

Ubuntu Installation :: How To Upgrade To 10.04 Lucid Alpha 3 From 9.10

Mar 1, 2010

i tried update-manager -d from GUI and asked to downlaod 678 MB...so i downlaoded the i386 iso 685 from cdimage.ubuntu.com/alpha-3..now how to upgrade to 10.04 lucid alpha 3 from 9.10.

View 1 Replies View Related







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