Re: [gentoo-user] Wifi: Hardware out of luck ?

2015-07-25 Thread Nils Larsson
I've always found USB wifi dongles to be hit-n-miss on linux.

But you could try the sources here:
https://github.com/porjo/mt7601

lör 25 jul 2015 13:11 Mick michaelkintz...@gmail.com skrev:

 On Saturday 25 Jul 2015 12:02:56 meino.cra...@gmx.de wrote:

  Hi Mick,
 
  THAT helps me! I already did download the driver sources...for kernel
  2.6.x...ieeekkks!

 The driver may still work fine with current kernels.


  I will look for something with an Atheros chipset. I already found
  some product names...
 
  Thanks a lot again! :)
  Best regards
  Meino

 Before you buy something else, if you have installed the driver then try:

  modprobe -v mt7601Usta

 and keep an eye in the log to see if it loads successfully.

 --
 Regards,
 Mick



Re: [gentoo-user] Nepomuk is eating my disk space

2011-09-26 Thread Nils Larsson
tisdagen den 27 september 2011 04:18:56 skrev  Peter Humphrey:
 Hello list,
 
 My /home partition is 15GB, and the other day KDE warned me it was down to
 1% free. I found that
 .kde4/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-
 virtuoso.db
 was occupying 12GB, so I deleted it and rebooted.
 
 Today it's already 3GB after only a few days. B.g.o has no virtuosobackend
 or soprano-virtuoso.db bugs. As it's apparently impossible nowadays to
 install KDE without nepomuk and friends, what does the team think is a good
 way to tame this beast? This is an amd64 box, not ~amd64.

You could disable it(search for Nepomuk in systemsettings). That's what I did. 
Got tired of nepomukindexer spawning hundreds of instances of itself and 
eating all my memory...




Re: [gentoo-user] Use split to break up a 10GB file binary?

2011-06-20 Thread Nils Larsson
On Monday 20 June 2011 08:25:57 Mark Knecht wrote:
 Hi,
Is split an appropriate program to use to break a single 10GB file
 into 100 100MB files to transfer over the net using rsync, and then
 use cat to reassemble?
 
Is there some better way to do this?

Maybe not better, but you could use a torrent application that support magnet 
links to send files across the net. No need to send chop it up in chunks then.




Re: [gentoo-user] kde update

2011-05-31 Thread Nils Larsson
tisdagen den 31 maj 2011 22:00:28 skrev  Dale:
 Does anyone remember the discussion I had about kde packages being in
 the system set when doing a emerge -e system?  If I for example unmerge
 kde-meta then run --depclean, I bet I would get the error about system
 packages being removed.  It may be because of USE flags but this was
 what I was concerned about during the last discussion.  Having GUI
 packages, especially KDE, included in the system set, even if because of
 USE flags, is going to lead to problems at some point.
 
 Or maybe I am reading all this wrong?
 
 Dale

I assume you have kde enabled on sys-auth/polkit, that pulls in sys-
auth/polkit-kde-agent and sys-auth/polkit-kde. Thats all the qt-* and kdelibs 
packages.




Re: [gentoo-user] setting locale

2011-05-30 Thread Nils Larsson
Eh... Right, so ...

The echo example might have been a bit blunt. I've found myself using echo 
examples as a general you need to add this setting here device, like you 
learn to do when you start using Gentoo, might have been a bit presumptuous of 
me.

As for the incorrect locale string, copypaste from parent.




Re: [gentoo-user] setting locale

2011-05-29 Thread Nils Larsson
måndagen den 30 maj 2011 03:26:49 skrev  Allan Gottlieb:
 What must I do to get en_US_utf8 ?

echo LANG=en_US_utf8  /etc/env.d/02locale
and
env-update
should work.




Re: [gentoo-user] kde-4 device detection

2011-05-27 Thread Nils Larsson

 Is there anybody suffering the same problem?

I've seen this. Also udisks --enumerate wouldnt work. IIRC a reemerge of 
udisks fixed it.




Re: [gentoo-user] kde-4 device detection

