Re: [gentoo-user] problem with nvidia card -- could it be hardware?
Alexander Kapshuk wrote: > On 06/20/2014 11:58 AM, cov...@ccs.covici.com wrote: > > Hi. I am using the nvidia GeForce GT 430 for years and suddenly within > > the last few days, if I start gdm, it gives me an error, no screens > > found and dumpss core and if I let it go it will keep dumping core and > > filling up my root partition. It works with my frame buffer, but no > > longer with gdm or even startx. So is this some kind of strange > > hardware glitch? I did downgrade the nvidia driver, but no joy. > > > > Thanks in advance for any suggestions. > > > You may want to take a look at this, > http://forums.gentoo.org/viewtopic-t-858782-start-0.html, see if that helps. > > What is the version of your nvidia driver? > > Did the problem you're experiencing come about as a result of a recent > nvidia driver, and/or xorg server update? > > As already suggested, having a look at your /var/log/Xorg.0.log may > through some more light on what could be amiss. > So, it turned out that after I bought a new card and had some problems with that card (user error it turned out), I put back the old card and it worked fine, so just reseating the thing made it work much better -- I thought I would reply to this in case anyone else was having a problem like this. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
[gentoo-user] sys-power/upower with systemd
I think I had first misinterpreted the news msg, but want to be sure I do understand it correctly now. The message ends with All non-systemd users are recommended to choose between: # emerge --oneshot --noreplace 'sys-power/upower-pm-utils' or # emerge --oneshot --noreplace '>=sys-power/upower-0.99.0' However, all systemd users are recommended to stay with sys-power/upower. I first read "stay with sys-power/upower" to mean systemd users should NOT do any of the two options for non-systemd users and let portage "do its thing". However, portage want to replace upower with upower-pm-utils, which I am pretty sure is not intended for systemd users. Is the proper reading of the news message, that the systemd users should use the second option available for non-systemd users? Specifically am I to execute # emerge --oneshot --noreplace '>=sys-power/upower-0.99.0' ? thanks in advance, allan
Re: [gentoo-user] Separate instances of Firefox require separate profiles
On Mon, Jun 23, 2014 at 06:02:02PM +0100, Mick wrote > Taking this a step further I create additional one-off profile > directories in /tmp, which are deleted when I reboot (this is a > laptop), which ensures that tracing between sites does not happen. Here is more detail on my approach... 1) Generate a random 8-letter name for a directory with the command head /dev/urandom | tr -d -c a-z | tail -c 8 Let's say you got "cjyqsiqd" (without the quotes). 2) mkdir ~/.mozilla/firefox/cjyqsiqd (or whatever 8-character string you got) 3) Create directories for a template profile, plus the profiles you want to use. I'll call them "profile1", "profile2", etc, but in real life, you'll want more descriptive names. mkdir ~/.mozilla/firefox/cjyqsiqd/template mkdir ~/.mozilla/firefox/cjyqsiqd/profile1 mkdir ~/.mozilla/firefox/cjyqsiqd/profile2 mkdir ~/.mozilla/firefox/cjyqsiqd/profile3 ... mkdir ~/.mozilla/firefox/cjyqsiqd/profilen 4) Create the profiles starting with the template profile. Note that there is a good reason for navigating into the profile dirs. It will become obvious later. The command is... firefox -new-instance -ProfileManager Create Profile Next Enter new profile name: (more intuitive if it matches the directory name) Choose Folder (Navigate into the corresponding folder before clicking Open) Open Exit Rinse lather repeat for all the other profiles you'll want. 5) For the next step do not delete the template dir, but delete all the other profile dirs you've just created. No, this is not a joke. cd ~/.mozilla/firefox/cjyqsiqd/ rm -rf profile1 profile2 profile3 ... profilen 6) Launch firefox with the template profile... firefox -new-instance -P template ...and tweak it to your heart's content, keeping in mind what options your profiles will need. Install extensions, set font sizes, your favourite behaviours, tweak the menu bars, set cookie options, etc. And make sure to set the browser to open to a home page (more on that later). When you're finished, exit Firefox. 7) Copy your template directory to replace the profile directories you deleted in step 5. This is a lot easier than doing the same changes in several directories. The names will be different depending on what did in step 3. cd ~/.mozilla/firefox/cjyqsiqd/ cp -r template profile1 cp -r template profile2 cp -r template profile3 ... cp -r template profilen 8) Open the profiles and do the final customizations for each profile separately. The command is firefox -new-instance -P profilename The customizing includes stuff like which cookie domain(s) to accept and which page(s) to open on startup. And yes, you can get Firefox to open multiple tabs on startup. When entering the homepage to open, separate the pages with pipe signs " | ", e.g... http://foo.com | http://bar.com | ftp://bad.example.com/data.txt > Note, you will also need to remove any flash cookies (LSOs) which > sit in your ~/ and are not deleted, unless you have installed the > Better Privacy addon. For a more pedestrian approach: > > rm -Rf .macromedia/Flash_Player/* There also seems to be ~/.adobe directory. What I do is to create *FILES* (yes) like so... touch ~/.adobe touch ~/.macromedia This blocks the creation of directories by that name. Some idiot sites will refuse to play videos in that situation. I click on the Flash button, and the video displays something like "Error #2046". I have a workaround for that, namely a script ~/bin/killflash like so... #!/bin/bash rm -rf ~/.adobe rm -rf ~/.macromedia sleep 20 rm -rf ~/.adobe touch ~/.adobe rm -rf ~/.macromedia touch ~/.macromedia I launch killflash in an xterm, and then click on the video to play. Note that the video only has to start within the 20-second window. The way that linux works, you can delete a file, but any app that has it open will continue to see it, even though no other apps can. As soon as the last filehandle to the file is closed, its space is finally released. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Skype now will only work with pulseaudio?
luis jure wrote: > > el 2014-06-22 a las 17:55 Rich Freeman escribió: > > > For the simple case of one sound device with one application playing at > > a time alsa works just fine. > > and for more complex cases it also works fine. with dmix you can have > several applications playing at the same time, and if you have more than > one device, you only need a properly configured .asoundrc. I never got that to work, my soundcard does hardware mixing, so t6he software mixing will not work, so I had to stick with alsa and forget pulse as much as I could. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] firefox profile opens my web-page in https
On Sunday 22 Jun 2014 22:52:40 Joseph wrote: > I run a server and have two firefox profiles. > I have ssl enabled. > > When I open one profile I it opens my web-page in "https" instead of "http" > When I open another profile it open my webpage in http > > Why is first profile forcing my opening my servers page in https mode? Has one profile cached and different protocol+URL in the address bar, than the other? Does this persist if you clear the history of the profile? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Separate instances of Firefox require separate profiles
On Monday 23 Jun 2014 06:33:12 Walter Dnes wrote: > I vaguely remember a while ago, somebody on this list asked about > running separate instances of Firefox. I finally figured out how to run > separate instances of Firefox, as ***COMPLETELY SEPARATE PROCESSES***. > Namely, that you need ***A SEPARATE PROFILE FOR EACH INSTANCE***. Let's > start with 2 profiles "trusted" and "default". From the command line, > execute the following commands... > > firefox -new-instance -P trusted & > firefox -new-instance -P default & > ps -ef | grep firefox > > You won't need the "&" if you launch from a desktop or window-manager > launcher. In the above example, I launched 2 instances of Firefox, and > verified their existance by running "ps -ef | grep firefox". > > So if you have some sites that you visit regularly, you can have a > separate profile for each one. This has some advantages... > > 1) You can have totally different customized setups (including different > add-ons) for each site. > > 2) Profiles, including cookies, are stored in separate directories. > Therefore third-party cookies left by trackers when you're on site A > using profile A, will not be readable by the same third-party when > you're on site B, using profile B, making tracking you more difficult > and less reliable... one... two... three... awww. > > 3) If you have a whole bunch of websites open, and one of them crashes > Firefox, or hangs it so you need to kill it, you don't end up taking > down all your browsers. Taking this a step further I create additional one-off profile directories in /tmp, which are deleted when I reboot (this is a laptop), which ensures that tracing between sites does not happen. Note, you will also need to remove any flash cookies (LSOs) which sit in your ~/ and are not deleted, unless you have installed the Better Privacy addon. For a more pedestrian approach: rm -Rf .macromedia/Flash_Player/* -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Separate instances of Firefox require separate profiles
Walter Dnes waltdnes.org> writes: > I vaguely remember a while ago, somebody on this list asked about > firefox -new-instance -P trusted & > firefox -new-instance -P default & > ps -ef | grep firefox Very cool. I have sometimes wanted to use the same bookmarks file/db for all of my web browesers I have compiled on a given system. For seamonkey and firefox that should not be too difficult as they have the same file structure in your ~/.mozilla/ directory structures. So just point them (sym link) to the same file should do the trick, as long as they are both not running at the same time. The tricks I never got around to figuring out was how to use the same bookmarks, simultaneously with both running that the same time, as well as other differnt web browsers, such as Opera etc etc. Suggestions and ideas are most welcome on this scenario. James
Re: [gentoo-user] Skype now will only work with pulseaudio?
el 2014-06-22 a las 17:55 Rich Freeman escribió: > For the simple case of one sound device with one application playing at > a time alsa works just fine. and for more complex cases it also works fine. with dmix you can have several applications playing at the same time, and if you have more than one device, you only need a properly configured .asoundrc.
Re: [gentoo-user] Re: Skype now will only work with pulseaudio?
On 23 June 2014 03:32, Nikos Chantziaras wrote: > On 22/06/14 19:53, Mick wrote: >> http://wiki.gentoo.org/wiki/PulseAudio >> >> it seems awfully complicated to me, for something which for my purposes >> would >> be just a new 'alsamixer'. :p > > > If *that* looks complicated to you, then I do have to ask: why on earth are > you using Gentoo? That guide is extremely easy to follow by any average > Gentooer. OK, I admit I exaggerated a bit to state a point. From the perspective of having to install and use something that I hitherto never needed, it involves more configuration than I would like to bother myself with. A moot point I know, since additional functionality brings with it additional configuration options. Anyway, I have now installed PA and am using it, so it can't have been all that complicated. ;p -- Regards, Mick
Re: [gentoo-user] Skype now will only work with pulseaudio?
On 22 June 2014 21:51, Alan McKinnon wrote: > > On 22/06/2014 18:53, Mick wrote: > > > Are you using PA and how would you suggest I go about installing and > > configuring it (if I must) for minimal interference with my audio usage? > > > Why don't you rather peg skype at the last version know to work with > alsa, and mask everything newer? I could do just that, but for how long? Eventually, older version(s) of skype could/would break and I will then be forced to upgrade. > If it were me, I'd switch to PA because I wanted to, not because skype > made me. And I don't think you'd be running any additional security risk > - skype is rather likely to be riddled with bugs that never get fixed > anyway... > > OK, my cynic side is showing, but you get the drift I've switched to PA and I'm now rebuilding umpteen packages inc. firefox and chromium! O_o The switch was mostly successful, except for: After a reboot all worked fine and the pulseaudio migration appeared to be uneventful. The morning after things went sideways. The HDMI sound device was selected as the default audio and not analogue sound was available. For some reason the default beep was loud enough to wake up the neighbours! PCM, headphones and other controls had disappeared and some new monitor-* controls were available. This was fixed by adding: load-module module-alsa-sink device=hw:0,0 load-module module-alsa-source device=hw:1,0 in /etc/pulse/default.pa I have not yet tried the microphone in Skype to see if the above combo is correct. This is what aplay and arecord show: $ aplay -l List of PLAYBACK Hardware Devices card 0: MID [HDA Intel MID], device 0: 92HD73C1X5 Analog [92HD73C1X5 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 $ arecord -l List of CAPTURE Hardware Devices card 0: MID [HDA Intel MID], device 0: 92HD73C1X5 Analog [92HD73C1X5 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: MID [HDA Intel MID], device 2: 92HD73C1X5 Alt Analog [92HD73C1X5 Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 $ aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default:CARD=MID HDA Intel MID, 92HD73C1X5 Analog Default Audio Device sysdefault:CARD=MID HDA Intel MID, 92HD73C1X5 Analog Default Audio Device front:CARD=MID,DEV=0 HDA Intel MID, 92HD73C1X5 Analog Front speakers surround40:CARD=MID,DEV=0 HDA Intel MID, 92HD73C1X5 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=MID,DEV=0 HDA Intel MID, 92HD73C1X5 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=MID,DEV=0 HDA Intel MID, 92HD73C1X5 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=MID,DEV=0 HDA Intel MID, 92HD73C1X5 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=MID,DEV=0 HDA Intel MID, 92HD73C1X5 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=HDMI,DEV=0 HDA ATI HDMI, HDMI 0 HDMI Audio Output The other thing that puzzled me was that the second jack for the headphones is muted every time I re/start an application and the volume setting is zeroed - e.g. I start mplayer - no sound. I unmute the second headphone jack and raise the volume setting - sound is back. I stop and then start again mplayer - no sound. I unmute the second headphone jack - sound is back. and so on. I cannot understand why the second jack is muted. The first jack stays unmuted in each case. -- Regards, Mick
Re: [gentoo-user] Separate instances of Firefox require separate profiles
Walter Dnes wrote: > I vaguely remember a while ago, somebody on this list asked about > running separate instances of Firefox. I finally figured out how to run > separate instances of Firefox, as ***COMPLETELY SEPARATE PROCESSES***. > Namely, that you need ***A SEPARATE PROFILE FOR EACH INSTANCE***. Let's > start with 2 profiles "trusted" and "default". From the command line, > execute the following commands... > > firefox -new-instance -P trusted & > firefox -new-instance -P default & > ps -ef | grep firefox > > You won't need the "&" if you launch from a desktop or window-manager > launcher. In the above example, I launched 2 instances of Firefox, and > verified their existance by running "ps -ef | grep firefox". > > So if you have some sites that you visit regularly, you can have a > separate profile for each one. This has some advantages... > > 1) You can have totally different customized setups (including different > add-ons) for each site. > > 2) Profiles, including cookies, are stored in separate directories. > Therefore third-party cookies left by trackers when you're on site A > using profile A, will not be readable by the same third-party when > you're on site B, using profile B, making tracking you more difficult > and less reliable... one... two... three... awww. > > 3) If you have a whole bunch of websites open, and one of them crashes > Firefox, or hangs it so you need to kill it, you don't end up taking > down all your browsers. > That I think was me. Also, if you close one and it doesn't die correctly, you can use this little trick, as a script in my case, to find the process for each one that is running. ls -al /home//.mozilla/firefox/*/lock For example, on mine it returns this, name somewhat edited: root@fireball / # /root/firefox ls -al /home/dale/.mozilla/firefox/*/lock lrwxrwxrwx 1 dale users 16 Jun 22 22:57 /home/dale/.mozilla/firefox/4p9tgzd5.MOD/lock -> 127.0.0.1:+28060 lrwxrwxrwx 1 dale users 16 Jun 22 22:53 /home/dale/.mozilla/firefox/ar78vn2c.default/lock -> 127.0.0.1:+27753 lrwxrwxrwx 1 dale users 16 Jun 22 23:58 /home/dale/.mozilla/firefox/hmnj07pv.Greet staff/lock -> 127.0.0.1:+31137 root@fireball / # Notice the process number on the end? If say I close the default but it doesn't die as it should, I can do this: kill 27753 The other processes are still running. Also, if it is dead but it didn't remove the lock file, just use rm instead of ls and remove the options of course. Hope that helps you as much as it did me. ;-) Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!