Jump to content

baudolino

Members
  • Posts

    29
  • Joined

  • Last visited

baudolino's Achievements

New Here

New Here (1/7)

0

Reputation

  1. in case someone tries it, in #13, create /tmp/pdf_out as a directory. it works converting .txt , .ps or .jpg files, but not word or excel files. does converting word/excel works for you? do you know of a PPD that does this? isn't a PDF virtual printer suppose to convert anything printable? regards, baudo
  2. why don't you store the binary number in an unsigned integers? if n is an unsigned int, then the (k+1)-th bit (numbered from the right starting with 1) of n is given by the expression (n >> k) & 1 .
  3. assuming that you work with 5 bits unsigned integers, pipplo's idea does not identify 10000, because of the arithmetic overflow. another idea is to use the C constant UINT_MAX (which give the maximal unsigned integer value) like this n unsigned int; if ( (UINT_MAX - n) +1 == n) then UINT_MAX is defined in limits.h
  4. add the option -lm to the gcc command. look also at 14.3 in the C-faq linked below http://www.faqs.org/faqs/C-faq/faq/ baudo
  5. i installed 9.2 yesterday and alsamixer was not installed by default. here's an alsamixer-free solution to restore the sound: after installation /dev/dsp and /dev/mixer were 2 links whose targets were owned by root, were in the audio group, and had permissions rw-------. as root, i added my username to the audio group and changed the permissions of those 2 target files to rw-rw----. it worked like a charm. you might need to modify the volume using aumix or whatever, cause i heard that the volume is 0 by factory default. just to be clear, you need to change the permissions of the target files at which /dev/dsp and /dev/mixer point, not the permissions of the /dev/dsp or /dev/mixer. (Permissions of a link file are irrelevant, only the permissions of the target file matter.) btw, what exactly alsamixer does? baudo no longer sound deprived
  6. baudolino

    /1

    finally, after almost 1 year, i have an answer to my first question on this forum. :-) thanks to a recent post by scoopy, i found the answer listed on a mandrake webpage as the #1 Mandrake Worst-Of here is a link http://qa.mandrakesoft.com/twiki/bin/view/Main/BestOf baudo 9999 questions to go
  7. here're some links i perused. http://ciips.ee.uwa.edu.au/~morris/Year2/P...210/ds_ToC.html http://linux.wku.edu/~lamonml/algor/sort/sort.html get a good textbook. the standard one is here. http://www.amazon.com/exec/obidos/tg/detai...=glance&s=books baudo google is my friend
  8. I also stumbled upon this error recently trying to install lfs. You need to install glibc-static-devel. See also this link: http://lfs.learnbyexample.com/faq/#conflic...ing-gethostname Have fun with lfs. I know I did.
  9. set the shell to the full path of the mail reader you would like the new user to use. (you will need to add the full path of the mail reader to the list of shells /etc/shells)
  10. Not just sure I understand the problem, but here is a solution. Set the sgid bit for the top directory (chmod 2xyz, where xyz is the octal version of the current permissions). All the files created in the top directory (meaning any file in a directory in a directory in a .... in the top directory) will have the group id set to the group id of the top directory. baudolino sgid guru
  11. I want that, whenever pppd connects to the internet, a certain window applet (wmWeather) to be automatically executed (to appear on my screen). My script /etc/ppp/ip-up.local is executed (I checked this using the "touch /tmp/hello", which does what is suppose to do), but the applet does not appear on the screen. Here is the script: /etc/ppp/ip-up.local --------------------------[start] #!/bin/bash /usr/X11R6/bin/wmWeather -station KTTN touch /tmp/hello exit 0 --------------------------[end] Now, I know that /etc/ppp/ip-up (which calls /etc/ppp/ip-up.local): 1. runs as a root, 2. changes the PATH, 3. sets the standard input, output and error for all commands inside to /dev/null, but i don't see how any of these will explain why the line executing wmWeather in /etc/ppp/ip-up.local, which is for sure is executed, does not pop-up the applet on the screen. Leads that did not get me anywhere: 1. /etc/ppp/ip-up.local runs ok, when called from a command line. 2. I looked inside the source code of the applet, and all commands have complete paths (so a changed PATH shouldn't be a problem). 3. The following lines from man pppd regarding ip-up did not get me anywhere either. /etc/ppp/ip-up A program or script which is executed when the link is available for sending and receiving IP packets (that is, IPCP has come up). It is executed with the parameters interface-name tty-device speed local-IP-address remote-IP-address ipparam Any leads are gratefully appreciated. baudolino clueless as always
  12. nice. how did you make xterm transparent? I tried window.frame.*.opacity: 100, but it did not work. also, what are the left 5 applications on the bbbutton dock? waimea rocks
  13. after some search, google gave me 2 other choices. fancylogin and francine. eof
  14. Any login managers out there apart from kdm, gdm, and xdm? baudolino loginee
×
×
  • Create New...