2011-05-27 Thread Nils Larsson
lördagen den 28 maj 2011 00:54:42 skrev  Neil Bothwick:
 That fails on the broken box with Failed to execute
 program /usr/libexec/dbus-daemon-launch-helper:

Yepp, thats the error. I vaugly recall doing a emerge -1 dbus polkit 
consolekit udisks etc.




Re: [gentoo-user] Mounting the rootfs by UUID?

2011-01-21 Thread Nils Larsson
On Friday 21 January 2011 04:09:12 walt wrote:
 Has anyone managed to use that UUID feature to tell the kernel where to
 find the rootfs?

You have to use a initramfs, see:
http://en.gentoo-wiki.com/wiki/Initramfs#UUID.2FLABEL_Root_Mounting



Re: [gentoo-user] Amarok

2010-09-20 Thread Nils Larsson
 Also, if you want something 'light':
 qmmp
 alsaplayer

There's also media-sound/clementine



Re: [gentoo-user] gcc +gcj ???

2010-09-16 Thread Nils Larsson
torsdag 16 september 2010 17.39.25 skrev  james:
 hello,
 
 I wanted to install pdftk, but it requires
 that gcc is compiled with gcj.
 
 Is this a good idea?

If that's what you need then yes. Enable USE=gcj on sys-devel/gcc.



Re: [gentoo-user] To be sse3 or not to be sse3, that is the phenom!

2010-09-16 Thread Nils Larsson
fredag 17 september 2010 05.21.42 skrev  meino.cra...@gmx.de:
 Hi,
 
  short question:
  My PC runs a AMD Phenom II X6 1090T (E0 stepping, Black Edition).
  cat /proc/cpuinfo claims, that the processor does support sse, sse2
  and sse4a (sse3 is missing).
 
  Wikipedia states for the same CPU that it would support sse3.
 
  What is correct?
 
  Best regards,
  mcc

IIRC the sse3 flag is pni.



Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?

2010-09-15 Thread Nils Larsson
 That's not my question, problem was adding Gentoo to grub2 config, it
 was'nt found by grub2-script and not added to the list. But i will see
 in a few minutes how it comes.

Grub2 (or os-prober) can't find Gentoo installs. You have to add it manually or 
add a script that generates the Gentoo entry blindy.



Re: [gentoo-user] Wine complains about Gecko

2010-09-07 Thread Nils Larsson
On Tuesday 07 September 2010 04:32:11 Nikos Chantziaras wrote:
 When I try to launch a Windows program in Wine (1.3.2), an error dialog
 appears informing me that Gecko is not installed and the program might
 not work (which it doesn't).  It has an install button there, but
 mentions that it would be better if the distro, Gentoo in this case,
 would offer it and install it from there.
 
 I can't find any such package in portage though.  eix gecko only finds
 dev-dotnet/gecko-sharp and www-plugins/gecko-mediaplayer.

You should enable the gecko USE flag on app-emulation/wine.



Re: [gentoo-user] Trying to configure alsa for INTEL HDA (ATI)

2010-09-06 Thread Nils Larsson
 I did an alsaconf- and update-modules-reboot-cycle, but the only thing
 I get with alsamixer are four bars:
 master,pcm,capture,digital
 
 Seems a little too less for high definit audio, or ?

But what is you're missing? S/DPIF? Headphone? Front?



Re: [gentoo-user] Trying to configure alsa for INTEL HDA (ATI)

2010-09-06 Thread Nils Larsson
 I did an alsaconf- and update-modules-reboot-cycle, but the only thing
 I get with alsamixer are four bars:
 master,pcm,capture,digital
 
 Seems a little too less for high definit audio, or ?

But what is you're missing? S/DPIF? Headphone? Front?



Re: [gentoo-user] Trying to configure alsa for INTEL HDA (ATI)

2010-09-06 Thread Nils Larsson
 I did an alsaconf- and update-modules-reboot-cycle, but the only thing
 I get with alsamixer are four bars:
 master,pcm,capture,digital
 
 Seems a little too less for high definit audio, or ?

But what is you're missing? S/DPIF? Headphone? Front?



Re: [gentoo-user] Trying to configure alsa for INTEL HDA (ATI)

2010-09-06 Thread Nils Larsson
 I did an alsaconf- and update-modules-reboot-cycle, but the only thing
 I get with alsamixer are four bars:
 master,pcm,capture,digital
 
 Seems a little too less for high definit audio, or ?

But what is you're missing? S/DPIF? Headphone? Front?



Re: [gentoo-user] activating swap by udev event

2010-07-01 Thread Nils Larsson
tor 2010-07-01 klockan 15:49 +0200 skrev SpaceCake:
 Hi,
 
 
 I would like to increase the speed of my machine by putting some swap
 on a fast pendrive. It is working manually by starting a script
 
 swapon -s
 swapon -p -1 /dev/sdb1
 swapoff /dev/sda6
 swapon -p -2 /dev/sda6
 swapon -s
 
 but, I would like to make it automatic by creating an udev rule, so
 when I plug in that device the swap space is automatically activated
 and the priority is changed. I've tried to google for a solution like
 this, but I did not find. Maybe you already have some script at
 hand :) can you please share this with me?
 
 Thanks
 Laszlo
 

