Tag Info

Hot answers tagged

4

You can use udev rules. For this, you'll need to find the device attributes that distinguish your USB headset once it is plugged in. This can be usually done in two steps: Run udevadm monitor --udev befor plugging the device. Then plug it in. There will be a bunch of output lines - just pick one and copy the device path from it - it is something like ...


3

Ebuilds are the right way to package an application in Gentoo. There are also eclasses which are collection of code used in ebuilds that automate procedures and makes your life easier. If you want to learn more about packaging and development in Gentoo, there is a full development manual where you can find everything you want about ebuilds. Also In order to ...


3

emerge pfl && e-file filename You need to use the full file name (It also supports full path), it doesn't do partial matches as that would yield too many results; probably to spare bandwidth. For such cases you can indeed resort to running description, eg. eix -S glw or the others mentioned in the other answer. http://wiki.gentoo.org/wiki/Pfl


2

I don’t know a whole lot about funtoo but I assume it is similar to Gentoo. The main problem you’ll face is that gentoo/funtoo repositories hardly ever store the source codes, only the metadata (which tells you where to download it). Once offline, if you don’t have the source codes, you can’t install the program Luckily, portage lets you fetch a program ...


2

Yes, this is fine and I routinely do this. One thing to keep in mind for stability is when you see large updated to your DE (e.g. yesterdays addition of KDE 4.11.4) when the update is finished, logout/relogin just to make sure any DE programs you launch are in sync with the new libraries.


2

OK—I'm not exactly sure what's going wrong on your box, but how about a quick summary of how this is supposed to work, to aid in troubleshooting. When you create an array with persistent superblocks (the quite sane default, and the way you've done it), mdadm stores various metadata on each disk. Included in that metadata is the array UUID, the array name, ...


1

Try the following server block server { listen 81 default_server; server_name _; root /usr/share/nginx/html; location / { index index.html; } } The underscore _ is a wildcard, Also the *:81 likely doesn't do what you expect, just use the port number. Then test your settings with nginx -t nginx: the ...


1

As http://www.funtoo.org/Funtoo_Linux_Installation_on_ARM explains, it is sufficient to do a ln -sf /etc/init.d/sshd /mnt/SDcard/etc/runlevels/default ln -sf /etc/init.d/dhcpcd /mnt/SDcard/etc/runlevels/default (adding dhcpcd is optional though you have to setup some networking) rc-update basically does this after checking that a service's dependencies ...


1

Portage-utils offer a tool, qsearch, that does search the Portage tree (much faster than default emerge -s).


1

Is there any other knowledge you're missing other than creating your own overlay? create package category directory in overlay (there's probably some command that creates this automatically when copying in the next step) copy package directory from portage into overlay modify ebuild run ebuild package.ebuild digest emerge -va package


1

As Caleb mentioned, PulseAudio lets you migrate streams from one device to another. To switch automatically, rather than manually through pavucontrol, add the module-switch-on-connect module to your PulseAudio configuration as described here: http://askubuntu.com/questions/158241/automatically-change-sound-input-output-device/158250#158250


1

If you don't have it yet, pulseaudio will give you this kind of flexibility in a really easy to use routing console called pavucontrol. The preferred and fallback devices can be set per application and system defaults.



Only top voted, non community-wiki answers of a minimum length are eligible