[gentoo-user] Trying to shutdown/reboot computer from gnome
Currently I cannot turn off the computer, nor reboot using gnome 2.28.2. Googling around it seems that it is a polkit related problem. I've tried to do what is mentioned here: http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/ But polkit-auth --show-obtainable shows nothing. I'm running gnome via startx, and the .xinitrc file looks like this: export XDG_MENU_PREFIX=gnome- exec ck-launch-session gnome-session Could anybody manage to get this working? Thanks in advance, Damian.
[gentoo-user] Re: Trying to shutdown/reboot computer from gnome
Damian damian.o...@gmail.com writes: Currently I cannot turn off the computer, nor reboot using gnome 2.28.2. Googling around it seems that it is a polkit related problem. I've tried to do what is mentioned here: http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/ But polkit-auth --show-obtainable shows nothing. I'm running gnome via startx, and the .xinitrc file looks like this: export XDG_MENU_PREFIX=gnome- exec ck-launch-session gnome-session Could anybody manage to get this working? Ok, the problem seemed to be gone after the addition of the gnome, polkit, policykit, and consolekit use flags. I don't know which flag got it working.
[gentoo-user] Where is polkit-auth
After installing network manager I got the following message: L To save system-wide settings as a user, that user needs to have the L right policykit privileges. You can add them by running: L polkit-auth --grant org.freedesktop.network-manager-settings.system.modify --user USERNAME However, polkit-auth is not installed in my system even though I have =sys-auth/polkit-0.96-r1 installed. What am I missing?
[gentoo-user] Re: Where is polkit-auth
Xavier Parizet x...@gentooist.com writes: On 04/22/2010 12:17 PM, Damian wrote: After installing network manager I got the following message: L To save system-wide settings as a user, that user needs to have the L right policykit privileges. You can add them by running: L polkit-auth --grant org.freedesktop.network-manager-settings.system.modify --user USERNAME However, polkit-auth is not installed in my system even though I have =sys-auth/polkit-0.96-r1 installed. What am I missing? You have to install sys-auth/policykit. Thanks, it is working now. Greetings.
[gentoo-user] What are you waiting for!
Since today, whenever I try to shutdown the laptop I get messages saying waiting for net.wlan0 (XX) seconds Where X varies between 50 and 5. And I got this message for every service that is stopped. The problem looks similar to what's described here: http://forums.gentoo.org/viewtopic-t-788186-view-next.html?sid=c27614d6088b347267495ace897e6b22 But I couldn't get a solution from that forum. Today was the day I installed network manager, but I don't know if that has something to do. I have no clue what may be failing. Thanks in advance, Damian.
[gentoo-user] Re: Installing Gentoo via Gentoo ?
meino.cra...@gmx.de writes: Hi, currently I am reading the Gentoo-Handbokk about installing a new Gentoo-System via boot-CD.If I have a running Gentoo-Sytem on my PC...would it be possible to install a new Gentoo-System on a fresh harddisk, which is currently unpartitioned and unformatted electrically wired with my PC (SATAII) ?Just an idea... I installed Gentoo from an Ubuntu installation. Just a couple of things for you to keep in mind (I don't know if they will apply in your case): - When chrooting, use the following command to flush your environment: # env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash # /usr/sbin/env-update # source /etc/profile - When you are asked to mount the proc system, in the gentoo handbook, issue the following command instead: # mount -o bind /proc /mnt/gentoo/proc - In order to get the network working in a chrooted enviroment you will need to copy the /etc/resolv.conf from the working system. In summary, the Gentoo handbook is your workhorse during the installation process. You only need to be careful about the particular details that I mentioned (and that are scattered all over the Gentoo documentation). Good luck, Damian.
[gentoo-user] Re: Gnome bluetooth in Gentoo
Daniel da Veiga danieldave...@gmail.com writes: On Thu, Apr 15, 2010 at 06:46, Damian damian.o...@gmail.com wrote: Did anybody could manage to get gnome-bluetooth working? First I had problems with permissions, so I added some udev rules and the permissions in rfkill. But now, if I launch the applet I just get a big button that says turn on bluetooth. I did that but nothing happened. With blueman every worked fine, but since that package no longer works on my unstable system I had to search for that alternative. Thanks in advance, Damian. A better question. Why isn't blueman working? I am using testing for a few months now and I use blueman (with a bt mouse, so, its vital). It was a problem with the policykit flag: http://bugs.gentoo.org/289902 Fortunately I got it working. But I wanted to know what was the problem with the gnome version. -- Daniel da Veiga
[gentoo-user] Re: Switching to unstable
Alex Schuster wo...@wonkology.org writes: Damian writes: Thus, I'm thinking about switching all of my system to the unstable branch. But first I want to be sure that this is reasonable given the problems I described before. Can you provide me some useful advice according to your experience? I have asked a similar question here, I suggest you read the thread [*]. I did not regret the switch and would also suggest running ~arch. Beware the update to openrc, and do what the elog messages tell you to do before rebooting. Wonko [*] http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg94206.html I'm finally running an unstable system. I had to compile nearly 500 packages, to report a couple of bugs, and to install beagle from my custom overlay. In addition, blueman is not working anymore. The problems were not so many in proportion with the number of packages compiled. Thank you all for your advices, Damian.
[gentoo-user] Gnome bluetooth in Gentoo
Did anybody could manage to get gnome-bluetooth working? First I had problems with permissions, so I added some udev rules and the permissions in rfkill. But now, if I launch the applet I just get a big button that says turn on bluetooth. I did that but nothing happened. With blueman every worked fine, but since that package no longer works on my unstable system I had to search for that alternative. Thanks in advance, Damian.
[gentoo-user] Switching to unstable
Hello, I've been using the gentoo stable branch since I began with this distro (around 4 years ago), but lately I've been unmasking almost all packages I use in my daily work (emacs, firefox, gnome*, xmonad, etc). The reason for doing so is that what is considered as unstable as been regarded as stable releases for the developers, and the truth is that the problems I got for using outdated software were more that the ones I had for using unstable versions. Thus, I'm thinking about switching all of my system to the unstable branch. But first I want to be sure that this is reasonable given the problems I described before. Can you provide me some useful advice according to your experience? Thanks in advance, Damian.
Re: [gentoo-user] f-spot depends on mono?
On Thu, Mar 25, 2010 at 4:44 PM, Xi Shen davidshe...@googlemail.com wrote: On Thu, Mar 25, 2010 at 6:37 PM, Jacob Todd jaketodd...@gmail.com wrote: F-spot is written in mono. oh...what a hell of mistake i made. so, what do people do to manage photos on gnome? i do not like this mono one. I use geequie: http://geeqie.sourceforge.net/. I don't know about mono features, but this image viewer is quite decent. It is a fork of gqview. HTH.
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
Anyway, if it were me I'd nuke the file in a heartbeat, but if OP is too timid for that, he can also quarantine the file first, i.e., move it to some other path where it won't cause trouble (and then delete later). Also, (from the bug) his libarchive.la seems to still list the .la, so he should re-emerge libarchive after moving away the orphaned .la-file (or use lafilefixer?). Ok, the OP will try this. If I cannot fix it I will just install gvfs without the archive flag. Still, there is something funny with paludis, as so many people using it seem to have so many problems with orphaned libtool archive files. Ahem, even the warning from exherbo front page is gone nowadays. Is it production quality now? o.O Actually, it is the first problem I have with .la files using paludis, but I don't know about other people's experience. Thanks a lot for your help, Damian.
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
On Fri, Mar 12, 2010 at 9:05 AM, Damian damian.o...@gmail.com wrote: Anyway, if it were me I'd nuke the file in a heartbeat, but if OP is too timid for that, he can also quarantine the file first, i.e., move it to some other path where it won't cause trouble (and then delete later). Also, (from the bug) his libarchive.la seems to still list the .la, so he should re-emerge libarchive after moving away the orphaned .la-file (or use lafilefixer?). Ok, the OP will try this. If I cannot fix it I will just install gvfs without the archive flag. Ok, so moving the file, reinstalling libarchive, and running lafilefixer didn't change the situation. So I'm using gvfs without the archive flag. Thanks again, Damain.
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
Hi Arttu, Ok, so moving the file, reinstalling libarchive, and running lafilefixer didn't change the situation. So I'm using gvfs without the archive flag. Bummer. Are you sure your libarchive.la is not another orphan, just like liblzmadec.la was? Indeed. libarchive.la is not owned by any package. Is this a symptom of a bigger problem? Please check (if you are still interested in hunting down the cause). Sure, and I really appreciate the gentoo community help. You should probably only end up with that la file if you have USE=static-libs for libarchive -- which (if I'm reading correctly the paludis output attached in the bug) you do not have currently enabled. That's correct. Should I enable static-libs and recompile libarchive? But since you have the libarchive.la file on your system you may have had the USE flag enabled at one point, or the ebuild may have changed to allow separate dynamic and static building while your package manager might not have kept up with its records. Ok, if that's the case I will report it to the paludis developers. So, also check the owner of libarchive.la, and clean up if necessary. Ok, I just moved the library to the trash. What I don't understand is how to orphaned la files can cause compilation failures. Thanks, Damian.
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
On Wed, Mar 10, 2010 at 9:58 PM, Arttu V. arttu...@gmail.com wrote: On 3/10/10, Damian damian.o...@gmail.com wrote: While ago I reported a bug regarding gvfs: https://bugs.gentoo.org/show_bug.cgi?id=302196 It's been unresolved for quite a long time now, so I was wondering if somebody could give me a hint on how to solve this problem. Are you still using lzma-utils, or have you moved on to xz-utils? I'm using app-arch/xz-utils. Which package owns your /usr/lib64/liblzmadec.*? (equery belongs foofile on Gentoo, dunno what is the equivalent on paludis) Acording to the output of `paludis --owner /usr/lib64/liblzmadec.la` no package is the owner. I'm really lost right now...
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
Hi Mark, 1) What profile are you using? (eselect profile list) default/linux/amd64/10.0 2) USE flags from make.conf nls -kde -qt3 qt4 dvd alsa cdr X a52 aac acpi apm -arts \ bash-completion bzip2 crypt dbus dts dvdr ffmpeg flac gif hal hddtemp \ iconv jpeg jpeg2k latex libnotify lm_sensors mad mp3 mpeg mpi mplayer \ nsplugin ogg opengl pdf raw sdl sharedmem sockets spell sse2 ssl svg \ svga taglib threads usb -vim-syntax vorbis wifi win32codecs \ xcomposite xvid zlib truetype type1 avi dvdread mjpeg subtitles sse \ mmx ssse3 emacs pmu nvidia beagle bluetooth 3) Current results of emerge -pvDuN @world (assuming portage 2.2 or higher...) Sadly, I cannot use emerge on my system. The problem may be paludis related (I also asked in the paludis mailing liist) but I doubt it. 4) results of revdep-rebuild -ip reconcilio finds gvfs as a broken only package: * gnome-base/gvfs-1.2.3::installed /usr/libexec/gvfsd-archive (requires liblzmadec.so.0) I don't know what else to suggest at this point. I've got the stable version emerged. I haven't had any problems myself but Gentoo is always a bit different from user to user. No problem, I will see what other things I can try. I'm far from being a gentoo expert, so that might be the process of discovering the error harder. Best, Damian.
[gentoo-user] Only two people in the gentoo world is having this problem?
While ago I reported a bug regarding gvfs: https://bugs.gentoo.org/show_bug.cgi?id=302196 It's been unresolved for quite a long time now, so I was wondering if somebody could give me a hint on how to solve this problem. Best, Damian.
Re: [gentoo-user] power management cannot change LCD brightness
On Sun, Feb 28, 2010 at 2:15 PM, Frank Steinmetzger war...@gmx.de wrote: Am Sonntag 28 Februar 2010 schrieb Xi Shen: hi, my system is gentoo amd64, kde 4.3. my laptop is thinkpad t61. after some configure in the kernel, and reboot with the new kernel, i can use the Fn+Home, and Fn+End to change the brightness of my lcd. but when i tried to change the lcd brightness by dragging the handle on the 'power management' tool, nothing happens. what else should i configure? It has never worked here, though I’m satisfied that I can use Fn+Crsr up/down, which works on the HW level (even at boot). I don't know if you have an nvidia card. I had the same problem: I was only able to change the brightness from a text console. I solved the problem by installing nvclock (now I no longer need sunglases). I hope that helps.
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
On Wed, Mar 10, 2010 at 2:02 PM, Mark Knecht markkne...@gmail.com wrote: On Wed, Mar 10, 2010 at 12:28 AM, Damian damian.o...@gmail.com wrote: While ago I reported a bug regarding gvfs: https://bugs.gentoo.org/show_bug.cgi?id=302196 It's been unresolved for quite a long time now, so I was wondering if somebody could give me a hint on how to solve this problem. Best, Damian. ?? revdep-rebuild -ip I already tried (reconcilio actually), and didn't solve the problem: it tries to rebuild gvfs, failing miserably again. ?? - Mark
Re: [gentoo-user] Only two people in the gentoo world is having this problem?
On Wed, Mar 10, 2010 at 3:10 PM, Mark Knecht markkne...@gmail.com wrote: On Wed, Mar 10, 2010 at 6:05 AM, Damian damian.o...@gmail.com wrote: On Wed, Mar 10, 2010 at 2:02 PM, Mark Knecht markkne...@gmail.com wrote: On Wed, Mar 10, 2010 at 12:28 AM, Damian damian.o...@gmail.com wrote: While ago I reported a bug regarding gvfs: https://bugs.gentoo.org/show_bug.cgi?id=302196 It's been unresolved for quite a long time now, so I was wondering if somebody could give me a hint on how to solve this problem. Best, Damian. ?? revdep-rebuild -ip I already tried (reconcilio actually), and didn't solve the problem: it tries to rebuild gvfs, failing miserably again. I saw that in the bug report. If you want to keep going down the path of what didn't work then do nothing. Potentially revdep-rebuild finds something else. You need to post some results. I've seen gvfs fail due to flag settings. How would anyone here make a reasoned response with so little data? Actually the flag plays no role. Since I compiled the package again with the original flags and I got the same results. I honestly don't know which (other) relevant data I can provide. I didn't intend to make anybody upset with my email, or with the mention to the word paludis.
Re: [gentoo-user] Embeding a Terminal in a GTK Window
On Tue, Mar 9, 2010 at 12:01 AM, dhk dhk...@optonline.net wrote: Is it possible to embed a terminal window in a gtk window? I want to be able to run a text program as usual, but have it wrapped in the GTK window so I can scroll output and other stuff to a textview. I would look into vte. This may be relevant for you: http://old.nabble.com/Embedding-the-VTE-Virtual-Terminal-td26529933.html Thanks, dhk
Re: [gentoo-user] Adding dependencies in init scripts
On Sun, Feb 14, 2010 at 7:46 PM, Damian damian.o...@gmail.com wrote: On Sun, Feb 14, 2010 at 6:00 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am running OpenRC/BL2. I didn't even think for a second that somebody could still be using BL1, sorry for that ;) Ok, I just thought that there might be an easy way in (my loved) gentoo to start daemon/service X whenever Y is started. So I'll try upgrading to baselayout 2, and I'll see what happens. A*fter a long time I've found some free time to migrate to baselayout 2. After upgrading and reading through http://www.gentoo.org/doc/en/openrc-migration.xml, I created a file named '/etc/conf.d/mpd' and I added the line: rc_need=mpdscribble as described in '/etc/rc.conf'. And that was it! Now mpdscribble gets started whenever I start mpd (and this way all the Britney Spears songs I play will be sent to libre.fm, weee!). Thanks a lot for your help.
Re: [gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown
On Wed, Mar 3, 2010 at 5:08 PM, Mick michaelkintz...@gmail.com wrote: Can you make any sense of this? === kernel BUG at kernel/time/clockevents.c:262! invalid opcode: [#1] PREEMPT SMP [snip ...] note: halt[12361] exited with preempt_count 2 /etc/init.d/shutdown.sh: line 9: 12361 Segmentation fault /sbin/halt ${opts} === I had the same problem with the 2.6.32-r1 version. It is fixed as of version 2.6.32-r7 The bug was reported, but I cannot find it.
Re: [gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown
On Thu, Mar 4, 2010 at 7:51 AM, Damian damian.o...@gmail.com wrote: On Wed, Mar 3, 2010 at 5:08 PM, Mick michaelkintz...@gmail.com wrote: Can you make any sense of this? === kernel BUG at kernel/time/clockevents.c:262! invalid opcode: [#1] PREEMPT SMP [snip ...] note: halt[12361] exited with preempt_count 2 /etc/init.d/shutdown.sh: line 9: 12361 Segmentation fault /sbin/halt ${opts} === I had the same problem with the 2.6.32-r1 version. It is fixed as of version 2.6.32-r7 The bug was reported, but I cannot find it. Now in my computer I could find it: http://bugzilla.kernel.org/show_bug.cgi?id=15005 HTH.
[gentoo-user] Xmonad, beagle-search, and mime types
Hello, I don't consider myself a smart person. Even my mom used to say that I wasn't so bright. But still, should this be so damn difficult? 'beagle-search' is a front end for the beagle desktop search engine. When you issue a query, the application shows you icons (which represent files) with the result of the query. If you click on the icon, the file will be opened with the default application. The problem is that I cannot set the default application by any means. For instance I would like to open jpeg image files using geeqie. I've failed miserably in trying to associate filetypes to applications, using beagle search. The application beagle-search uses xdg-open to open applications. If a filetype has no application associated, then the default handler is firefox (don't ask me why). So I tried to see how xdg-open works, but the man page didn't give me any useful information. The related command, xdg-mime, doesn't work as I expected. I've created a file called geeqie.desktop in the directory /home/damian/.local/share/applications with the following contents: [Desktop Entry] Encoding=UTF-8 Name=Geeqie Exec=geeqie MimeType=image/jpeg Icon=exec NoDisplay=true Then I've tried to associate geeqie with jpeg files by running: xdg-mime default geeqie.desktop image/jpeg The command terminates successfully, and after running xdg-mime query default image/jpeg I get as output geeqie.desktop. But xdg-open (and therefore beagle-search) still refuses to open jpeg images with geeqie. Any ideas? Thanks in advance.
Re: [gentoo-user] Xmonad, beagle-search, and mime types
On Sun, Feb 21, 2010 at 4:05 PM, Willie Wong ww...@math.princeton.edu wrote: On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote: So I tried to see how xdg-open works, but the man page didn't give me any useful information. The related command, xdg-mime, doesn't work as I expected. I asked a similar question a week or so back. I searched in my mails but I couldn't find it. Sorry, I probably didn't enter a relevant search string. But xdg-open (and therefore beagle-search) still refuses to open jpeg images with geeqie. Any ideas? xdg-open is just a shell script. If you are interested, take a look at less `which xdg-open` and you will be enlightened as to why it is a complete piece of crap unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in the script does it read whatever you modified with xdg-mime.) A possible way to work around it (depends on your application, which, in your case, is beagle, which I am not familiar with) is to go into the offending application that is calling xdg-open and see if you can configure MIME types in there yourself. The application that made me look this up, Jabref, does allow that configuration. Your mileage can of course vary. Thanks Willie for your answer. Sadly beagle-search doesn't offer any option. The developers must use only gnome. I guess I will have so find another beagle front end, or choose a different desktop search engine. Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Xmonad, beagle-search, and mime types
On Sun, Feb 21, 2010 at 6:50 PM, YoYo siska y...@gl.ksp.sk wrote: On Sun, Feb 21, 2010 at 05:33:35PM +0100, Damian wrote: On Sun, Feb 21, 2010 at 4:05 PM, Willie Wong ww...@math.princeton.edu wrote: On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote: So I tried to see how xdg-open works, but the man page didn't give me any useful information. The related command, xdg-mime, doesn't work as I expected. I asked a similar question a week or so back. I searched in my mails but I couldn't find it. Sorry, I probably didn't enter a relevant search string. But xdg-open (and therefore beagle-search) still refuses to open jpeg images with geeqie. Any ideas? xdg-open is just a shell script. If you are interested, take a look at less `which xdg-open` and you will be enlightened as to why it is a complete piece of crap unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in the script does it read whatever you modified with xdg-mime.) A possible way to work around it (depends on your application, which, in your case, is beagle, which I am not familiar with) is to go into the offending application that is calling xdg-open and see if you can configure MIME types in there yourself. The application that made me look this up, Jabref, does allow that configuration. Your mileage can of course vary. Thanks Willie for your answer. Sadly beagle-search doesn't offer any option. The developers must use only gnome. I guess I will have so find another beagle front end, or choose a different desktop search engine. xdg-open tries to determine the desktop enviroment you are running and uses its way to open files... If you are in a kde session, it will just run kfmclient XXX (kde way to open files in their application), for gnome it will use gnome-open or something... So even if you are not logged in a full gnome or kde session, but have some of its packages installed, you can trick xdg-open to use that enviroment for kde just export KDE_FULL_SESSION=true, for gnome GNOME_DESKTOP_SESSION_ID=something so you can run beagle-search with GNOME_DESKTOP_SESSION_ID=something beagle-search you have to set which applications to use in corresponding config (for kde, just run konqueror/dolphin and right click a file, don't know for gnome) for kde, you need the package kde-base/kfmclient, which should depend juast on kdelibs, for gnome-open you need gnome-base/libgnome, which shouldn't have much dependences that you don't have allready if you have some gtk app.. btw, gnome-open/kfcmclient will open files in any available program that correctly registers its mime-types, not only in kde/gnome apps..., so you really need only kfmclient/libnome to use it... one last remark, if set KDE_FULL_SESSION/GNOME_DESKTOP_SESSION_ID for xdg-open and it starts a gnome/kde app, that app might think that there are some desktop specific things running, that are not, though I haven't seen any real problems with it... You might however just edit the detectDE function in xdg-open to always behave like gnome/kde without settings the variables... yoyo PS the idea of xdg-open using a browser, when it cannont detect which DE are you running, is that a browser usually knows how to open which files... and you should have your preffered browser set in $BROWSER... Thanks a lot for that nice explanation. I've exported export BROWSER=gnome-open, and this way I could fix my problem. Regards, Damian.
Re: [gentoo-user] Sansa Clip+
On Fri, Feb 19, 2010 at 1:15 AM, sean tech.j...@myfairpoint.net wrote: Alan McKinnon wrote: Do you do yet the obvious first step, which is to plug in it and see what happens? If so, what happened? If not, do so, then post what happened. That I had tried. The device is not seen. That's strange. I have a Sansa Clip (although not the + model) and I get the following message after plugging the device: Feb 19 13:47:49 bucephalus kernel: [48421.594931] usb 7-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Feb 19 13:47:49 bucephalus kernel: [48421.594938] usb 7-5: Product: SanDisk Sansa Clip Feb 19 13:47:49 bucephalus kernel: [48421.594942] usb 7-5: Manufacturer: SanDisk Feb 19 13:47:49 bucephalus kernel: [48421.594947] usb 7-5: SerialNumber: B408F9040339B6A8 Feb 19 13:47:49 bucephalus kernel: [48421.595175] usb 7-5: uevent Feb 19 13:47:49 bucephalus kernel: [48421.595214] usb 7-5: usb_probe_device Feb 19 13:47:49 bucephalus kernel: [48421.595222] usb 7-5: configuration #1 chosen from 1 choice Feb 19 13:47:49 bucephalus kernel: [48421.596891] usb 7-5: adding 7-5:1.0 (config #1, interface 0) Did you enable USB in your kernel?
Re: [gentoo-user] Adding dependencies in init scripts
Hi Dirk, In your first post you stated that you want to have both started, right? But after is about order, not dependency. I'd say you need to put rc_need=mpd into /etc/conf.d/mpdscrible and put mpdscrible into default runlevel, not mpd. I understand, but that isn't what I want, because when I boot up, I don't always start up mpd. Maybe a combination of both rc_after=mpdscrible rc_need=mpdscrible in /etc/conf.d/mpd could also work. That's the problem. No matter what I put in /etc/conf.d/mpd the init script seems to ignore it. Even if I write rc_need=more money it will be ignored. Although the config file is read when I restart mpd.
Re: [gentoo-user] Adding dependencies in init scripts
I am getting rather confused by this back and forth (I thought I understood what you wanted and Dirk and other's answers should be right, but now I am not so sure). Can you answer the following for me just to make sure we are on the same page? Sure, I'm sorry for the confusion. (a) What is mpdscribble? My understanding is that it is a service that tells other things what is currently playing on mpd? That it is actually a client of mpd? Is it actually a daemon/service? In short, mpdscribble is a daemon that submits the tracks you play (using mpd) to sites such as libre.fm. In that sense it is a client of mpd. It is possible to start mpdscribble by using /etc/init.d/mpdscribble start (b) What actually is the desired behaviour? From the last e-mail I am under the impression you don't always want to have the mpd daemon running, but you want to be able to bring up /etc/init.d/mpd and automatically have mpdscribble started? Can you give me a description of what commands you want to execute and what you want to accomplish with those? Yes, that's exactly what I want. If I start mpd using the command /etc/init.d/mpd start I would like mpdscribble to be automatically started. What I have as output instead: $ /etc/init.d/mpd stop /etc/init.d/mpd start /etc/init.d/mpdscribble status * Caching service dependencies ... * Service 'syslog-ng' already provides 'logger'!; * Not adding service 'metalog'... [ ok ] * Service mpd stopping * Service mpd stopped * Service mpd starting * Service mpd started * status: stopped (c) I noticed that in your previous e-mail you spelled it mpdscrible with only one b. Is that a typo in the e-mail, or is it actually how you have it in /etc/conf.d/mpd? emerge --search suggests that mpdscribble is spelled with two b's. That's right, it is a typo in my previous mail. The config file has no typo. (d) What versions of openrc and baselayout are you using? openrc is not installed, and the baselayout version is 1.12.13. Thanks, Damian.
Re: [gentoo-user] Adding dependencies in init scripts
On Sun, Feb 14, 2010 at 6:00 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am running OpenRC/BL2. I didn't even think for a second that somebody could still be using BL1, sorry for that ;) Ok, I just thought that there might be an easy way in (my loved) gentoo to start daemon/service X whenever Y is started. So I'll try upgrading to baselayout 2, and I'll see what happens. Thanks, Damian.
Re: [gentoo-user] Adding dependencies in init scripts
HTH... Dirk Thanks a lot for your responses. That looks just like what I needed.
Re: [gentoo-user] Adding dependencies in init scripts
On Sun, Feb 14, 2010 at 2:25 AM, Damian damian.o...@gmail.com wrote: HTH... Dirk Thanks a lot for your responses. That looks just like what I needed. Ok, I just cannot make this work. I've created a file /etc/conf.d/mpd with the following line rc_after=mpdscrible But the init script seems to ignore it. No matter what I put in /etc/conf.d/mpd . The gentoo handbook doesn't say anything about it. I'm clearly missing something, but I don't know what it is.
[gentoo-user] Adding dependencies in init scripts
Hello, I would like to configure my system so that every time I start mpd (via /etc/init.d/mpd) mpdscrible is started as well. What is the best way to achieve this? Thanks in advance, Damian.
Re: [gentoo-user] Adding dependencies in init scripts
On Thu, Feb 11, 2010 at 11:21 AM, Dale rdalek1...@gmail.com wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: Hello, I would like to configure my system so that every time I start mpd (via /etc/init.d/mpd) mpdscrible is started as well. What is the best way to achieve this? Thanks in advance, Damian. I found this by looking in the cups init script. It should help. depend() { use net need avahi-daemon dbus before nfs after logger } Thanks Dale. I've tried putting after mpdscribble without success. Also the problem with this approach is that if I update mpd, I will have to modify the init script again.
Re: [gentoo-user] Bluetooth is impossible
All that is required is emerge bluez, reload dbus, start bluetooth, emerge blueman-1.21, config asound.conf as above, and restart alsasound. Has anyone gotten bluetooth pairing without a GUI tool such as blueman? That's the impossible part. Thanks Grant for sharing your experience (I'll try blueman version 1.21). I've also struggled with the bluetooth configuration, and I agree: the gentoo guide is outdated (have you contacted the author?). I tried to pair devices from the command line, but it was impossible for me too. Greetings, Damian.
[gentoo-user] Usb keyboard automatic layout
Hello, I often need to use unicode characters when I'm writing in Spanish. For that purpose I've set up my .Xmodmap in the following way: clear Lock keycode 66 = Multi_key After running xmodmap ~/.Xmodmap I can use the caps lock as a multi key in my laptop keyboard. However, whenever I plug an external usb keyboard, it doesn't have the desired layout, and I'm forced to run xmodmap again. How can I do to modify automatically the keyboard layout of an inserted usb keyboard? (running xmodmap from udev is not an option because it has no effect at all). Thanks in advance, Damian.
Re: [gentoo-user] Mpd doesn't play ogg files
On Mon, Mar 16, 2009 at 2:12 PM, Willie Wong ww...@princeton.edu wrote: On Sat, Mar 14, 2009 at 11:37:54PM +0100, Penguin Lover Damian squawked: Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that you have gst-plugins-ogg emerged? So, this would imply a buggy ebuild? Yes, you are mistaken. mpd does not need to use gstreamer. To the OP, I don't think it can be strictly a versions issue. I run mpd-0.13.2 on my desktop, and ogg-vorbis (pretty much my entire music collection is in this format) plays just fine. On my laptop I use 0.14.2, it is stable enough (and has some nice features), so you can go ahead a try it if you wish. I uploaded this album to my mp4 player, and it hung when I tried to play it. So there may be something wrong with the encoding. The strange thing is that mplayer plays it just fine. I'll try to make some time to translate some mp3 file to ogg and see what happens. W -- The true significance of Sacajawea's involvement in the Lewis and Clark expedition: It was the first documented trip in history where men asked a woman for directions and followed them, allowing them to arrive at their destination. Sortir en Pantoufles: up 829 days, 11:52
Re: [gentoo-user] Mpd doesn't play ogg files
On Mon, Mar 16, 2009 at 4:48 PM, Willie Wong ww...@princeton.edu wrote: On Mon, Mar 16, 2009 at 02:16:40PM +0100, Penguin Lover Damian squawked: I uploaded this album to my mp4 player, and it hung when I tried to play it. So there may be something wrong with the encoding. The strange thing is that mplayer plays it just fine. I'll try to make some time to translate some mp3 file to ogg and see what happens. You can also try playing the file using ogg123. I've tried, and they play just fine. W -- S: oh, he's got this weird philosophy worked out, in which he does whatever he wants, and doesn't worry about whether it will make other people happy W: self serving utilitarianism under the misuse of Adam Smith W: case number 539 (Ad paid for by W. Emotional Troubles? Relationship Problems? Generally Depressed? Leave your name, phone, and AIM handle. I will get back to you ASAP.) Sortir en Pantoufles: up 829 days, 14:30
[gentoo-user] Mpd doesn't play ogg files
Hello, When I try to play an ogg file, mpd says it is playing it, but there is no sound. Mps has been built with the following use flags: Use flags: (aac) (alsa) (-ao) (-audiofile) (-avahi) (flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod) (mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis) So ogg is enabled. This is quite frustrating :( Any ideas?
Re: [gentoo-user] Mpd doesn't play ogg files
On Sat, Mar 14, 2009 at 10:32 PM, Willie Wong ww...@princeton.edu wrote: On Sat, Mar 14, 2009 at 09:15:54PM +0100, Penguin Lover Damian squawked: Hello, When I try to play an ogg file, mpd says it is playing it, but there is no sound. Mps has been built with the following use flags: Use flags: (aac) (alsa) (-ao) (-audiofile) (-avahi) (flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod) (mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis) So ogg is enabled. This is quite frustrating :( Any ideas? Which version of mpd? ~ $ mpd --version mpd (MPD: Music Player Daemon) 0.13.2 Copyright (C) 2003-2007 Warren Dukes warren.du...@gmail.com This is free software; see the source for copying conditions. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Supported formats: mp3 mp2 ogg oga ogg flac m4a mp4 Supported outputs: alsa Are just ogg files the problem? What about mp3s? mp3's play just fine. Also, make sure your ogg file is actually ogg vorbis? Not some other I think it is. Here's mplayer's output: Playing 05. Sumo - El reggae de paz y amor.ogg. [Ogg] stream 0: audio (Vorbis), -aid 0 Ogg file format detected. mplayer plays just fine. W -- Pintsize: It's just tomato sauce, and I don't explode cats. It's way too difficult to coax them into the microwave. Sortir en Pantoufles: up 827 days, 20:14
Re: [gentoo-user] Mpd doesn't play ogg files
I'm going to ask the really irritating tech support question: Is ALSA muted? Is the volume set to zero on the speakers? haha I'm perfectly capable of making that mistake. However, this is not the case. Playing mp3 files works fine. One of the mpd developers told me that the version I have (the latest stable in portage) is a very old one, so I should try unmasking/upgrading first. Best, Damian.
Re: [gentoo-user] Mpd doesn't play ogg files
Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that you have gst-plugins-ogg emerged? So, this would imply a buggy ebuild?
Re: [gentoo-user] Mpd doesn't play ogg files
On Sat, Mar 14, 2009 at 11:53 PM, Saphirus Sage saphirus...@gmail.com wrote: Damian wrote: Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that you have gst-plugins-ogg emerged? So, this would imply a buggy ebuild? Maybe, I had a similar issue getting rhythmbox to play ogg files, despite the ogg use flag in my make.conf. Looking through the ebuild now though, it looks like I'm probably wrong about it being a gstreamer issue. I only found this: http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg594020.html But I don't know if I have the same problem.
Re: [gentoo-user] How to dim the display brightness
On Mon, Feb 23, 2009 at 9:57 PM, Damian damian.o...@gmail.com wrote: Hi Sebastian, acpi_os-name = Linux as kernel parameter might help. Ok, I've changed the grub menu.lst file. After the reboot I will write if something changes. Nope :( and take a look if /sys/class/backlight/acpi_video0/ is present: this is the kernel interface to set the brightness. I have it, but running cho 2 /sys/class/backlight/acpi_video0/brightness has no effect in the display brightness. CONFIG_BACKLIGHT_LCD_SUPPORT is the appropriate kernel config category to look at in recent kernels. Yes, that variable is set. BTW which kernel are you using? 2.6.27-r2 No doubt: the first dimms the videocard output, the latter the LCD. I didn't know the reasons for this missmatch, thanks a lot for this brief but useful explanation. You can use xev to see which keycode is emmitted and then look in your desktop environment if this is match with some action. In fact, Fn + dimming keys produces output. Now, to do something useful, I need to know how to dim the light of the LCD. Well. it should be somehow applicable, because it is rather generic. I don't know how to replace this line echo level ${LEVEL} /proc/acpi/ibm/brightness I have a file /proc/acpi/video/C14B/C160/brightness whose contents look like levels: 100 51 30 37 44 51 58 65 72 79 86 93 100 current: 72 I did some echoes to that file, but no luck so far :(
Re: [gentoo-user] How to dim the display brightness
Hi Steffen, and take a look if /sys/class/backlight/acpi_video0/ is present: On an IBM T61 i have acpi_video1 too. Video0 represents the vga/dvi output where video1 represents the LCD. Also have a look on max_brightness on this dirs for the maximum value. No, I only have video0. As workarround you could switch to a console (Ctrl+Alt+F1) and try to dim with your fn+ keys. Yes, that's is what I'm currently doing. Be careful to touch the right (video-)output. In /proc/acpi/video i have two devices: VID and VID1. VID1 references to my LCD. Yes, I looked into that folder, but I had no results so far :( I'm still trying ... Thanks for your mail. Best regards, Damian. Steffen
[gentoo-user] How to dim the display brightness
Hi, I cannot find the way to dim the brightness of the display on my laptop. It doesn't seem to be nothing useful in /proc/acpi neither I can find anything in google. I would like the brightness of the screen to be dimmed when the computer is idle for a certain amount of time. Do you have any clues where I can start digging? Thanks in advance, Damian.
Re: [gentoo-user] How to dim the display brightness
On Mon, Feb 23, 2009 at 12:41 PM, Antonio Quartulli or...@ritirata.org wrote: Damian ha scritto: Hi, I cannot find the way to dim the brightness of the display on my laptop. It doesn't seem to be nothing useful in /proc/acpi neither I can find anything in google. I would like the brightness of the screen to be dimmed when the computer is idle for a certain amount of time. Do you have any clues where I can start digging? Thanks in advance, Damian. It depends on your video driver. First of all, which video card have you got? Indeed. I have an Nvidia Quadro. Sorry for not specifying that. My laptop is a Compaq 8510w. -- Antonio Quartulli http://www.ritirata.org/ordex
Re: [gentoo-user] How to dim the display brightness
On Mon, Feb 23, 2009 at 1:03 PM, Sebastian Günther sam...@guenther-roetgen.de wrote: * Damian (damian.o...@gmail.com) [23.02.09 10:19]: Hi, I cannot find the way to dim the brightness of the display on my laptop. It doesn't seem to be nothing useful in /proc/acpi neither I can find anything in google. Did you enable the apropiate acpi drivers in the kernel? They depend on your laptop model... Yes. But nothing seems to work. I can do it by using nvidia settings, but the dimming is different from the one you get when pressing Fn + the dimming keys on a text console (btw, this is a weird behavior: I cannot do key-based dimming when X is running). http://www.gentoo.org/doc/en/power-management-guide.xml Yep, I looked there, but the example don't apply to my laptop model :( Thanks.
Re: [gentoo-user] How to dim the display brightness
Hi Sebastian, acpi_os-name = Linux as kernel parameter might help. Ok, I've changed the grub menu.lst file. After the reboot I will write if something changes. and take a look if /sys/class/backlight/acpi_video0/ is present: this is the kernel interface to set the brightness. I have it, but running cho 2 /sys/class/backlight/acpi_video0/brightness has no effect in the display brightness. CONFIG_BACKLIGHT_LCD_SUPPORT is the appropriate kernel config category to look at in recent kernels. Yes, that variable is set. BTW which kernel are you using? 2.6.27-r2 No doubt: the first dimms the videocard output, the latter the LCD. I didn't know the reasons for this missmatch, thanks a lot for this brief but useful explanation. You can use xev to see which keycode is emmitted and then look in your desktop environment if this is match with some action. In fact, Fn + dimming keys produces output. Now, to do something useful, I need to know how to dim the light of the LCD. Well. it should be somehow applicable, because it is rather generic. I don't know how to replace this line echo level ${LEVEL} /proc/acpi/ibm/brightness I have a file /proc/acpi/video/C14B/C160/brightness whose contents look like levels: 100 51 30 37 44 51 58 65 72 79 86 93 100 current: 72 I did some echoes to that file, but no luck so far :(
Re: [gentoo-user] Removing shared libraries
Thank you Jesus and Paul. I will back up the libraries just in case. On Wed, Feb 4, 2009 at 8:46 PM, Jesús Guerrero i92gu...@terra.es wrote: El Mie, 4 de Febrero de 2009, 20:28, Paul Hartman escribió: On Wed, Feb 4, 2009 at 1:09 PM, Damian damian.o...@gmail.com wrote: Those shared objects were installed when I manually compiled plasmoids some time ago (using kde 4.1, now I have kde 4.2). So my question is if I can safely remove those files without beaking anything. I think it is safe but I want to be cautious. In any case it's non-vital stuff. So just tar them up and delete. You can put them back if anything related complains. -- Jesús Guerrero
[gentoo-user] Removing shared libraries
Hi, After I ran reconcilio (I guess revdep-rebuild will yield a similar output) I got the following message: The following broken files are not owned by any installed package: /usr/lib64/kde4/plasma_applet_sysmoni_nvidia.so (requires libplasma.so.2) /usr/lib64/kde4/plasma_applet_sysmoni_portage.so (requires libplasma.so.2) /usr/lib64/kde4/plasma_applet_sysmoni_ram.so (requires libplasma.so.2) /usr/lib64/kde4/plasma_applet_sysmoni_sys.so (requires libplasma.so.2) /usr/lib64/kde4/plasma_applet_sysmoni_top.so (requires libplasma.so.2) /usr/lib64/kde4/plasma_yawp.so (requires libplasma.so.2) /usr/lib64/kde4/sysmoni_engine.so (requires libplasma.so.2) /usr/lib64/libsysmoni.so (requires libplasma.so.2) Those shared objects were installed when I manually compiled plasmoids some time ago (using kde 4.1, now I have kde 4.2). So my question is if I can safely remove those files without beaking anything. I think it is safe but I want to be cautious. Thanks in advance. Regards, Damian.
Re: [gentoo-user] Amarok only masked with ~x86 keyword
I almost forgot - trying to emerge amarok2.0.1.1 is almost guaranteed to fail due to the amarok devs have no clue as to how mysql is built, plus other errors: Indeed. I think it's time for me to drop one more kde app. http://bugs.gentoo.org/show_bug.cgi?id=238487 http://bugs.gentoo.org/show_bug.cgi?id=250870 -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Amarok only masked with ~x86 keyword
Thanks Paul and Alan for your advices. OT: For me it's hard to drop amarok because I cannot find all of its funtionality in one player. For now I'm using mpd+sonata. They're great, but it's just not the same. I guess eventually I'll make my own player :P On Tue, Jan 27, 2009 at 7:40 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Tuesday 27 January 2009 18:35:07 Damian wrote: I almost forgot - trying to emerge amarok2.0.1.1 is almost guaranteed to fail due to the amarok devs have no clue as to how mysql is built, plus other errors: Indeed. I think it's time for me to drop one more kde app. http://bugs.gentoo.org/show_bug.cgi?id=238487 http://bugs.gentoo.org/show_bug.cgi?id=250870 I'm sorely tempted to do the same. amarok-2.0.1.1 does eventually compile if you: build mysql or mysql-community with USE=embedded -minimal then build amarok But it just feels ... clunky. The big content panel in the middle is awkward: There's no way I can find to tell amarok which applet you want to go where, with multiple panes in use the animation effect to switch from one to the other is non-intuitive. Eventually by zooming the whole thing out you can see it's 4 panes arranged 2x2 and the animation simulates moving from one to another. But it doesn't *tell* you it's laid out like that so the random motion looks weird. The last played display switches back and forth between a name with cover art format and a long black oval just like the applet selector. Um, which is it supposed to be? And many many other quirks, too many to mention. As a player, it plays OK - sound does come out of the speakers. But players are commodity apps these days. Dump one, use another, easy peasy. -- alan dot mckinnon at gmail dot com
[gentoo-user] Amarok only masked with ~x86 keyword
Hello, What does it means when the ~amd64 is not one of the keywords used to mask the package? The problem I have is that I would like to install amarok 2 but I cannot unmask it by accepting ~amd64. It is safe to unmask it using ~x86 even though my system is amd64? Thanks in advance. Best, Damian.
Re: [gentoo-user] Amarok only masked with ~x86 keyword
On Fri, Jan 23, 2009 at 10:48 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Friday 23 January 2009 11:11:18 Damian wrote: Hello, What does it means when the ~amd64 is not one of the keywords used to mask the package? The problem I have is that I would like to install amarok 2 but I cannot unmask it by accepting ~amd64. It is safe to unmask it using ~x86 even though my system is amd64? The ebuild has this: $ grep KEYWORDS amarok-2.0.1.1.ebuild KEYWORDS=~x86 So it's not even tested on amd64. The answer is in 'man portage': Thanks Alan. Best, Damian. Note: In addition to the normal values from ACCEPT_KEYWORDS package.key- words supports three special tokens: * package is visible if it is stable on any architecture ~* package is visible if it is in testing on any architecture ** package is always visible (KEYWORDS are ignored completely) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Microphone not working
Thanks Paul. I've been using model=acer and I just tried a couple others, some worked some didn't. I also tried removing and replacing my second USB sound card definition. The strange thing is I've come back to my original config and it's working now. Could another file have gotten out of order and my playing with the settings got it back together? I'm glad you could make it. Can you send the relevant configuration files?
Re: [gentoo-user] Microphone not working
On Sat, Jan 10, 2009 at 9:25 PM, Grant emailgr...@gmail.com wrote: Thanks Paul. I've been using model=acer and I just tried a couple others, some worked some didn't. I also tried removing and replacing my second USB sound card definition. The strange thing is I've come back to my original config and it's working now. Could another file have gotten out of order and my playing with the settings got it back together? I'm glad you could make it. Can you send the relevant configuration files? Sure, here it is, but this config was also not working. I tried model=alsa-aspire, model=auto, and I removed the second sound card definition. I eventually brought it back to the way it originally was and now it's working. Weird. Thanks a lot. I hope it works, but if you said it was not working the first time, probably there is some other configuration required. Let's see what happens. Best regards, Damian. alias char-major-116 snd alias char-major-14 soundcore alias snd-card-0 snd-hda-intel options snd-hda-intel index=0 options snd-hda-intel model=acer alias snd-card-1 snd-usb-audio options snd-usb-audio index=1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss options snd cards_limit=2 - Grant
Re: [gentoo-user] help
On Thu, Jan 8, 2009 at 8:02 PM, Dale rdalek1...@gmail.com wrote: Daryl Styrk wrote: Did you fall and you can't get up or what? :-p ROFL! Dale :-) :-)
Re: [gentoo-user] Microphone not working
On Mon, Jan 5, 2009 at 9:17 PM, Grant emailgr...@gmail.com wrote: The microphone on my laptop isn't working and I'm not sure how to troubleshoot it. I've tried using it in twinkle and arecord but it doesn't work in either. The headset works fine on a different system. Can anyone help with this? Chipset of the audio card? Laptop model? - Grant
Re: [gentoo-user] Microphone not working
On Wed, Jan 7, 2009 at 7:28 PM, Grant emailgr...@gmail.com wrote: The microphone on my laptop isn't working and I'm not sure how to troubleshoot it. I've tried using it in twinkle and arecord but it doesn't work in either. The headset works fine on a different system. Can anyone help with this? Chipset of the audio card? Laptop model? It's one of those built-in intel-hda cards and the laptop is an Acer. The mic actually used to work. We have the same problem then! I had a laptop Acer (now it's my girfriends') Aspire 5720G. After a kernel upgrade the mic stopped working. So far I had no luck. My girlfriend just bought an external microphone (she's more pragmatic than me) and that worked. Sorry I'm not able to help. - Grant
Re: [gentoo-user] gtkradiant freezes all but mouse
This don't address your original problem, but it is just a tip to use when X freezes (so you don't have to reboot): http://en.wikipedia.org/wiki/Magic_SysRq_key To use the keys compile the kernel with CONFIG_MAGIC_SYSRQ set. On Wed, Jan 7, 2009 at 5:48 PM, Frank Schwidom schwi...@gmx.net wrote: Hi, it is very amiga like: the only thing working after starting radiant (gtkradiant) is the mouse pointer, but no window can be moved, closed, no workspace switched, no keyboard input leads to any reaction. I was running revdep-rebuild, but the problem still exists. What can i do to solve this problem? Regards
Re: [gentoo-user] Microphone not working
You guys might need to specify your specific model of hda-intel in /etc/modprobe.d/alsa since it may not be auto-detecting the capabilities of which chipset your laptop has. For example on my desktop I added this line: options snd-hda-intel model=6stack-dig I remember I also tried that, but probably I haven't tried hard enough. Thanks Paul!
Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Daniel, Thanks for your response. I'll try to make some time to test your tips. You can also try booting a Fedora/Ubuntu/SuSE LiveCD, and see if with their kernel the same happens (given that suspend works on their LiveCD). If they manage to switch off the power to your USB-ports, that can give us a hint. That I can try, I still keep the Ubuntu (shame on me! :P) which I used to install Gentoo. Best regards, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
LiveCD). If they manage to switch off the power to your USB-ports, that can give us a hint. That I can try, I still keep the Ubuntu (shame on me! :P) which I used to install Gentoo. Nope. I've booted with Ubuntu (damn it boots slow! :P) and after suspending the usb port was still yielding power. I guess it's better for me to find out if there actually is a way to prevent this. Best regards, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Daniel, Try enabling or disabling USB_SUSPEND (Device Drivers-USB support-USB selective suspend/resume and wakeup) in your kernel. It was already enabled. If that does not help, unloading the USB and wireless drivers before suspend should do the trick. I added this line to /etc/hibernate/common.conf UnloadModules usb-ohci But no luck. I don't know if I should add UnloadAllModules yes instead, just to be sure :D If you use sys-power/pm-utils for suspend hibernate, you can add kernel modules for automatic removal before suspend to SUSPEND_MODULES in /etc/pm/config.d/modules. I have sys-power/pm-utils installed, but no file named /etc/pm/config.d/modules. Anyway, I have USB support built in into the kernel, should I compile it as modules? Best regards, Damian.
[gentoo-user] Suspend to ram: correct behavior?
Hi, When I suspend to ram my laptop I've noticed the usb ports still yield energy (the light of my external hard drive stays on) and also the led of the wired network device is on. Is this supposed to happen? I think it should be a problem because the laptop consumes more energy that way. Does anybody know how to solve it? Thanks in advance. Best, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Alan, On Sun, Dec 21, 2008 at 3:16 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 21 December 2008 16:04:34 damian wrote: Hi, When I suspend to ram my laptop I've noticed the usb ports still yield energy (the light of my external hard drive stays on) and also the led of the wired network device is on. Is this supposed to happen? I think it should be a problem because the laptop consumes more energy that way. Does anybody know how to solve it? Sounds like wake up from usb and wake up on lan is working. Either that or your devices did not go to sleep properly and are still awake. Do you get any hits from Google using those terms or similar ones? No luck so far :(. I'll keep on looking. Best, Damian.
Re: [gentoo-user] {OT} Storage expansion options
On Sun, Dec 14, 2008 at 3:49 AM, Grant emailgr...@gmail.com wrote: My desktop currently runs one of these: http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140 Out of space with 320G? Have you considered putting your multimedia in an external hard drive?
Re: [gentoo-user] {OT} Storage expansion options
On Sun, Dec 14, 2008 at 4:52 PM, Grant emailgr...@gmail.com wrote: My desktop currently runs one of these: http://www.newegg.com/Product/Product.aspx?Item=N82E16822148140 Out of space with 320G? Have you considered putting your multimedia in an external hard drive? What would be the benefit of using an external drive instead of an internal drive? Heat wouldn't be a problem which is good, but it would mean a little extra clutter. Wouldn't it be slower over USB? I'm doing some Blu-Ray ripping/decrypting and it seems like the speed is being limited by I/O. It depends on what your needs are. Personally I use an external hard drive for storing my music collection and video files (movies, series, etc). I haven't had any problem while watching videos or listening music from the external hard drive. But I guess for other purposes it might not be the best solution.
[gentoo-user] How to make a backup of my gentoo installation
... using rsync. Hello, Finally I got a (less than perfect but) functional gentoo installation and I would like to backup my root directory to an external hard-drive. But I have a doubt regarding the options to be passed to rsync. I think this command should perform what I want: rsync -a --delete --relative --exclude '/home' / /mnt/wd-backups/ But I would like to ask you if this is correct. Best regards, Damian.
Re: [gentoo-user] How to make a backup of my gentoo installation
On Sun, Dec 14, 2008 at 10:09 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote: rsync -a --delete --relative --exclude '/home' / /mnt/wd-backups/ That will also backup virtual filesystems like /proc, /dev and/sys. Add the -x option to avoid this. OK, so the command should be rsync -ax --delete --relative --exclude '/home' / /mnt/wd-backups/ ? -- Neil Bothwick I am Barney of Borg: I love you. You love me. We're a happy Borg.
Re: [gentoo-user] ebuild for recent ATI driver, whom to go to?
On Thu, Dec 11, 2008 at 2:14 PM, Justin [EMAIL PROTECTED] wrote: Miguel Ramos schrieb: Hi, I'm new to these lists. I have just come up with an ebuild for the most recent ATI driver for FirePro/FireGL chips. Previous ebuilds didn't work due to problems compiling fgl_glxgears; so this one is better because it solves these issues and because the driver is more recent. Whom should I give/send/show it to, so it becomes available for everyone? There isn't a gentoo-ati mailing list. Best to fill a bug report at bugs.gentoo.org I would like to add that by filling the report you can upload your ebuild along with the bug report, so it will be available for everyone.
[gentoo-user] Amarok 2 Beta: add mp3 support
Hi, I'm trying the beta version of amarok. The problem is that I cannot play mp3 files. Does any of you worked out this problem? Regards, Damian.
[gentoo-user] Re: Amarok 2 Beta: add mp3 support
On Mon, Dec 8, 2008 at 11:08 AM, damian [EMAIL PROTECTED] wrote: Hi, I'm trying the beta version of amarok. The problem is that I cannot play mp3 files. Does any of you worked out this problem? Regards, Damian. Already solved. I installed kde-base/phonon-xine and then I started alsasound.
Re: [gentoo-user] [bit OT] 32 vs. 64 bits
Hello, I have a couple of problems only with proprietary software: real movie videos and flash. The applications are: - Flash Sometimed the nspluginviewer eats the 100% of the CPU. Most of the time it works great, but it's quite annoying. - mplayer I cannot see real movie videos. I don't have many of them (actually just a documentary) so I don't try very hard to find a solution. Hope that helps.
Re: [gentoo-user] [bit OT] 32 vs. 64 bits
They recently released a 64-bit version of Flash plugin for Linux. I unmerged the nspluginwrapper and unmasked the latest flash plugin and it's working beautifully since. It hasn't crashed/frozen once. Thanks for the tip! By 'flash plugin' you do you mean this package http://gentoo-portage.com/net-www/netscape-flash ? (just to be sure)
Re: [gentoo-user] Update the clock using internet servers: recommendations
I agree. I been using ntp here and it works fine. If you need help configuring it, let me know. Off list if needed, just put Gentoo in the subject line. Ok, thanks Dale. But I can you tell me if there is any difference among ntp and htpdate?
Re: [gentoo-user] Update the clock using internet servers: recommendations
So yes, there is a difference. With htpdate, you synchronize against a _web_ server. How do you know it has a stable time source? OTOH, with ntp you synchronize against a specialized network _time_ server which is usually equiped with an accurate time souce*), using a protocol that was specifically desigend for that purpose (for example the time is adjusted without jumps), see http://www.ntp.org/ for all the details. Thank you so much for the comparison Dirk. I did't take that aspect into account (I was concern about performance issues only, not correctness). So I guess for the moment I will keep using htpdate, and when I find the time I will switch to some ntp client. Actually, so far I haven't had problems with htpdate, but I guess in this case there's no harm in being paranoic. Thanks everybody for your help. Best regards, Damian.
Re: [gentoo-user] How to run dhclient on the background
I had a similar problem with my machine when I first started using Gentoo, but I then discovered sys-apps/netplug. Install that and all should be well. You might want to check your RC_NET_STRICT_CHECKING variable (in /etc/conf.d/rc) is the way you want it, but otherwise there isn't any extra configuration required. I realise you've already got your original problem sorted, but hopefully this helps others. Thanks for the tip Dan.
[gentoo-user] Update the clock using internet servers: recommendations
Hi, In the past I've used htpdate to synchronize my computer's clock. But I would like to know what daemon would you recommend me. I'm searching for a lightweight option. Thanks in advance, Damian.
[gentoo-user] How to run dhclient on the background
Hello, When I boot my computer I don't want to wait for the dhcp client (in my case dhclient) to acquire a lease to continue the booting process. Instead, I would like that the client could be run in the background (as a daemon) right after it is invoked. Reading through the man pages of dhclient it seems like I need to pass the -nw flag to the client. However. I can't find how to do this. Any help is welcomed. It seems like I'm the only one with this issue (I don't think so) because I can't find in the internet information about this. Thanks in advance, Damian.
Re: [gentoo-user] How to run dhclient on the background
Hi again, Thank you all for your responses. After I sent my first email I modified the rc config to boot in parallel. The boot process was faster after that: just for the record, it takes 20 secs in a core 2 duo laptop to drop the login prompt without X, wireless supplicant, cron daemon or sound. I will also take a look at ifplug/netplug. Thanks for the tip. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4chap=3#doc_chap3 Sorry but I already looked into that page, but I couldn't find the information I'm looking for. Could you be more explicit? Best regards, Damian.
Re: [gentoo-user] How to run dhclient on the background
You wanted to pass options to your dhcp client. The page mentioned shows two ways of doing that: 1) By setting the variable dhcp_eth0 to a space-delimited string of options, like dhcp_eth0=release nodns nontp nonis These generic options work for any of the dhclient, dhcpcd, pump and udhcpc clients. 2) By setting ${CLIENTNAME}_eth0 to a space-delimited string of options, you can pass any option to your specific client If you want to pass the -nw option to the dhclient client for the eth0 interface, you would write dhclient_eth0=-nw All this configuration goes in /etc/conf.d/net (at least for baselayout 1.12.12; I don't know about baslayout 2.0.0) Thanks Jorge! I overlooked that. Sorry. Best regards, Damian.
[gentoo-user] Experiences using Paludis?
Hi all, I'm Damian. I've recently subscribed to this mailing list. I would like to ask the paludis users in this list what were your experiences on the use of this tool. Is a good replacement for portage? Can be used safely to manage the packages in the system? And finally, does anybody have experience in installing from scratch a Gentoo system without portage but with paludis? I would like to know because I'm about to do that. Thanks in advance. Best regards, Damian.
[gentoo-user] burning compressed iso
I want to burn an iso image with a .bz2 extension (the full file name is livecd64-ahorn5.iso.bz2). I only have windows xp. I tried the 'bsdtar' tool, but, whilst it decompresses the file, it doesn't leave an iso image which I can then burn. What do I do? Thanks -- gentoo-user@gentoo.org mailing list
[gentoo-user] burning compressed iso
I want to burn an iso image with a .bz2 extension (the full file name is livecd64-ahorn5.iso.bz2). I only have windows xp. I tried the 'bsdtar' tool, but, whilst it decompresses the file, it doesn't leave an iso image which I can then burn. What do I do? Thanks -- gentoo-user@gentoo.org mailing list
[gentoo-user] burning compressed iso
On Sat, 2005-10-22 14:59:02, Rumen Yotov wrote: IIRC you can use 7zip for Windows to uncompress .bz2 compressed files. Or search for bzip2 for Windows (was win tools or something similar). I have managed to decompress the file with 'bsdtar', however, this does not result in an 'iso' but actually turns the livecd64-ahorn5.iso.bz2 into all the files that would make up the livecd64-ahorn5.iso, so I do end up with all the files, but not an image I can burn onto a cd. I can not boot my new pc without a bootable cd as it doesn't have an operating system on yet. Thanks, Damian -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] burning compressed iso
--- Holly Bostick [EMAIL PROTECTED] wrote: damian bamforth schreef: On Sat, 2005-10-22 14:59:02, Rumen Yotov wrote: IIRC you can use 7zip for Windows to uncompress .bz2 compressed files. Or search for bzip2 for Windows (was win tools or something similar). I have managed to decompress the file with 'bsdtar', however, this does not result in an 'iso' but actually turns the livecd64-ahorn5.iso.bz2 into all the files that would make up the livecd64-ahorn5.iso, so I do end up with all the files, but not an image I can burn onto a cd. Perhaps the file you're using has been deliberately misnamed. Or, perhaps bsdtar is not as useful a program as it would seem at first glance. If you remove the *.bz2 extension, leaving the filename as just *.iso, can it then be burned as an ISO in your CD burning software? In any case I would check the file with WinRAR or 7zip (or even Total Commander) to confirm that it really is a bzipped iso, and not just an ISO that has been renamed to iso.bz2 Holly -- gentoo-user@gentoo.org mailing list Ahhh... 7zip found the iso, and extracting it. This issue is now resolved. Thanks, Damian -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] burning compressed iso
--- Holly Bostick [EMAIL PROTECTED] wrote: damian bamforth schreef: On Sat, 2005-10-22 14:59:02, Rumen Yotov wrote: IIRC you can use 7zip for Windows to uncompress .bz2 compressed files. Or search for bzip2 for Windows (was win tools or something similar). I have managed to decompress the file with 'bsdtar', however, this does not result in an 'iso' but actually turns the livecd64-ahorn5.iso.bz2 into all the files that would make up the livecd64-ahorn5.iso, so I do end up with all the files, but not an image I can burn onto a cd. Perhaps the file you're using has been deliberately misnamed. Or, perhaps bsdtar is not as useful a program as it would seem at first glance. If you remove the *.bz2 extension, leaving the filename as just *.iso, can it then be burned as an ISO in your CD burning software? In any case I would check the file with WinRAR or 7zip (or even Total Commander) to confirm that it really is a bzipped iso, and not just an ISO that has been renamed to iso.bz2 Holly -- gentoo-user@gentoo.org mailing list Ahhh... 7zip found the iso, and extracting it. This issue is now resolved. Thanks, Damian -- gentoo-user@gentoo.org mailing list
[gentoo-user] help with new install
I am fairly new to linux, and have decided to 'give it a shot'. I have read the manual for gentoo... but I have run into problems. My system is an AMD64 3000, with abit AX8 mobo. I downloaded Gentoo 2005.1 Universal install CD and it boots fine, but does not detect the network card, which is an on-board device controlled by a 'c plus' gigabit ethernet chip. I managed to get drivers from the manufacturer, in source code, but I can't work out how to compile it. According to the stuff I read in the manual and on the internet, I need to turn the driver source code into a .ko file for this to work, then use the 'insmod'command. The 'make' command that I have read about on the internet doesn't work. Some documentation talked about ensuring links point to the right place, and then recompile the kernel, but obviously this is not an option on a bootable cd. There doesn't seem to be a c compiler either - I tried 'gcc'. It says in the manual that if I have a universal cd then I don't actually need an internet connection at this point of the install, but firstly I want to start at stage 1, because from what I understand gentoo will be configered more acurately to my system (hence *better*, I think), and secondly I think I need to have the network connection set up at this point in order for portage to work right. So, what do I do now? Thanks, Damian. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATAPI burning doesn't work
Phill MV wrote: Doing cdrecord -tao --dev=ATAPI:0,0,0 /pkg.iso as root (0,0,0 being my cdr/w drive) yields a few warnings like cdrecord: Warning: Running on Linux-2.6.10-gentoo-r6 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. scsidev: 'ATAPI:0,0,0' devname: 'ATAPI' scsibus: 0 target: 0 lun: 0 Warning: Using ATA Packet interface. Warning: The related Linux kernel interface code seems to be unmaintained. Warning: There is absolutely NO DMA, operations thus are slow. and a useless terminal window, permanently waiting on something I can't identify. Any help? I would've burned this in windows hadn't windows started BSOD'ing every other reboot (I'm on fresh reinstall #2 and no time left). .~. $ cdrecord dev=ATAPI:/dev/hdc -scanbus Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jrg Schilling on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 Maximilian Decker NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to burbon04 at gmx.de. For more information please see http://burbon04.gmxhome.de/linux/CDREncryption.html. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.11.7 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. scsidev: 'ATAPI:/dev/hdc' devname: 'ATAPI:/dev/hdc' scsibus: -2 target: -2 lun: -2 Warning: Using ATA Packet interface. Warning: The related Linux kernel interface code seems to be unmaintained. Warning: There is absolutely NO DMA, operations thus are slow. Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8480B ' '1.03' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * .~. $ It's for udev! If you have, as I see devfs please use: dev=ATAPI:0,0,0 for example. kernel is Linux-2.6.10-gentoo-r6, and the following can be found in my config: * ATA/ATAPI/MFM/RLL support * Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support --- Please see Documentation/ide.txt for help/info on IDE drives [ ] Support for SATA (deprecated; conflicts with libata SATA driver) [ ] Use old disk-only driver on primary interface * Include IDE/ATA-2 DISK support [*] Use multi-mode by default * Include IDE/ATAPI CDROM support Include IDE/ATAPI TAPE support (EXPERIMENTAL) * Include IDE/ATAPI FLOPPY support * SCSI emulation support [ ] IDE Taskfile Access --- IDE chipset support/bugfixes * generic/default IDE chipset support You have wrong configuration. Please use: M Include IDE/ATAPI CDROM support (MODULE IS BETTER) SCSI emulation support (EMULATION WORKS WITH OLD KERNEL, NOT WITH THIS) [*] Use multi-mode by default (ONLY IF YOU HAVE MORE THEN 1 IDE/ATA DISK) generic/default IDE chipset support (THERE IS NO NEED FOR THIS) And better please send me yours: 1. kernel config for this 2.6.10-gentoo-r6 2. dmesg output 3. lspci I will reconfigure your kernel, thats no problem for me :-) P.S. Maby you can swith to: latest ACCEPT_KEYWORSD=x86 with newest gentoo-sources, and use udev with 2005.0 profile? -- ### Damian Kokowski (dEiMoS) ## http://kolkowski.no-ip.org/ ### # echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ # -- gentoo-user@gentoo.org mailing list