I tried doing something like this awhile ago. The problem I encountered
was that I couldn't disable the swap once the the device was removed,
swapoff couldn't find the device path(as it wasn't there anymore) but
the system thought the swap was still there. So plugging and unplugging
the swap stick got my system thinking it had loads of swap.

But I didn't experiment all that much, maybe there's a way. Tricking
udev to hold on to the device node until swap is disabled might be
possible.




Re: [gentoo-user] activating swap by udev event

2010-07-01 Thread Nils Larsson
tor 2010-07-01 klockan 08:49 -0700 skrev Bill Longman:
 On 07/01/2010 08:44 AM, SpaceCake wrote:
  So, it solves the first problem, identifiying the device, but how can I
  tell to udev to use always /dev/sds (for example) for this device?

You need to have the udev rule or the script that it runs look at
something specific(the swaplabel for instance).

  I'm thinking how can I instruct udev to turn off swap when the device is
  removed, but this is another story :)

I tried doing exactly what you're doing now awhile ago and this is where
I got stuck, swapoff needs the deivce node(path) to still exist, it
can't disable swap without it. I could never get swapoff to run before
udev removed the device node, so I ended up with the system thinking(or
at least reporting) that it had loads more swap than it actually did.





Re: [gentoo-user] activating swap by udev event

2010-07-01 Thread Nils Larsson
 I guess the deeper question (although entirely rhetorical AFAIC) is why
 would someone want to swap out to a removable device?

Hot-pluggable swapspace. For various desperate and/or just-in-case
scenarios. One might argue that if you find there you did it wrong in
the first place.





Re: [gentoo-user] Where to get qmake for qt3?

2010-07-01 Thread Nils Larsson
 Where do I find qmake 3?

I assume qt3 and whatever deps. it needs are available through the
kde-sunset overlay.






Re: [gentoo-user] Constraining X display resolutions

2010-04-28 Thread Nils Larsson
måndag 26 april 2010 13:57:56 skrev  Peter Humphrey:
 Hello list,
 
 My monitor is 1600 x 1200 but I like to run it at 1400 x 1050 (anno
 domini etc.). So far, though, KDE 4 doesn't remember the resolution at
 shutdown so it restarts at 1600 x 1200. I have to go through the
 rigmarole of setting it again every time I log in. I have raised a bug
 report but I don't suppose it's very high on anyone's list.
 
 Meanwhile, is there an entry I can make in xorg.conf, or elsewhere, to
 force KDE to display just the single resolution, 1400 x 1050?

If you're using a kernel with kernel mode setting enabled you can add 
the video= parameter to the kernel command line in grub.cfg(or 
menu.lst). So if you set video=1400x1050, X will think that's the highest 
resolution it can set.



Re: [gentoo-user] aterm into kterm?

2009-09-28 Thread Nils Larsson
 Now, at work, the machines run some custom version of linux and I am
 not sure what the terminals are. And I also often use the VT and not
 use X on my laptop, so I am disinclined to set TERM in .bashrc. 


Well, bash is bash, it doesn't matter if you work machines use X or
whatnot. Add:
export TERM=xterm
to ~/.bash_profile on your work machine account.