Re: [gentoo-user] firefox 1.0.1 reload page problem
Joseph wrote: On Wed, 2005-03-02 at 09:44 -0500, Willie Wong wrote: Well known problem with firefox/gecko and /. IIRC it happens because the gecko engine starts rendering the content before receiving all of the data, which is not a particularly bad thing, because on most websites it means you will get to see the webpage a little earlier especially if your net connection is slow. Unfortunately, with the way /. is written, while perfectly valid html, when the browser starts rendering too early, sometimes space are allocated wrong on the display agent (has something to do with the fact that the space for the side panels are allocated dynamically or something... anyway the important part is that the width for the side panels is not hard coded) and pushes content that comes in AFTER the rendering started to other places: i.e. to one of the black background areas around the border. Now if only slashcode is build using some sane CSS... There might be a problem with "./" but this behavior wasn't effecting Firefox 1.0.0 (at least in my case). So Firefox 1.0.1 must have done some "negative" improvement that is causing this effect :-/ 1.0.0 in my didn't bring up empty frames, but it did often put part of the text under the left bar... -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many days have elapsed?
On Tue, Feb 08, 2005 at 07:14:05AM +, Stroller wrote: > Hihi, > > I needed just now to count today how many days have elapsed since the > 3rd of January. Rather than reach for a calendar and count days > arduously, I figured this was a task very suited to a computer. I'm > sure, however, my solution took me longer than the manual one would > have - can anyone suggest a better one? > > I know that `date` can provide the date in seconds since the epoc, and > after a couple of readings of the `man` page I discovered that `info > date` is FAR more comprehendible. > > $ date +%s > 1107845877 > $ date +%s -d '3 Jan' > 1104710400 > > Ok... so a Google for Bash mathematics turns up > <http://en.wikipedia.org/wiki/Bash#Integer_mathematics>, and after some > experimentation I came up with: > > $ echo $(( $((`date +%s` - `date --date='3 Jan' +%s`)) / 60 / 60 / 24 > )) echo "`date +%s` - `date --date='3 Jan' +s%s` / ( 60*60*14)" | bc a little bit less of "$((" ... but i don't know a better way -- _ | YoYo () Siska http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sgml2txt
To find which package owns a file: # equery belongs sgml2txt [ Searching for file(s) sgml2txt in *... ] app-text/sgmltools-lite-3.0.3-r7 (/usr/bin/sgml2txt) But this will only work if the package is installed. -d Try http://gentoo-stats.org/index.php?c=search -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] slowdown copy operation ? how ?
On Tue, Jan 25, 2005 at 10:13:08AM +0100, Bastian Balthazar Bux wrote: > Bill Davidson ha scritto: > > >On 17:26 Mon 24 Jan , [EMAIL PROTECTED] wrote: > > > > > >>hi, > >> > >>Is there a way to slow down specific I/O operation, f.e. a copy of file > >>from one disk to another or from one partition to another. > >>I dont bother if it takes a little bit longer, but dont want it to take > >>alot of i/o bantdwith of other > >>processes running currently in the system > >> > >> > > > >I think you want "nice" and "renice". They can give different priority > >levels > >to certain processes. For example if your file copy and another process > >wanted > >to do something at the same time, the other process would be given the > >chance > >first. > > > >Bill > > > > > sadly they don't work with IO on disk, the cpu is too much faster than > IO operation. > > -- > gentoo-user@gentoo.org mailing list > emerge -av pv but it's masked, so you have to add it to /etc/portage/packe.keywords.. (or just do it ACCEPT_KEYWORDS="~x86") pv is just like cat but show a progress meter with speed and has the -L option which limits the speed, so you can do pv -L 1M source_file >dest_file (the version in gentoo and in debian differ in the way that one recognizes 1M in -L as 1 megabyte, the other recognizes just the number as speed in bytes, so you have to write -L 100, but i don't remeber which was which ;) > -- _ | YoYo () Siska http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BOOTSPLAH
On Tue, Jan 18, 2005 at 10:43:23PM +0100, Holly Bostick wrote: > Wilder Gonzalez Diaz wrote: > >I think that it is possible to silent that messages cause LiveCD doesn't > >show those messages > > > That's odd, my Live CDs and install CDs for other distros do show those > messages (they usually say, "Loading kernel" or some such in real text > mode), before they go to their bootsplash or framebuffer. > > Maybe you just haven't noticed (as the bootsplash for most install CDs > I've seen does seem to come up much faster. But then again, maybe > reading from a CD is faster than reading from an HDD in this instance. > the problem, iirc, is that vesafb (the older not tng) was initialized almost instantly in kernel, and so did bootsplash, so during the "Loading initrd.." message it was already in framebuffer mode and just after the initrd was loaded, bootsplash showed what it had to... iirc wesafb-tng gets activated a litle bit later (it needs some ohter things to be initiliazed? ), and fbsplash (the "better&newer" splash in gentoo) starts after that, so you get a while of plaintext before it... -- _ | YoYo () Siska http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mail client
[EMAIL PROTECTED] wrote: it's a pity no-one has created a GUI front-end for Mutt like Gvim for Vim, ie keeping all Mutt's key commands & simplicity, but adding a few GUI capabilities like opening > 1 window, mouse-scrolling. mouse-scrolling - that shouldn't be a problem, vim in an xterm can do it.. (expect that screen ignores the mouse, so under screen it doesn't work ;( ) -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] more kde sound...
Boyd Stephen Smith Jr. wrote: On Sunday 16 January 2005 03:56 am, Antoine <[EMAIL PROTECTED]> wrote: Hi, I have looked at most of the recent threads on kde and sound but can't seem to figure out where to go from here. My problem is that I can't get kde to register the input from the mic properly. When I turn both mic and speakers on and put the volume up I can hear myself correctly on the speakers (from the mic). However, neither krec nor skype will record (forward) the input from my mic. In the control centre it is duplex and all... Any ideas? Using alsa? Make sure the alsa mixer has the mic channel set to capture. You can use alsamixer via console or terminal app. or you might need to check "full duplex" in arts configuration (kcontrol, sound&multimedia, sound system) -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fluxbox query
Holly Bostick wrote: Hareesh Nagarajan wrote: Hi, I have posed this question earlier but I got no response. So I went ahead with a generic (and totally useless) subject line. How can I open applications in different workspaces (in fluxbox) on startup automatically? E.g.: firefox in workspace 1 thunderbird in workspace 2 2 Eterms in workspace 3 etc. etc. Any idea if this is possible? If so how? Thanks, Hareesh emerge and configure devilspie to get the apps to open on different, specific workspaces. I don't know how you run programs at startup under fluxbox, as I use Openbox, but the "normal" (generic) way to do this is to 1) add programs to your ~/.xinitrc before starting the WM (often used if you start your WM from the commandline); 2) if using a DM such as GDM or KDM, edit the *.desktop file for the WM to point to a script which starts the various programs and then your WM (this is what I generally do); 3) use the WM's own "autostart" function to run the various programs (both GNOME and KDE have this functionality over and above their session retention feature, but I don't know if flux does as well). you can use devil's pie to position programs on certain workspaces http://www.burtonini.com/blog/computers/devilspie -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] find + ls + grep + cp + CLI + Bash madness
On Fri, Jan 14, 2005 at 05:32:22AM -0500, [EMAIL PROTECTED] wrote: > 050114 Ow Mun Heng wrote: > > I'm trying to move a bunch of PDFs which has the words "gentoo" in it > > into a folder marked as "Gentoo/" and somehow I'm not succedding. > ... > > 'Cyrus Imapd-Gentoo.pdf' > > 'Gentoo Linux rsync Mirrors Policy.pdf' > > 'Gentoo chroot.pdf' > > others have offered ways to solve your immediate problem, > but the real solution is not to insert spaces into file or directory names: I would say, the real soultion is to write bash commands and scritps correctly with spaces in mind.. and learn how different types of quoting work.. There will always be enough files with spaces in their names and I don't se any need to bother renaming them... The only thing I hate in file names is '\n' And sometimes ':', '?' or similar when I want to copy the files to a fat23 ;). > experienced users of UNIX-type systems use an underline '_' instead. > there are utilities for renaming files/dirs en masse, eg 'rename' 'krename'. -- _ | YoYo () Siska http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] x11-libs/gtk+-2.4.14 build fails
On Thu, Jan 13, 2005 at 12:23:25PM -0600, Greg Donald wrote: > On Thu, 13 Jan 2005 14:02:36 +, Qian Qiao <[EMAIL PROTECTED]> wrote: > > Please, try search the list archive before starting a thread. > > There were no references to 'gtk -2.4.14' in the gentoo-user archives > before today. > > http://marc.theaimsgroup.com/?l=gentoo-user&w=2&r=1&s=gtk+-2.4.14&q=b that's true, but you searched for bad term ;) try looking for libtool and libstdc++.la even directly in subject (just few threads before this one ;) or fix_libtool_files.sh 3.3.4 -- _ | YoYo () Siska http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vmware setup
any ideas on how to get around the: XFree86 direct graphics (DGA extension) initialization failed. Cannot switch to full screen mode. i cant get it to go full screen without that i guess, and gentoo uses xorg, does xorg have a dga extension? im using an nvidia card and i have glx loaded and composite. so it should work if i could get around this dga thing if you happen to have lines like this: SubSection "extmod" Option"omit xfree86-dga" # don't initialise the DGA extension EndSubSection in your /etc/X11/xorg.conf (/etc/X11/XF86Config), them comment them ;) -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] imap client recommendations
Frederik 'Freso' S. Olesen wrote: On Thu, 6 Jan 2005 18:07:55 +0100, Jens Mayer <[EMAIL PROTECTED]> wrote: At least I found one plugin for coloring different quote levels, which thunderbird isn't (or wasn't?) able to do. It both was and is able to do that. If you're talking about the extension I think you're talking about, then all it does is merely handling the configuration of some lines in one of the JavaScript configuration files. Probably user.js. I think I did it manually back with 0.7... like I've manually inserted the X-FOAF header into my primary profile. ;) Thunderbird is really more configurable than it seems right off the bat, you just have to get more into the inner workings, as well as knowing where to look... ;) quote level colors is just a thing with the css that is used to render the mail in thunderbird you can ovveride the default with chrome/userContent.css for example http://www.geocities.com/pratiksolanki/userContent.html gives you maybe exactly what you want... no need to play with user.js/prefs.js and javascript -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Web calendar with overlay feature
[EMAIL PROTECTED] wrote: Along these lines, can anyone recommend a gentoo-friendly web calendar, which would allow a small group of people to each have their own calendar, and to optionally overlay one or more calendar on top of another? For instance, my wife and I would maintain separate calendars, but if I were trying to schedule an event with her, I might overlay hers on mine to seen when we both were free. Thanks, Michael phpicalendar? iirc it's not in portage, but it instalation involvest just extracting it somewhere (plus setting .htacces maybe) it works with ical files, either local, or on a webdav server, can display multiple ical files together. But i don't know how goot is it at editing, because I use it just to display stuf and use mozilla/firefox/thunderbird calendar extension to edit it... Hi YoYo, Thanks for the tip. I've been researching the options you suggest and am learning a lot. I guess I need to set up a webdav server, to serve my calendars to remote clients (including myself). I gather too that Apache can do webdav. Can anyone point me at a howto or other tips for gentoo + apache + webdav wel, for apache there's mod_dav (in portage), but when I tried it worked only with apache 1 and not 2 (which I had installed) and I din't play with it. There's some python implementation, but that's only a package of clases one can use to build a webdav server with an simple example, and didn't play with it either. I simply put the calendar file on an existing server ;). I use the calendar extension for firefox/thunderbird mostly. In theory other tools operating on ical files and able of using webdav should work with it too, but when i last time tried to use firefox and korganizer together, they had some probles with the file the other one produced... but that was some time ago.. I wanted to play around with korganizer's alarm daemon in kde... to show me remainders but wanted to edit the calendar with mozilla, because I liked it more.. And i have phpicalendar on my webpage in an readonly mode, for my friends to see my calendar... -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev and cdrecorder permissions
Mitko Moshev wrote: Makurin Roman wrote: Hi All! I`ve got a problem with udev and my cdrecorder permisions. Cdrecorder is /dev/hdd, in /etc/udev/permissions.d/50-udev.permissions I found these lines: sr*:root:cdrom:660 scd*:root:cdrom:660 pcd*:root:cdrom:0660 cdrom*:root:cdrom:0660 dvd:root:cdrom:0660 rdvd:root:cdrom:0660 cdroms/*:root:cdrom:0660 ls -l /dev/hdd: brw-rw 1 root root 22, 64 Jan 8 18:26 /dev/hdd ls -l /dev/cdroms/* lrwxrwxrwx 1 root root 6 ÐÐÐ 8 18:26 /dev/cdroms/cdrom0 -> ../hdd Since /dev/hdd is not accessible for cdrom group ordinary users can`t write to it. How can I fix this problem ? Umm Looking at that output, I'd say it's plent accessible. the owner (root) and the group (cdrom) both have read and write permissions, so I don't see any problem. If you want to access the cdrom just add yourself to the cdrom group. it says "root root"... look at the udev rules for hdb (hd* ?), becase those rules you listed tell only about /dev/cdroms/cdrom0, which is a symlink and perms on it therefore don't have any effect you can chceck also /etc/security/console.perms, pam changes the perms after someone logs into a console (X) and after he logs out.. -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Web calendar with overlay feature
[EMAIL PROTECTED] wrote: Along these lines, can anyone recommend a gentoo-friendly web calendar, which would allow a small group of people to each have their own calendar, and to optionally overlay one or more calendar on top of another? For instance, my wife and I would maintain separate calendars, but if I were trying to schedule an event with her, I might overlay hers on mine to seen when we both were free. Thanks, Michael phpicalendar? iirc it's not in portage, but it instalation involvest just extracting it somewhere (plus setting .htacces maybe) it works with ical files, either local, or on a webdav server, can display multiple ical files together. But i don't know how goot is it at editing, because I use it just to display stuf and use mozilla/firefox/thunderbird calendar extension to edit it... -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Equivalent of ~/.xinitrc while using a DM?
fire-eyes wrote: I would like a command run when I log in via GDM. It wouldn't be putting it in ~/.xinitrc , because I have startkde in there from my startx days. And now I use gnome. Where should I put this command to be run after I've logged in via GDM? Hi, each display manager (GDM, KDM XDM) starts a script called Xsession and tels it which session you selected. Xsession is responsible for doing some initializations and firing up your session. KDM uses /usr/kde/3.3/share/config/kdm/Xsession GDM uses /etc/X11/gdm/Xsession XDM uses /etc/X11/xdm/Xsession the all differ in few things ;), but for some time now, KDM's and GDM's xsession sources the file ~/.xprofile, so you can put your commands there and they will be executed just before any session you choose in gdm. XDM's and GDM's xsession does merge ~/.Xresource and also uses ~/.Xmodmap, KDM's does not... and so on ;) maybe sometime they'll just start using one common Xsession script that would do thing in one coherent way ;) or maybe gentoo should enforce all gdm configs to use one default... -- _ | YoYo () Siska === http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USE flags (-gnome&-gtk2) and XFCE questions
well, as for -gtk2 USE flag this is what guide for USE flags says: gtk Adds support for x11-libs/gtk+ (The GIMP Toolkit) gtk2 Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both. so -gtk2 doesn't switch gtk off :) there has been something about this in some Gentoo Newsletter, but i don't remember when... On Tue, Dec 16, 2003 at 04:39:45PM -0500, Nick Fisher wrote: > >> GTK2 > >> When reading the docs this line jumped out at me: > >> "All XFce 4 modules depend on GTK2" > >> I thought that stange as I don't have gtk2 installed. Anyone out there > >> understand that? Are the two gtk libs close enough that XFCE can be > >> fooled into thinking that gtk is gtk2? > > No, they have different APIs, I really doubt you don't have gtk2 > > installed. > It's seems bloomin odd to me I'll say that. However, portage seems quite > firm on the idea that I have gtk+-1.2. I can only find gtk+-1.2 docs and > binarys... Having said that I'm kinda working in the dark here knowing so > little about gtk+. > Can you think of any good tests I could try to confirm or deny? > > >> While I'm on the subject if anyone has any pros/cons regarding gtk vs > >> gtk2 I would love to hear them. I haven't done much with X and this is > >> all a alien. Any good links to discussions on this topic would also be > >> cool > > Most people think gtk2 is a lot nicer than gtk1, but it can also be much > > slower in some situations AFAIK. > Hummm I have a 166 thinkpad with 80MB I'm thinking this might be > one of those situations. > > Nick > > -- > [EMAIL PROTECTED] mailing list > > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] scripts/bootstrap.sh failed
collins wrote: On Sunday 14 December 2003 12:46, Simon Striker wrote: Hi! Sunday, December 14, 2003, 10:42:53 PM, you wrote: Disk space is cheap. I always reserve about 1G for swap. I realize this is overkill, but then I never need to worry. So. How can I fiks my problem? 1. Very simple, if you haven't used all the free space on your disk. 2. Still simple if you can delete an unused partition to make some free space. 3. Total reorg of the disk, or start over with your install, if you can't do 1 or 2. you can allways use an ordinary file for swap, if just happen to need it for one occasion or so, but under gentoo, you'l be compiling all the time, so its better to set up the partition... to add a file to swap you can do folowing dd if=/dev/zero of=your_new_swap_file bs=1M count=512 mkswap your_new_swap_file swapon your_new_swap_file of course, you'l need to do swapon... again after reboot... -- _ | YoYo () Siska -- www.ksp.sk -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] alsa and jack-sensing ?!
i'm not at my gentoo box now, so just from what i remeber i had a control in alsamixer (or amixer) that look like the right thing i played with the soundcard a bit, but didn't have more than 2 speakers, so i don't remeber if i actualy tried that.. with amixer its a pretty challenge, use "amixer scontrols" to get list of controls, there sould be some there to switch it in alsamixer you have to scroll the controls to the far right and find something as surround output or so somewhere near mic volume you have to switch it (it is swithed by uting it i think...) yoyo raptor wrote: no there is no such thing :"( You might check your mixer app (try alsamixer or alsamixergui) and see if there are settings there to control it. I have sound card - realtek ALC655 (working well with intel8x0 drivers). The problem is that it I dont know how to activate Mic-in and Line-In to work as outputs !? Under windows there is app that senses if u connect speakers to them and activates them as outputs... So I can't play 5+1 AC3 sounds... :"((( Is there a way, config, application that can turn these inputs into outputs ?!? tia... -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list