[01:00] <brightness_help> i have a thinkpad t450s with an intel display. I have booted up the live usb and everything works great except for the brightness. I can control the brightness, but the number of steps is wrong. there should be about 19-20 steps of brightness control, yet in kubuntu there is only 10.
[01:01] <brightness_help> this is running kubuntu 15.04. i have also tested this with ubuntu 15.04 live usb and it has the correct number of brightness steps.
[05:49] <mrgab> hello there!
[05:54] <mrgab> Hello
[05:55] <mrgab> I have some sort of problem, I don't know if somebody culd help me a bit :)
[05:56] <mrgab> I use kubuntu 14.04
[05:56] <mrgab> And I have folder view on my desktop
[05:56] <mrgab> When a delete a file, it doesn't disappear from my dektop
[05:56] <mrgab> until I give F5
[05:57] <mrgab> help please
[05:57] <mrgab> :)
[07:45] <lordievader> Good morning.
[12:13] <BluesKaj> Hiyas all
[13:16] <regedit> what's the shell command to configure display geometries, such as seen in settings > display & monitor > display configuration?
[13:16] <regedit> with multi monitor that is
[13:18] <lordievader> regedit: xrandr?
[13:19] <regedit> lordievader: is there a command in xrandr to simply "refresh" the current config?
[13:19] <lordievader> Refresh?
[13:19] <regedit> or must i change something in order to invoke that
[13:19] <lordievader> What do you mean with refresh?
[13:20] <regedit> well the issue is sometimes something about the display(s) goes a little bit bonkers. A workaround i've found is to cause system settings to "refresh" the display configuration, by for example, changing the monitor positioning by a pixel or 2
[13:20] <regedit> causes the screens to flash for a second and sorta re-configure into their new configuration
[13:21] <regedit> i wanto know if there's a way i can cause that to happen from command line
[13:22] <lordievader> regedit: I'd rather search for a fix than a workaround if I were you.
[13:23] <regedit> well i've tried that for a while, and it's never yielded much yet, i'm happy with the workaround for now
[13:23] <regedit> i just want to invoke that from a command shell, a sorta refresh.sh i can execute
[13:24] <lordievader> I suppose 'xrandr --output <some output> --auto' 'refreshes' things.
[13:24] <regedit> lordievader: ok thanks i'll try that
[13:24] <regedit> ooh i see edgers have put out nvidia drivers 355
[13:25] <lordievader> Ugh, xorg-edgers
[13:26] <regedit> let's see how bad it gets, rebooting...
[13:26] <yossarianuk> I don't use xorg-edgers as it can update various other packages
[13:27] <yossarianuk> I just install the binary and occaionally have no desktop after xorg updates - kernel updates are ok if you use dkms
[13:28] <regedit> hm, seems like installation failed...
[13:29] <regedit> where's TJ-, your automagic script failed! :P
[13:29] <yossarianuk> which isn't the best solution - but until ubuntu have the latest version thats the best you can do if you want the latest driver.
[13:29] <yossarianuk> And if you play games you want the latest driver.
[13:30] <yossarianuk> (its a personal pet hate of mine that ubuntu keep an old version of the driver with known bugs in..)
[13:31] <regedit> so there's always options, like.....edgers
[13:32] <regedit> i'm not sure this combo makes sense... http://paste.ubuntu.com/12000043/
[13:36] <BluesKaj> xedgers drivers aren't well supported , and bleeding edge ppa apps usually fail after the next kernel update
[13:36] <regedit> using TJ-'s script here http://iam.tj/projects/misc/wget_nvidia_drivers.bash
[13:37] <BluesKaj> why?
[13:37] <regedit> because i'm experiencing weirdnesses in my displays
[13:38] <regedit> the recommended 346 has bugs, which the 352 resolved not to bad, so now i'm wondering if 355 might have more improvements
[13:39] <BluesKaj> and you expect unstable drivers to solve the weirdness..
[13:39] <regedit> welcome to the land of the linuxes
[13:40] <regedit> it's not like (k)ubuntu is anywhere near stable unfortunately
[13:41] <BluesKaj> I'm using the 340 driver , no instablity here, but my nvidia is merely an entry level type suitable for HD movies etc, not doing any gaming
[13:41] <regedit> i've made a choice to try (k)ubuntu, and there's a hefty price to pay for that.. so here I am trying to live with it..
[13:42] <lordievader> regedit: I rarely encounter instablility issues on my Kubuntu installs.
[13:42] <regedit> it's not like my laptop's 640M is a monster either (currently bottom of the supported lines i believe)
[13:43] <BluesKaj> then why edgy unstable drivers, think you're heading in the wrong direction
[13:45] <regedit> all directions have their bugs
[13:46] <regedit> - speking from my experience with kubuntu thus far
[13:46]  * BluesKaj shrugs, the 340 works on my 8400gs without a hitch
[13:46] <BluesKaj> on 15.10 wily no less
[13:47] <regedit> multi display & all?
[13:47] <BluesKaj> nope,panasonic plsama tv
[13:47] <regedit> so there
[13:47] <regedit> either way it just goes to show, you are one of the lucky winners of the "Will Linux Play Nicely With You" lottery! congrats
[13:48] <BluesKaj> I'm sure the recommended driver for your gpu would work , have you tried it "?
[13:48] <regedit> yup
[13:48] <regedit> buggy
[13:48] <BluesKaj> which driver is it ?
[13:48] <regedit> known issue which fixed in 352
[13:48] <regedit> 346 is the proprietary recommended
[13:49] <BluesKaj> and I suppose the 352 fixes one issue but comes wqith a different one
[13:49] <regedit> nouveaux - lets. not. even. go. there. period. dot.
[13:49] <regedit> BluesKaj: as mentioned, welcome to the *nixes
[13:51]  * BluesKaj shrugs again, not a problem for me, complain all you want, but you're the exception , not the rule
[13:51] <LjL-Alps> then i am the exception too
[13:51] <regedit> ^ lottery
[13:52] <LjL-Alps> neither of you alone is a big enough sample, quite obviously
[13:52] <BluesKaj> yeah, the exceptions end up here looking for support, but not all linux users use multi displays
[13:53] <LjL-Alps> i'm not here looking for support
[13:56] <regedit> oh so multi display workstations are not a very linux thing, or something now?
[13:56] <BluesKaj> LjL-Alps:  how nice for you :-)
[13:57] <regedit> just another reason why other OSs still win
[13:57] <LjL-Alps> i'm here because i was an op in this channel for years and i was curious how things are going after KDE5, and i know pretty well that KDE has never been quite universally "stable"
[13:57] <BluesKaj> most multi display worsations aren't running off a laptop
[13:59] <lordievader> Mine is ;)
[13:59] <lordievader> Recently downgraded from 3 screens to only 2.
[14:01] <BluesKaj> I could use the old demand, define stable, but that would be almost as bad as rtfm
[14:18] <regedit> victim blaming, much? :)
[14:24] <BluesKaj> I'm sorry if you feel like a victim, but any suggestion made to you were summarily rejected, so it's difficult to know what you expect from this chat
[14:28] <regedit> not much really at this point. I was actually suggested to try the edgers drivers here in this channel
[14:29] <BluesKaj> edgers work for the time being, but eventually break
[14:31] <regedit> as seems to be the case with recommended drivers
[14:31] <BluesKaj> I've used them in the past, but only temporarily til the recommended drivers work properly
[14:31] <BluesKaj> for my setup at least
[14:32] <regedit> the lottery, you win it
[14:36] <BluesKaj> dunno if the drivers are at fault in your case, sometimes the inerface/hdmi is difficult to configure. i wasn't very successful with my intel gpu on my laptop connected via hdmi to the tv
[14:37] <BluesKaj> the resolution was correct but the aspect rastio was wrong , even though it was set ar 16:9
[14:39] <yossarianuk> BluesKaj: i;ve had an issue with wrong resolution - in the end i deleted ~/.kde ~/.local ~/.config , etc  and it fixed it.
[14:41] <yossarianuk> (with kubuntu 15.04/nvidia)
[14:43] <Marwi> Hi
[14:45] <lordievader> o/
[14:45] <BluesKaj> yossarianuk:  kind of drastic don't you think ?
[14:47] <Marwi> I broke my linux, I've to type in console: "sudo dhclient eth0" otherwise no acces to net. How can I repair it so I've internet.
[14:49] <lordievader> Marwi: How does you /etc/network/interfaces look?
[14:49] <lordievader> !paste | Marwi
[14:52] <BluesKaj> Marwi:  that's odd, because once run that command should have made the ethrnet connection in network-manager and the interfaces file persistent on reboots
[14:53] <lordievader> BluesKaj: No it doesn, dhclient just sends out a dhcp request. Nothing more.
[14:53] <lordievader> doesn't*
[14:54] <BluesKaj> well lordievader I'm recalling my experience with it
[14:54] <BluesKaj> after that no more dropped connections
[14:57] <Marwi> lordievader: http://paste.ubuntu.com/12000549/
[14:57] <Marwi> thanks ubottu
[14:57] <Marwi> I tell you guys what I've done.
[14:57] <lordievader> Marwi: You want to remove the lines with eth0 in it and reboot.
[14:58] <yossarianuk> BluesKaj: sort of, it fixed the issue though.
[14:58] <lordievader> That'll fix your connection.
[14:58] <Marwi> The net was warking well until I've done installation of metasploit as explained at: http://www.uw-team.org/forum/viewtopic.php?t=10806 ....>
[14:58] <Marwi> then I decided remove it
[14:59] <Marwi> so I've type the oppisite comand: apt-get remove (the stuff I've install ) :-)
[15:00] <Marwi> lordievader: you mean remove : "auto eth0 " ?
[15:00] <lordievader> Marwi: If you are going to run metasploit you want to run it in a vm.
[15:00] <lordievader> Marwi: Lines 2 and 4.
[15:01] <lordievader> Or actually remove just the eth0 from line 4.
[15:01] <lordievader> I.e. make it 'iface lo inet loopback'.
[15:02] <Marwi> lordievader: man I though I had to add them :-) what I've done
[15:02] <Marwi> however consider it done.
[15:02] <lordievader> Marwi: Well you can, but the way it was configured now was wrong.
[15:03] <Marwi> I'll be back.
[15:03] <BluesKaj> Marwi:  unless the setup is for trying to run without NM as a static IP
[15:04] <lordievader> He was running dhclient ;)
[15:05] <BluesKaj> I recall running with NM with static IP with the interfaces file in similar state
[15:06] <BluesKaj> without NM , that is
[15:06] <BluesKaj> but now eith vpns etc NM is an asset rather than a liability:)
[15:06] <lordievader> You can define an ip in there, yes.
[15:07] <lordievader> NM is rather nice if you have multiple interfaces and you plan on switching between them.
[15:07] <lordievader> I.e. a laptop.
[15:07] <BluesKaj> or a vpn, vps et
[15:08] <yossarianuk> I cannot get multiple VPN's working with nm, I have to use the cli for vpnc
[15:08] <lordievader> I usually use the userspace tools for VPN.
[15:08] <BluesKaj> not multiple vpns, multiple vpn servers
[15:08] <yossarianuk> as soon as you start the 2nd the 1st connect drops using network manager
[15:09] <lordievader> yossarianuk: Kind of sound like a routing issue.
[15:10] <yossarianuk> lordievader: not sure, all I know if that I have to use the vpnc cli if I want 2 connections at same time.
[15:11] <lordievader> yossarianuk: Investigate ;)
[15:11] <BluesKaj> yossarianuk: never tried multiple vpn connections, just assumed it wasn't possibel with NM'
[15:12] <BluesKaj> at least with openvpn-nm
[15:12] <yossarianuk> looks like a known issue...
[15:12] <yossarianuk> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744845
[15:13] <yossarianuk> https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/671024
[15:16]  * Marwi is back
[15:16] <Marwi> unfortunately it did not help.
[15:17] <lordievader> How does your /etc/network/interfaces look like now?
[15:17] <Marwi> when I restarted system, "ifconfig" showed me just: lo        Link encap:Local Loopback
[15:18] <lordievader> Marwi: Did you uninstall network manager?
[15:19] <Marwi> lordievader: I was actually thinking that this is what I needed, but I'll Copy/Paste what I see when I tried install it. just give a 5s
[15:20] <joan__> is there a clean way to have an static ip through /etc/network/interfaces stuff without messing up everything in kubuntu 14.10? After setting up an static ip the ordinary way, and doing dpkg-reconfigure resolvconf, the network works fine, but then kde apps either freeze or take a long time to appear... any ideas?
[15:23] <lordievader> joan__: 14.10 ain't supported anymore.
[15:23] <Marwi> lordievader: I'll just install it. I think I've seen it was removed when I was removing some packages.
[15:23] <lordievader> joan__: Sounds like your resolving is broken.
[15:23] <lordievader> Marwi: That would explain your problems ;)
[15:24] <joan__> yeah, but how can I fix them
[15:24] <lordievader> joan__: How are you setting your nameservers?
[15:25] <joan__> dns-nameservers 8.8.8.8 in /etc/network/interfaces for the eth0 interface
[15:26] <lordievader> joan__: Do they appear in /etc/resolv.conf?
[15:26] <joan__> yes
[15:27] <lordievader> joan__: Just those you have configured or more?
[15:28] <joan__> this one and the 127.0.0.1
[15:28] <lordievader> Is there a dnsmasq listening on 127.0.0.1?
[15:28] <joan__> 127.0.0.1 --> 127.0.1.1
[15:28] <joan__> excuse me
[15:29] <lordievader> Same thing, does dnsmasq listen to that address?
[15:30] <joan__> auto lo    iface lo inet loopback, that's what I've got in /etc/network/interfaces, apart from the eth0 config
[15:30] <joan__> how can I check this?
[15:30] <joan__> the dnsmasq thing?
[15:30] <lordievader> joan__: sudo netstat -tulpn|grep dnsmasq
[15:31] <BluesKaj> joan__:  not sure if this istill the case but /etc/resolv.conf is now overwritten by /etc/resolvconf/resolv.conf.d/base as shown here, http://unix.stackexchange.com/questions/174349/what-overwrites-etc-resolv-conf-on-every-boot
[15:31] <joan__> tcp 0   0 127.0.1.1:53     0.0.0.0:*   LISTEN   1650/dnsmasq
[15:32] <joan__> and two more udp lines without the LISTEN word
[15:33] <Marwi> Hi
[15:33] <lordievader> BluesKaj: It is generated from files in /etc/resolvconf
[15:34] <lordievader> joan__: What do you get when you try to resolve an url with 'nslookup - 127.0.1.1'?
[15:34] <lordievader> Marwi: Any progress?
[15:34] <Marwi> still need to do: sudo dhclient eth0     however when do: ifconfig  I have been shown: lo and eth0 too
[15:34] <lordievader> Marwi: Is network manager handeling your eth0?
[15:35] <Marwi> lordievader: what I need do to check it...? I used many distros for 15years but never had to run it.
[15:35] <BluesKaj> lordievader:  it's supposed to, but in the last 2yrs or so the  /etc/resolvconf/resolv.conf.d/base and head file became the defacto default /etc/resolv.conf file afaik
[15:36] <joan__> lordievader, > 8.8.8.8  Server: 127.0.1.1    Address: 127.0.1.1#53   Non-authoritative answer: 8.8.8.8.in-addr.arpa    name = google-public-dns-a.google.com.
[15:36] <lordievader> BluesKaj: /etc/resolv.conf -> ../run/resolvconf/resolv.conf
[15:36] <lordievader> joan__: Does it take a while before you get an answer?
[15:37] <joan__> no, it's immediate
[15:37] <lordievader> Marwi: Go to the configuration of Network Manager.
[15:38] <lordievader> joan__: The kde apps you say are freezing do they do things with the network?
[15:39] <joan__> does dolphin do them? (I'm trying to set up an nfs-server to share files with another kubuntu box, that's why I'm setting static ip)
[15:40] <lordievader> Dolphin might. What happens when you open kate?
[15:40] <Marwi> There is no configuration of Network Manager
[15:40] <lordievader> Marwi: Network Manager ain't in your system tray?
[15:40] <BluesKaj> Marwi:  is NM disabled?
[15:41] <joan__> lordievader, nothing, it doesn't even show, only the moving circle at the taskbar, and then nothing
[15:42] <lordievader> joan__: Hmm, can you still open a terminal?
[15:42] <Marwi> I have no system tray
[15:42] <joan__> lordievader, yes
[15:43] <joan__> btw, if I press the K left button it takes a while to show the menu
[15:43] <lordievader> Marwi: You have no system tray? What version of Kubuntu are you running?
[15:44] <lordievader> joan__: What do you get when you run 'kate' inside of your terminal?
[15:44] <BluesKaj> lordievader:  just for your info check this file,   /etc/resolvconf/resolv.conf.d/head
[15:45] <joan__> QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[15:45] <Marwi> 14.04 Fluxbox and xfce
[15:45] <lordievader> BluesKaj: Why?
[15:46] <lordievader> Marwi: Ah fluxbox... You are kind of in the wrong room ;) Anyhow is nm-applet installed?
[15:46] <lordievader> joan__: That is all?
[15:46] <joan__> yes
[15:46] <lordievader> joan__: Does kate launch though?
[15:47] <joan__> more than a minute after and nothing
[15:47] <joan__> let's try again
[15:48] <Marwi> lordievader: got also kde but if that supposed to be in sys tray so what name of that...? I can find it in menu anywhere in setting or system menu
[15:48] <lordievader> joan__: Is pastebin installed?
[15:49] <lordievader> Marwi: Running nm-applet will give you a sys trac icon, through there you can configure NM.
[15:49] <joan__> lordievader, ??? where?
[15:49] <lordievader> joan__: ? pastebin is a package.
[15:50] <Marwi> lordievader: moment need restart everything to see it before sudo dhclient eth0
[15:50] <joan__> wait a moment
[15:59] <Marwi> hi
[15:59] <Marwi> lordievader: I think that will tell you more: http://i57.tinypic.com/2rejyvb.jpg
[16:01] <BluesKaj> lordievader:  here's why, http://imagebin.ca/v/2AzmLCw7qHL8
[16:01] <lordievader> Marwi: Could you move your konsole so I can see your task bar (and specifically the systemtray).
[16:01] <lordievader> BluesKaj: Yes? That is what I said?
[16:02] <Marwi> there is eth0
[16:02] <lordievader> BluesKaj: 04-17:33 < lordievader> BluesKaj: It is generated from files in /etc/resolvconf
[16:02] <lordievader> Marwi: Yes, but likely nm is not running and thus not setting up the connection.
[16:03]  * lordievader goes to make a pizza, is back in a bit
[16:03] <BluesKaj> lordievader:  /etc/resove.conf entries are overwritten by the above file , that head file is where the settings should be entered despite the warning
[16:06] <lordievader> BluesKaj: That file is simply the header file, ultimately it comes in /etc/resolv.conf, the warning is against editing /etc/resolv.conf since that file will be overwritten at boot time.
[16:08] <BluesKaj> lordievader:  I used that file for 2yrs as the /etc/resolv.conf file when I was using a static IP without NM in the mix , it definitely overwrites any manual entries in /etcresolv.conf itself upon reboot
[16:08] <lordievader> Sure, editing that file will work. But that is not the point I am making...
[16:09] <BluesKaj> any nameservers etc have to be entered there
[16:09] <lordievader> All I am saying is that /etc/resolv.conf is generated on boot from files in /etc/resolvconf.
[16:16] <BluesKaj> yes and any IPs or DNS nameserver settings will show up in /etc/resolv.conf as long as they are entered in the head file first...it's a clunky arrangement, but for static IPs etc that's what's required when NM isn't being used or can't be configured in some situations
[16:17] <BluesKaj> ok , BBL ...news
[16:45] <joan> hi again, I had to go for a while
[17:03] <Vimar> HI
[17:35] <joan> lordievader, hi again. Another strange thing that happens is that I cannot restart or shutdown the computer from the K button, these options simply don't appear
[17:35] <lordievader> joan: Do you have smartmontools installed?
[17:36] <joan> lordievader, the guide I am using for the nfs stuff is: https://mostlylinux.wordpress.com/network/nfshowto/#questions
[17:36] <joan> yes, lordievader
[17:37] <joan> why?
[17:37] <lordievader> joan: Could you provide me with the smart data of all disks? (sudo smartctl -a /dev/<disk>)
[17:38] <joan> ok
[17:38] <lordievader> joan: What a horrible guide.
[17:39] <lordievader> joan: It is two steps: install nfs-kernel-server -> edit /etc/exports: https://help.ubuntu.com/community/SettingUpNFSHowTo
[17:39] <joan> ok, thanks, I'll check that
[17:42] <joan> lordievader, http://pastebin.com/84ke6EQf  system and /home on sdb
[17:42] <joan> sda is for data, but everything seems ok
[17:44] <lordievader> joan: The WD is fine, the Seagate though.... 9618376 raw read errors. This is likely why things are slow or simply not showing up.
[17:46] <joan> lordievader, do you mean the hdd is starting to break down? anyway, don't you think the errors are too kde specific to be caused by that overall condition of the hdd?
[17:47] <joan> lordievader, my other (old) computer has far worse hdd smart reports and everything works fine (kubuntu 14.04)
[17:47] <lordievader> joan: The read errors are recorded by the drive itself. Usually this is one indicator of a dying disk another indicator would be reallocated sectors. However that counter is, luckily, at zero.
[18:04] <joan> lordievader, I've just made this check: at the terminal, try to start kwrite, and after a while, check again  smartctl -a /dev/sdb, the number of read errors has gone up, from 9724744 to 9727288. Does it mean something?
[18:06] <lordievader> joan: Yes that is a bad sign. It likely means it tries to read some data, gets an error and gives up.
[18:07] <lordievader> joan: Do you have a backup of that drive?
[18:07] <joan> no, but you read my mind. I've already connected the external hdd to backup
[18:07] <joan> let's see if it not too late...
[18:07] <lordievader> Exactly, try to make a backup if can.
[18:08] <lordievader> joan: I'd image the disk with dd. (Twice preferably, one original image and one to mess with)
[18:10] <joan> I only have one hdd to do the backup.
[18:12] <BluesKaj> perhaps create a couple of partitions for the images
[18:12] <joan> BluesKaj, I can't. Too much data (almost 2TB)
[18:12] <BluesKaj> bummer
[18:13] <joan> I'm only interested in the /home dir
[18:13] <joan> which is the best way to back it up? cp? Or what?
[18:15] <lordievader> joan: dd, since you have read errors you want to grab as much as you can. The filesystem you might be able to restore later.
[18:15] <joan> btw, this is from dmesg at startup: http://pastebin.com/aQmU30q3
[18:16] <BluesKaj> rsync works well, but depends how large your ~/home dir is and how much time you have
[18:18] <joan> time is no problem, my /home dir is almost 2TB
[18:20] <joan> lordievader, BluesKaj, and it's on a separate partition: /home --> /dev/sdb4
[18:21] <BluesKaj> looks like another hdd is needed
[18:22] <lordievader> joan: Compress it?
[18:22] <lordievader> dd | gzip (or some other compression tool)
[18:23] <joan> the idea is to copy the contents of my /home partition to the external usb hdd I've got (the same size as the dying one: 2TB)
[18:27] <BluesKaj> gzip can compress by a factor of 8 according to some forums
[18:28] <BluesKaj> depending on the type of data
[18:30] <joan> BluesKaj, I don't need compression, just copying, perhaps rsync is what I want
[18:34] <BluesKaj> joan:  I've used rsync for smaller files like 300GB  and it tooka while , 5-6 hrsso 2Tb is gonna be slwowhere as dd can probly copy much faster if I'm not mistaken , correct lordievader ?
[18:35] <BluesKaj> 5-6 hrs that is
[18:36] <BluesKaj> i've only copied smaller images like OS iso files using dd, so my experience with such large data files as 2TB is nonexistent
[18:39] <BluesKaj> with dd one cvan set the blocksize (within limits of course), but i'm not sure what the safe bs would be. It's probly worth doing some research
[18:43] <TJ-> joan: as the source drive is failing, I'd suggest using ddrescue to clone it
[18:44] <BluesKaj> here come s tha cavalry ... Hi TJ-  :-)
[18:45] <TJ-> joan: see https://help.ubuntu.com/community/DataRecovery
[18:45] <joan> thanx
[18:47] <TJ-> BluesKaj: re: dd blocksize (bs/ibs/obs) ... it controls the in-memory buffering . I tend to use as much RAM as is available so that the reads/writes can be done in sustained large blocks. That reduces transfer times significantly. For large datasets I will sometimes use 1GB
[18:49] <BluesKaj> TJ-:  cool thanks for the tip
[19:20] <mluser> Is it just me or did the latest nvidia updates mess everything up?  I can't even recognize the nvidia-settings program anymore.
[19:34] <Osirez> @mluser If your talking about the Nvidia 355 drivers, they're working fine over here
[19:35] <Osirez> On Kubuntu 15.04
[19:41] <mluser> Osirez: Thanks.. I'm on my laptop.. will try to figure out what the problem is later when I'm done with work.  Its probably just me then :D
[19:52] <Osirez> mluser: no problem.
[20:07] <lordievader> BluesKaj: Yes, rsync is rather slow compared to cp or dd.
[20:56] <DDR> I'm missing something. I'm developing a piece of software which for reasons beyond my responsibility crashes when I quit it. I launched it from konsole, is there any way to kill it without closing the tab or suspending and killing by process id?
[20:58] <lordievader> DDR: Your program is killing the parent?
[20:58] <DDR> No, it's just stopping. It never returns control to konsole.
[20:59] <lordievader> DDR: Ah, run  it with & to run in in the background. If you want to be able to close the Konsole: nohup <program>&
[20:59] <DDR> I do not want to do either of those.
[21:00] <DDR> I want it to stop. It won't stop without a lot of typing.
[21:01] <lordievader> Then I do not understand the problem.
[21:01] <DDR> if ctrl-c normally stops a program, and returns control to me, I am looking for a keyboard shortcut that will force the program to stop, whatever it is doing, and return control to me.
[21:02] <DDR> I keep having to click through popups or type in a code.
[21:02] <lordievader> DDR: Ctrl - c should do that, unless your program doesn't listen to sigint.
[21:03] <lordievader> Having a shortcut for SIGKILL is a bad idea.
[21:03] <DDR> It's crashed by that point. It isn't listening to anything.
[21:04] <DDR> (Basically, it throws up a dialog with the last scripting error. If I bungle the scripting, sometimes the error is ridiculously long and the program just... stops.)
[21:06] <DDR> lordievader: How do you recommend I kill a process that crashes, occasionally, a few times a minute?
[21:06] <lordievader> If a program crashes your promt should return. Sounds like your program is crashing into a zombie state.
[21:08] <DDR> Yes. Perhaps a better word is "freezing".
[21:08] <lordievader> Then you are going to have to look at your code as to why that is happening.
[21:09] <DDR> Digging into the internals of KDE is out of the question, I'm afraid. I don't speak very good c++.
[21:09] <DDR> This is not something I can fix.
[21:09] <lordievader> DDR: I thought this was your own code?
[21:09] <DDR> Group project.
[21:10] <lordievader> Submit a bug report with whoever is responsible for the code then.
[21:10] <DDR> My scripting errors cause the engine to try to display a popup dialog with an unreasonable size. The dialog appears in the window list in KDE, but does not actually have any surface area.
[21:10] <DDR> On vacation in europe. :p
[21:10] <DDR> I really, truly have looked at fixing this in our code, and I really truly have come up short.
[21:11] <DDR> The error message is printed to the console anyway, so I'm perfectly happy to let the engine die for now.
[21:11] <DDR> I know it needs a proper text-box, but I can't make it do so.
[21:12] <lordievader> DDR: Does the program respond to a SIGTERM? (i.e. default kill)
[21:12] <lordievader> http://abriefsummaryofeverything.blogspot.nl/2012/07/kill-9-bad-idea.html
[21:15] <DDR> The window remains open, but it's an unusable solution because I have to type in both my rather long password and the rather long PID.
[21:17] <lordievader> DDR: Err why? killall <nameofprogram>
[21:18] <DDR> The window remains on-screen, although it doesn't update any more.
[21:19] <DDR> Perhaps there are two components of the problem - stopping the program, and closing the window?
[21:19] <DDR> (thanks for your help so far, lordievader, I'm sorry if I'm being difficult :( )
[21:19] <lordievader> I must say the problem is still not very clear to me.
[21:20] <DDR> Perhaps a screenshot would help. Let me make one up here...
[21:27] <DDR> lordievader: Given <http://70.79.45.137/anura%20assert.png>, we have three windows in question. The focused one, "Frogatto & Friends", is the engine which has just thrown an assertion. The next window, "Assertion Failed", is a modal dialog that throws up the assertion. The one behind the Frogatto window is Konsole, which is running the program that made the Frogatto window.
[21:27] <DDR> From the console, what is the quickest way to get rid of both the Frogatto window and the Assertion window?
[21:28] <DDR> Sometimes the assertion failed window will not render on screen, it just appears in the window bar at the bottom.
[21:28] <DDR> (So I can't click OK and exit the program normally.)
[21:29] <lordievader> Looks like you need better error handeling ;)
[21:29] <lordievader> Anyhow, I guess you want to write a script who hunts out those programs and kills them.
[21:30] <DDR> I guess I could bind it to a hotkey.
[21:30] <lordievader> DDR: For example.
[21:30] <DDR> But that would only work for this one program. :(
[21:31] <lordievader> ahoneybun: https://www.linode.com/docs/uptime/monitoring/use-vmstat-to-monitor-system-performance
[21:31] <lordievader> ahoneybun: You'd want to run it like 'vmstat 1' or something.
[21:31] <lordievader> The first line it gives is some strange summary, or something.
[21:32] <ahoneybun> ok
[21:33] <lordievader> ahoneybun: You want to pay special attention to the 'b', 'swap' and 'wa' columns.
[21:34] <ahoneybun> 80-86 in the wa
[21:34] <ahoneybun> wooooo
[21:35] <ahoneybun> atop is shooting something weird
[21:35] <ahoneybun> my disk is very busy
[21:35] <lordievader> ahoneybun: There you go ;)
[21:35] <ahoneybun> 90% and above
[21:35] <lordievader> 80% wait is bad...
[21:35] <ahoneybun> hit 102
[21:35] <lordievader> You want to keep that below 20.
[21:36] <ahoneybun> now 13%
[21:36] <ahoneybun> so my disk is going bad
[21:36] <lordievader> How many blocked processes (b)?
[21:36] <ahoneybun> in wmstat?
[21:36] <lordievader> Yes.
[21:37] <ahoneybun> 0-2
[21:37] <lordievader> Okay, not too bad. Is smartmontools installed?
[21:37] <ahoneybun> nope
[21:37] <ahoneybun> seems like disk is going to die then no?
[21:38] <lordievader> Okay install it and supply me with the output of 'sudo smartctl -a /dev/<disk>' of every disk in the system.
[21:40] <ahoneybun> some errors with the mirrors
[21:40] <lordievader> ?
[21:40] <ahoneybun> trying to update the list
[21:44] <ahoneybun> lordievader: https://paste.kde.org/p5azrmva7
[21:46] <ahoneybun> you think building Android has anything to do with this?
[21:46] <lordievader> ahoneybun: Your ssd looks fine, the Seagate however, it shows some errors here and there. That is likely the reason for the slowdowns.
[21:46] <ahoneybun> the ssd has mostly nothing
[21:46] <ahoneybun> 24gb is not much
[21:46] <lordievader> The second Seagate I see today with errors.
[21:47] <ahoneybun> I'm thinking of reinstalling but if it has errors then it is hardware
[21:47] <lordievader> Your system is on the ssd I guess?
[21:47] <ahoneybun> nope
[21:48] <ahoneybun> https://paste.kde.org/pc5aswox9
[21:48] <lordievader> Hmm, well if the slowdowns are really bothering you, or the error rates go up in smart I'd replace the disk and use this one for non-crucial storage.
[21:49] <ahoneybun> they are bothering me a lot
[21:49] <lordievader> How large is your install?
[21:50] <lordievader> I.e. how much of sdb1 is in use.
[21:50] <ahoneybun> the home is 877gbs
[21:50] <ahoneybun> not sure how much is used
[21:50] <lordievader> ahoneybun: Could you pastebin the output of 'df -h'
[21:51] <ahoneybun> https://paste.kde.org/pleg4bmiy
[21:52] <ahoneybun> 130GB
[21:52] <lordievader> ahoneybun: Oh, you are using a mere 7G of the 46 G, I'd  move it to the ssd ;)
[21:52] <ahoneybun> I did that once
[21:52] <ahoneybun> then I filed it
[21:53] <ahoneybun> fillled
[21:53] <ahoneybun> somehow
[21:53] <ahoneybun> idk
[21:53] <ahoneybun> but is it a hardware issue or software?
[21:53] <ahoneybun> if hardware then I would just get a new hdd and reinstall
[21:54] <lordievader> I'd bet on hardware. Keep a look at the smart values and see if they increase.
[21:54] <lordievader> No need to reinstall, just dd.
[21:54] <ahoneybun> I dont know about using that for anything other then USB
[21:54] <lordievader> Or better, start using lvm then you can move things around... live ;)
[21:54] <ahoneybun> 98%
[21:54] <ahoneybun> way over me
[21:55] <lordievader> Just last week I bought an ssd myself and since I use lvm I could just move my rootfs over to it while I was using the system :D
[21:55] <ahoneybun> I know nothing about that
[21:55] <lordievader> One can allways learn ;)
[21:55] <ahoneybun> ovidiu-florin: moved from lvm to buterfs
[21:55] <ahoneybun> I think
[21:55] <lordievader> Anyhow I am going to bed, have a great day ahoneybun
[21:56] <ahoneybun> darn HDD
[21:56] <ahoneybun> no point in reinstalling if it will just fail
[21:56] <ahoneybun> was looking at system76 anyway lol
[23:45] <ussher_> having some monitor issues.  After a kernel update my nvidia stuff stopped working so i purged nvidia-* and went back to "Display Configuration".  All monitors are there and look correct, but two of them just show scrambled white and colored lines. any ideas on how to get those monitors to work?
[23:47] <TJ-> ussher_: sounds like bad modelines. check for problems in "/var/log/Xorg.0.log" and use tools like "xrandr" to list and manipulate current settings
[23:48] <ussher_> cheers TJ, how would I do the manipulating.  I can change the resolution from the "Display Configuration" screen and the monitors look like they want to work, but somethings not lining up.
[23:49] <TJ-> ussher_: "xrandr" will report the current mode selections; maybe the wrong frequencies are selected, or the log may reveal that the monitor EDID is corrupt/incorrect
[23:52] <ussher_> it (NOVEAU) seams to be getting the cards confused.  If i fiddle with it the second cards monitors are ending up with the first cards monitors resolutions.  might have to try a re-install of the nvida drivers.
[23:53] <ussher_> cant see any 'error' or 'corrupt' in the xorg logs.  thanks for that though.
[23:55] <TJ-> That's weird, I've never seen that happen. the "xrandr" tool lets you explore and change settings per-output, so you can see if its a GUI problem or more widespread
[23:55] <ussher_> i've only got 1 monitor that is capable of 1680x1050 but "display config" is showing that monitors resolutions on 2 of the displays.
[23:56] <TJ-> My laptop has 6 monitors over 3 GPUs with nvidia, and I've never seen anything like that happen.
[23:56] <ussher_> by xrandr your meaning the GUI or the command line output?
[23:56] <TJ-> ussher_: is the output set to 'clone' ... that would explain that
[23:56] <TJ-> ussher_: "xrandr" is a command line tool
[23:56] <ussher_> thats where im at.
[23:56] <ussher_> thanks.
[23:57] <ussher_> from the movement on the blurred screen it seams like its cloned
[23:57] <TJ-> clone will want to output the same modeline to the cloned output
[23:57] <ussher_> but from the positions in "display config" it should be below.
[23:58] <ussher_> i'll read the man page for xrandr.