/srv/irclogs.ubuntu.com/2019/01/27/#ubuntu.txt

jeffrey_fI read somewhere that ubuntu is finally ditching python 2 for 3. When is that going to happen? and When for LTS?00:20
OerHekspython2.7something is still available, in main. https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Other_base_system_changes_since_16.04_LTS00:24
OerHeksand the last LTS to provide that00:25
jeffrey_fThanks!00:28
jeffrey_fquit00:33
phelixWould anyone have any idea why my del button stopped deleting files and folders?00:52
phelixAnyone know what the hell is going on? this is driving me nuts!00:56
phelixreally need my del button to be working properly right now00:56
OerHekson what ubuntu is this?00:59
phelix16.0400:59
phelixjust totally quit working00:59
Bambusphelix: have you tried the insert button? Maybe after you press this del work00:59
OerHeksand where are the files stored? in your home or else?01:00
phelixnope that isn't helping01:00
phelixits on my home01:00
phelixdesktop pc01:00
Bambushm...01:00
phelixsitting at the desktop. Delete does nothing now01:00
Bambushave you tested another keyboard?01:00
phelixyes, def not thet keyboard01:01
phelixyou can even see the cursor blink when i hit hte del button01:01
phelixBut just does nothing01:01
Bambushm what could it be then? I have no idea01:01
BambusSry01:01
OerHekscursor blink...01:01
sonicwinddoes it work elsewhere, like in a text editor?01:03
texlaUbuntu 18.04.1..How to download a package to home directory..or how to move from desktop to home..package is gnome calendar01:06
phelixCan someone please help me map my delete key back01:18
phelixI am not sure what happened. But it doesn't seem to be working and I can't figure out how to map it back properly.01:18
oft_gegongwhat tool did you use to map it in the first place?01:19
dmnurtexla: what do you mean by downloading a package? A *.deb file?01:19
phelixi never did anything01:19
phelixit just stopped working01:19
phelixwondering if something in here might have messed it up01:19
oft_gegongdid you try another keyboard?01:19
phelixyes01:20
phelixand rebooted01:20
phelixI can see blinker move when I hite delete. or when in the text entry and i clic "Switch to next source using" and hit delete it says delete in there01:20
phelixbut the button does nothiong01:20
phelixnow i think i really messed it up with this text entry editor01:21
oft_gegongoh I know what the problem is01:21
oft_gegongyou have INSERT on01:21
phelixtried that01:21
oft_gegonghit the INSERT key and try again01:21
oft_gegongoh01:21
phelixdoesn't make delete work01:21
phelixyes just double tried again01:21
oft_gegongit sounds like the Desktop Environment you are using is causing issues with configuring the Delete key01:22
phelixwell its just stock ubuntu dekstop whatever comes with 16.0401:22
phelixit was working earlier today01:22
phelixcan i reset everything keyboard related from scratch?01:22
oft_gegonglol yeah that would be the first clue01:22
oft_gegongIf you go into the keyboard settings, you can check to make sure nothing bogus got turned on01:23
phelixWell there is no setting for delete in there01:23
phelixI don't understand this stupid program very well01:23
phelixnot sure whatits doing.01:24
oft_gegongMaybe you hit Shift too many times and enabled a keyboard feature that disables the Delete key or something01:24
phelixwell can i undo this somethow?01:24
phelixif i hit shift to many times how do I undo that?01:24
oft_gegongHmmm01:24
phelixa reboot isn't fixing this01:24
phelixsomething is bad.. I need to reset my entire keyboard from scratch01:25
phelixi don't know how to do this01:25
dmnurphelix: gsettings list-recursively org.gnome.desktop.wm.keybindings |grep Del01:25
oft_gegongwell this might sound bad, but try creating a new user, because the bad configuration might be in your $HOME/~ directory01:26
phelixdmnur, org.gnome.desktop.wm.keybindings switch-input-source-backward ['Delete']01:26
phelixis what it returned01:26
dmnurphelix: that's why.01:26
phelixDo you know how to change this back?01:26
oft_gegonggsettings, dang, you could try gsettings-editor or something to try to remove it01:27
* oft_gegong shrugs01:27
phelixthere a gsettings reset or something?01:28
oft_gegonghmmmm01:28
dmnurphelix: yes. gsettings reset org.gnome.desktop.wm.keybindings switch-input-source-backward01:28
oft_gegongyay01:29
oft_gegongdarn dem gnomez01:29
oft_gegongat these they made an easy solution01:30
phelixTher ewe go!01:30
phelixthanks01:30
phelixdmnur, do you know how to make this work now with the file manager?01:32
phelixi can delete something on the desktop by clicking and hitting delete. But if i am in the file manager and hit del on something it does nothing01:32
dmnurphelix: https://askubuntu.com/a/77898501:34
phelixI dont ever in my life remember having to do this before to get this working. It was just working earlier too.. wonder why I have to run these commands.01:35
swift110hey01:36
phelixBut thta did it.. Thank you dmnur01:36
dmnurSo Nautilus really doesn't move files to trash when you press Delete?.. Can't check here myself, using Thunar.01:37
phelixI always thought that it did.01:38
phelixI've never had to manually run that stuff before to get it working. It was deleting files earlier today. I had to of done something01:38
raubIs there a reason to create a group for a service such that its gid < 1000?01:40
raubOr that is just convention?01:41
OerHeksit is unusual, see this example hfs https://help.ubuntu.com/community/hfsplus01:43
dreamcat4hey there. i am trying to get a realtime kernel for ubuntu 18.1001:43
dreamcat4seems i have to compile it myself01:44
dreamcat4still compiling...01:44
oft_gegongwhat's a realtime kernel01:44
oft_gegong"a realtime kernel is where you open your browser and search realtime kernel" </joking>01:45
dmnurdreamcat4: isn't that what you need? https://packages.ubuntu.com/cosmic/linux-lowlatency01:46
oft_gegongdown with web browsers!01:46
dreamcat4dmnur: unfortunately NOT, it seems01:46
dreamcat4there is some other pages explaining why i was directed to01:46
dreamcat4https://wiki.ubuntu.com/RealTime 'are no longer being supported'01:47
dreamcat4its a set of patches for hard realtime pre-emption. wheras the 'lowlatency' is soft pre-emption01:47
dreamcat4so am following this guide here https://stackoverflow.com/questions/51669724/install-rt-linux-patch-for-ubuntu01:49
dreamcat4what kindda confuses me is why the patcheset was not upstreamed. they seem to have been around for a long time now01:50
MarkBeaksyo01:52
MarkBeaksso uh01:53
MarkBeaksI'm kind of new to IRC01:53
MarkBeaksbut I want to learn and configure it01:53
MarkBeakshow would I go about doing that...?01:53
MarkBeaksalso, I want to set up PurpleReddit, but I don't exactly know how to do that... :v01:54
MarkBeaksCan anyone help?01:54
DevrimIs there a reason to use dnsmasq over the /etc/hosts file to block (ad/malware) domains?01:58
dmnurdreamcat4: yeah, I see, noone builds RT kernel packages anymore. Well, good luck with compiling. :D02:00
dreamcat4dmnur: yeah its still compiling02:00
dreamcat4i suppose i should have timed it, to know for the next time. probably about half an hour02:00
dreamcat4uuh, it just finished02:01
Set8Hey02:03
dmnurDevrim: if you have many machines and don't want to sync your blacklist on all of them, then yes, using dnsmasq would be better.02:04
Devrimdmnur I will be using the list in my router, so /etc/hosts should be okay?02:05
dmnurDevrim: yeah, although with REALLY big blacklists dnsmasq probably would be faster. I don't really know if the hosts file get cached.02:07
DevrimHmm okay thanks, my router isn't an expensive one so performance might be important lol02:08
DevrimMight as well give dnsmasq a try02:08
dmnurDevrim: try both and make performance tests, that's the best solution. :)02:09
benl90Hello, I've question regrads strelaysrv on ubuntu. I manage to run the strelaysrv, but the problem I don't know where the service save the conf, I can't see one. I already read http://manpages.ubuntu.com/manpages/bionic/man1/strelaysrv.1.html still no clue. Can anyone help? Thanks.02:15
dmnurbenl90: check /var/lib/strelaysrv02:20
benl90dmnur: I edit vim /lib/systemd/system/syncthing-relaysrv.service is that okay?02:20
dmnurbenl90: it's better to copy it to /etc/systemd/system and edit there.02:21
dmnurbenl90: and then don't forget to run: systemctl daemon-reload02:21
benl90dmnur: Will it reload from system?02:21
dmnurbenl90: /etc/systemd always takes precedence over /lib/systemd.02:22
benl90Okay. Let me try. Thanks dmnur02:23
benl90dmnur: I need to delete the binding then?02:24
benl90dmnur: there's a linked file on /etc/systemd/system02:25
dmnurbenl90: pointing to /lib/systemd/system/...?02:26
benl90dmnur: Yeah. I just delete it :p02:26
dmnurbenl90: ya, it's safe to delete.02:26
qwebirc16374Hello! I have issues with USB speakers and ethernet not working if I suspend my system and wake it up. However, if I suspend and re-awaken it for a 2nd time, everything works fine.02:27
dmnurqwebirc16374: Ubuntu version? And `dmesg` output, please (use paste.ubuntu.com).02:30
qwebirc16374@dmnur 4.18.0-13-generic, 18.10 64 bit. Would you want me to grep for a certain pattern for dmesg, the output is too verbose02:33
dmnurqwebirc16374: not really sure what to grep, so paste it all.02:34
qwebirc16374dmnur: https://paste.ubuntu.com/p/pWdkqmkwFn/02:36
qwebirc16374dmnur: This is after 2nd suspend-resume.02:39
dmnurqwebirc16374: I guess the system is already in this state when you suspended twice? Haven't you rebooted?02:39
qwebirc16374dmnur: not rebooted. The 2nd suspend-resume fixes everything02:41
qwebirc16374dmnur: do you want me to reboot and re-paste?02:41
qwebirc16374dmnur: or reboot and do dmesg after first suspend?02:41
dmnurqwebirc16374: no, it's OK. Is it a laptop?02:46
qwebirc16374dmnur: No, desktop.02:47
dmnurqwebirc16374: not really sure about Ethernet then... OK, are USB speakers connected to some external USB hub?02:49
qwebirc16374dmnur: no external hub.02:49
dmnurqwebirc16374: lspci | grep -i -e ether -e usb03:00
swashdevHas anybody else had issues with Ubuntu 18.04.1 randomly going to a black screen and becoming unresponsive?03:02
swashdevThis keeps happening to me without warning and I have to unplug my laptop and take the battery out to boot again03:02
qwebirc16374dmnur: https://paste.ubuntu.com/p/cZ67CW2mpZ/03:03
dmnurqwebirc16374: USB speakers are connected to a USB 3.0 port? Are there other USB 3.0 devices?03:04
qwebirc16374dmnur: Yes, and I do have more USB devices03:05
qwebirc16374dmnur..Let me check if all the USB ports are 3.0, I am not sure I remember. I had assembled this in 201103:05
qwebirc16374Dmnur: Oops. I think the prev. command output suggests all USb 3.003:10
dmnurqwebirc16374: actually no, there are two EHCI (USB 2.0) and two XHCI (USB 3.0). From dmesg output I see that something's wrong with usb 5-1, and it's XHCI.03:13
qwebirc16374dmbur: Sorry, I just figured out 2.0 and 3.0 from lsusb03:14
qwebirc16374dmnur - so, something off with a USB 3.0 port?03:14
qwebirc16374dmnur: Are you suggesting it's a hardware level issue ?03:16
dmnurqwebirc16374: with this particular USB 3.0 *controller* - Etron EJ168. See here, note #8 in particular: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/80227803:17
ubottuLaunchpad bug 802278 in linux (Ubuntu) "1b6f:7023 xhci_hcd: Etron EJ168 controller unusable" [Medium,Expired]03:17
qwebirc16374dmnur: Thank you!03:17
dmnurqwebirc16374: looks like this controller has many issues, there are different kludges for it in the kernel. And noone was able to fix it entirely.03:18
qwebirc16374dmnur - kernel level bug, is it?03:18
qwebirc16374dmnur: oh ok03:18
dmnurqwebirc16374: still don't understand why Ethernet adapter stops working too.03:19
dmnurqwebirc16374: maybe it's USB controller making too much noise at the bus, and that bus is shared with Ethernet adapter.03:20
qwebirc16374dmnur: I face unresponsive video sites - netflix and youtube, not sure if it is related to the sound. I assumed it is an ethernet issue when other (non-streaming) sites may be fine03:20
qwebirc16374dmnur: I will check it again sometime..03:21
dmnurqwebirc16374: you can try to connect your speakers to a USB 2.0 port.03:21
qwebirc16374dmnur: I can try that too, it may take me some time though.03:22
dmnurqwebirc16374: well, come back if that won't help. But I think your only option then would be to disable USB 3.0 controller in BIOS and, if you really need USB 3.0, buy another controller that has better drivers as an expansion card.03:25
qwebirc16374dmnur - you mean another motherboard?03:28
dmnurqwebirc16374: no, there are cheap PCI-E expansion cards. Search the web: "usb 3.0 expansion card"03:30
qwebirc16374dmnur: thanks a lot! I will try getting one..03:31
dmnurqwebirc16374: you're welcome.03:31
qwebirc16374dmnur: Thank you! I really appreciate it.. Have a great day..03:31
lotuspsychjegood morning to all04:27
benl90lotuspsychje: morning04:29
kinghatanyone here have an asus merlin router?04:33
DarwinElfhow do I reinitialize a display after switching with a KVM switch changed it from 1600x1200 to 640x480?04:34
lotuspsychjekinghat: sounds more like a ##networking problem?04:34
p0aHello, I'm trying to turn the brightness down from the command line, can it be done?04:44
=== rudy is now known as Guest73681
lotuspsychje!info xbacklight | p0a04:47
ubottup0a: xbacklight (source: xbacklight): simple utility to set the backlight level. In component universe, is optional. Version 1.2.1-1build2 (bionic), package size 8 kB, installed size 24 kB04:47
p0alotuspsychje: `no inputs have backlight property'. I've done it before on windows04:49
p0alotuspsychje: I found some help online, one sec04:49
p0alotuspsychje: my /sys/class/backlight directory is not linked to the right place; it is containing intel_backlight though, which appears to be linked correctlyt04:52
p0alotuspsychje: nevermind, I think I can follow https://wiki.archlinux.org/index.php/backlight04:53
p0athanks again04:58
DarwinElfhelp meeee05:02
aneonDarwinElf: display settings?05:09
=== mobile_c is now known as UNSTABLE_WIFI
=== rudy is now known as Guest22942
qwebirc60710Hi all, is there an easy way to disable and reenable the right mouse button in Lubuntu 16.04 and te remove the icon in the toolbar that brings up the file manager?06:31
=== gr33n7007h is now known as al2o3-cr
MJCDlol i'm going to go with "no"07:22
eeddaasalut07:54
pragomerhi, I got this bug:08:06
pragomerhttps://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/172465008:06
ubottuLaunchpad bug 1724650 in intel-microcode (Ubuntu) "[Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x25 (or later)" [Undecided,Fix released]08:06
pragomerinstalling ubuntu 18.04 on an acer laptop e5-771g08:06
pragomeralthough I am a more expi. linux user I can not get to install ubuntu on this machine08:06
pragomerproblem seems to be (??) intel-microcode? but how can I got this package while booting the install medium? (bios is update btw)08:07
DARKAD000Hi all!08:14
DARKAD000I have many subdirectories and I would like to have a complete list of files ordered by date08:14
macsysquit08:17
lotuspsychjepragomer: did you try other ubuntu versions yet with higher kernel for example?09:29
stront2Hi, i just upgraded from Ubunto 18.04 to 18.10 and my encrypted zfs containers were lost and i am stuck in the initramfs with no filesystems.  Any pointers as to what i should do?  I don't mind re-installing everything, but I would at least like to manually mount the filesystems before I do that.09:34
ikoniaboot from live media, manually decrypt, get the zfs module and mount09:34
ikoniayou will understand what happened then09:35
stront2ikonia: ok. will give it a shot.09:35
talxhello guys10:10
talxdid any of you managed to install nrpe on an ubuntu machine? I get connection reset by peer, though it seems settings are fine10:10
pragomerI just tried pop!_os 18.04 and it worked just perfect10:15
=== rest is now known as Beetlejuice
pragomerwonder how I could realize this install with ubuntu10:15
Beetlejuiceim flashing space for testing10:16
albechSince upgrading from 16.04 to 18.04 i can no longer make internal DNS resolving work when connected to our DC openvpn. Anyone else experience this?10:19
ikoniaalbech: who cares what other people see at this point you need to understand your specific problem10:19
esroalbech: works for me.10:20
ikoniaalbech: the dns governer changed to systemd, most of the concepts are the same as dnsmasq but just systemd governs it10:20
ikoniaparts of that change could impact your resolution setup depending on your personal setup and your vpn setup10:20
=== Bluerate is now known as bluerate
albechesro: googling it seems like lots of other people have similar problems. its like the internal dns's pushed by openvpn arent getting precedence over the dns handed by the dhcp server, thus they are never queried.10:24
ikoniaalbech: and I've just given you the most likley reason why10:25
albechikonia: im not sure i understand what you mean10:27
ikoniaalbech: in 16.04 dns was governed by libresolve and resolverlib (think that's the right name for the resolver api library)10:27
ikoniaalbech: so it picked up changes externally eg: openvpn adding/removing domains/servers10:27
ikoniaalbech: in 18.04 it's governed by systemd10:28
ikoniathe concept is the same but some setup changes maybe required10:28
ikoniaagain, depending on your personal setup10:28
albechikonia: when on the vpn i simply wish to use the dns pushed by the openvpn server and nothing else.10:30
ikoniaalbech: yeah, I get that, it doesn't change what I said though10:31
albechthey are applied according to 'systemd-resolve --status', but not queried10:31
=== imsurit_ofc1 is now known as imsurit_ofc
IniGithi10:39
IniGitwhen you use raid 1 and loose a drive, can you still use the other drive normally without inserting a new drive to rebuild the raid 1? Or in other words can you just unplug a drive from raid 1 and use it without raid normally?10:40
IniGitOr do you need to rebuild the raid 1 by inserting a new drive in order to use that data on the remaining drive?10:40
gigirockIniGit: we don't understand from which point are you starting , have you actually a raid 1 configuration ?10:42
blackflowIniGit: normally you would rebuild it, but it can continue working with only one disk, in a "degraded" state, yes. That's the whole point of it.10:42
IniGitgigirock: I do currently have no raid 1. I want to research it, so that I know what it does and wheter I want to use it or not10:43
gigirockIniGit: "research" ?10:43
IniGitblackflow: Does it mean I can just stop the raid and use both drives as normal?10:44
IniGitgigirock: yes or learn whatever you want to call it :D10:44
ikoniaalbech: so you actually see them as available, can you manually query them ?10:44
ikoniaIniGit: you never use "the drive" you use the meta device the two drives presents, if that device has 1 disk or 2 doesn't matter10:45
blackflowIniGit: yes and no. you can continue using just one drive but it will continue to be one drive in a degraded 2-way mirror. mdadm will be loaded, raid detected, degraded state detected.10:45
blackflowand yes, assuming what ikonia just said, you're always using the md device on the mount side of things.10:45
blackflow*that you're always...10:46
gigirockIniGit: at the end look at boot partition, and sequence10:47
IniGitblackflow: So there is something stored on the HDD that indicates it is a raid drive? Why can you not just stop the raid and the raid is basically gone and you have a normal hdd until you specify that you want a raid again?10:47
ikoniaIniGit: you can do that - but no-one would as it would be dumb10:47
blackflowIniGit: with mdadm and raid 1 I think what you say would be technically possible, if the metadata was cleared. unlike hardware raid, mdadm has no proprietary format for block storage, only superblocks.10:48
IniGitdegaded state basically means nothing but "hey I want to rebuild"? or are there other implciations too?10:49
blackflowbut I wouldn't know how to do it, and wouldn't want to. if you want to convert to single disk, then just copy off to a proper non-raid single disk.10:49
blackflow(btw what I said above about clearing metadata only, applies to raid 1. other levels are interleaving parity, or there's striping)10:50
ikoniaIniGit: it means just that, you are meant to have X, you have Y - be aware10:50
BluesKaj'Morning all10:51
IniGitblackflow: I'm not sure if I understand correctly. Does that mean a hardware raid stores data in a way that is only useable with such a raid controller in normal or degraded state and you cannot use it without that raid controller? Sry I have really not much knowledge about that topic10:51
engloshhello. I'm trying to install LLVM 7 on Ubuntu 14.04. I'm trying the commands from https://apt.llvm.org from the Install (stable branch) section but then the "apt-get" doesn't work10:51
engloshwget works10:51
blackflowIniGit: exactly. that's why hw raid is, among other things, bad.10:51
ikoniaenglosh: 14.04 is EOL10:52
engloshEOL?10:52
BluesKaj!eol10:52
ubottuEnd-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades10:52
IniGitblackflow: You said it is propietary too, which makes it then even more bad10:52
engloshoh so I need to upgrade? to what? 16.04?10:52
BluesKajat least10:52
blackflowIniGit: by that I mostly meant "specific to that controller vendor, model and even version/year of production   in some cases"10:53
engloshbut actually on the LLVM page it also says something about 14.04 in the Ubuntu section but the "deb" command doesn't work10:53
gigirockenglosh: jump to 18.xx10:53
blackflows/xx/04/10:53
engloshdeb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty main10:53
ikoniaenglosh: logic says you'd go for the most current stable release with the lifecycle duration you want10:53
ikoniaenglosh: yes ?10:53
engloshyes but the "deb" doesnt work. Is it not supported on 14.04?10:54
ikoniaenglosh: deb is fine10:54
ikoniathat's just a text file10:54
IniGitblackflow: thanks, I will learn more about software and hardware raids10:54
ikoniait's not a comamand10:54
gigirockIniGit: in this case pratice is more simple than theory10:54
blackflowIniGit: yeah, jump into it, with mdadm, forget HW raid, and keep good backups.10:55
IniGitblackflow: hardware raid is that software that comes from the motherboard maufacturer, right?10:57
IniGitlike AM4 RAID Driver: https://www.msi.com/Motherboard/support/X470-GAMING-PLUS#down-driver&Win10%206410:58
IniGit?10:58
blackflowIniGit: it's usually a controller separate to the MB. MB "hardware" raid is also known as "fakeraid" or "bios raid", requires a special kernel module in linux. btw, this is slightly getting offtopic for #ubuntu. there's #hardware with more knowledgeable people, or #ubuntu-discuss if you wanna talk about it in context of what ubuntu does.10:59
IniGitblackflow: ok, thank you11:00
engloshwhen it says "deb" or "deb-src" in front of some links. What am I supposed to do with them?11:07
engloshI want to install something11:08
ikoniaenglosh: they are lines in a config file11:10
engloshIs it possible to install .sig files on Ubuntu 14.04?11:18
ikoniawhat's a .sig file ? you mean an encyption signature ?11:18
engloshI want to install LLVM 7 and there are these .sig files here: http://releases.llvm.org/download.html#7.0.111:19
englosh"pre built binaries"11:19
ikoniathey are source files11:19
ikoniawhy not just use their official repo11:19
ikoniathey build the packages for you in package manager tooling, why not use it ? you seem aware of it ?11:20
engloshI can do "sudo apt-get install llvm" but that installs me 3.811:20
engloshway too old11:20
ikoniaright, because you've not configured their repo11:20
engloshwhere is that repo? is it here? https://apt.llvm.org/11:21
ikoniatheir repo offers 7, and the 8 and 9 (which I assume is development)11:21
ikoniaenglosh: yes11:21
ikoniaenglosh: it's on that page,11:21
engloshyea and there are these deb and deb-src things and I don't know what to do with that11:21
engloshwhat config file should I put it in?11:21
engloshwhen I should put it somewhere11:22
engloshok will try putting it in sources.list11:23
ikoniaok, so is the question you are asking "I don't know how to configure a 3rd party repo, can you please help me"11:23
ikoniawait11:23
ikoniadon't do anything11:23
ikoniado you understand how to manage the software repos with 3rd parties11:24
engloshoh I already added it but "sudo apt-get update" doesnt do anything11:26
engloshnot really, no11:26
ikoniaok - so, in future, you'll get a lot better help if you just ask the question you actually need, the meta questions doesn't really help11:26
ikoniaenglosh: are you on 14.04 ?11:26
engloshyes but I mean on LLVM it states support for 14.0411:27
ikoniaenglosh: ok - so two things, I'd strongly suggest you get off that and move to 18.04 for example a.) the ubuntu support will exist b.) it's a simpler process to setup their repo, as the notes on their page say tht 14.04 will need additional PPA's as well as their own11:27
engloshok will do that then11:28
ikoniaalso the version of llvm in 18.04 maybe good enough for you anyway11:28
ikoniawhich means you need to do nothing11:28
leslinquit11:36
timahvo1am having issues printing to a Ricoh Aficio MP2000 from 16.04. No matter what print driver I use the prints come out faint/faded like it's in ink saving mode. All other functions like double-sided printing work fine. Same printer prints just fine connected to a windows box. Can anyone help with this ?11:46
engloshiknoia: LLVM 6.0 is probably fine, thanks11:47
askfm2i got problem with resolution , its 640x480, i can't add or change it ..11:48
=== amine is now known as Guest98218
askfm2it was work and this happen idk why11:48
blackflowtimahvo1: did you adjust the printer settings? there shuold/could be an option just for that, there was for my samsung11:49
lotuspsychjeaskfm2: are your graphics drivers installed correctly?11:58
askfm2lotuspsychje, yes , it was working successful11:59
askfm2lotuspsychje, how can i check btw ?11:59
lotuspsychjeaskfm2: sudo lshw -C video or software&updates last tab additional drivers12:00
askfm2lotuspsychje, yes its there12:01
lotuspsychjeaskfm2: wich ubuntu version is this please?12:02
askfm2product: GT218 [GeForce 210] , vendor: NVIDIA Corporation12:02
askfm218.04.1 LTS12:02
lotuspsychjeaskfm2: and your driver version?12:03
askfm2lotuspsychje, how can i check12:03
lotuspsychjeaskfm2: software&sources tab drivers12:04
lotuspsychjeaskfm2: maybe pastebin sudo lshw -C video to the channel too please412:05
askfm21 sec12:05
timahvo1blackflow: I haven't changed any settings on the printer as it prints fine when printing from other machines. Only problem seems to be with the 16.04 box12:07
askfm2lotuspsychje, https://pastebin.com/ZKFjpeqb12:07
lotuspsychjeaskfm2: seems like your card is unclaimed, so somethings wrong with your driver12:07
askfm2lotuspsychje, so what i have to do?12:07
blackflowtimahvo1: then change the settings. there should be a drop down that defines ink/toner density or whatsitcalled12:07
lotuspsychjeaskfm2: can you see wich drivers show in: ubuntu-drivers list?12:08
blackflowtimahvo1: the fact that it prints "fine" from other machines is not contradicting the existence of such an option, it only means that driver _defaults_ on other machines are somehow different.12:08
lotuspsychjeblackflow timahvo1 could it be due 17.04+ have driverless printing and xenial not perhaps?12:08
askfm2lotuspsychje, lshw right ?12:09
lotuspsychjeaskfm2: no, ubuntu-drivers list12:09
blackflowlotuspsychje: timahvo1: I don't know, haven't used a printer in years. I do know the printer settings dialog has such an option, for several printers I had before I stopped using them. accessible from cups settings (web)page if not from the print dialog.12:09
askfm2lotuspsychje, empty12:10
lotuspsychjeaskfm2: ok, thats weird mate12:10
AdrienneI love when on my body cum, find me here - http://gmy.su/:45ny12:10
timahvo1blackflow: ok thanks will give it a shot12:10
askfm2lotuspsychje, :/ so what i have to do now ?12:10
lotuspsychjeaskfm2: software&updates drivers section show no drivers for you either?12:11
blackflowlotuspsychje: btw, driverless printing only means there's one, generic cups driver? do modern printers, using such api, still have the settings page?12:12
askfm2lotuspsychje, no drive12:12
askfm2driver*12:12
lotuspsychje!nvidia | askfm212:12
ubottuaskfm2: For nvidia and matrox graphics cards, see https://help.ubuntu.com/community/VideoDriverHowto . For AMD/ATI graphics cards, see Ā« /msg ubottu ati Ā» and Ā« /msg ubottu fglrxmissing Ā» For the latest Nvidia drivers see https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa12:12
lotuspsychjeaskfm2: allright, tnx for checking try to add the ubuntu graphics ppa and install a driver12:13
talxanyone here have experience with nagios ?12:14
talxI can't monitor an ubuntu machine no matter what i do it seems12:14
ikoniatalx: more people in #nagios will have12:14
ikonialoads of people use it with ubuntu, I've certainly done it in the past, although not currently12:14
askfm2lotuspsychje, okay thanks , i'll install the driver12:15
lotuspsychjeblackflow: from gnome you can add a printer and consult the printer settings indeed12:15
lotuspsychjeaskfm2: did you update your system correctly too?12:15
askfm2lotuspsychje, i just install it before 2 hour :)12:17
lotuspsychjeaskfm2: install yes, but did you also update to latest?12:17
blackflowlotuspsychje: ah good to know, thanks.12:17
askfm2lotuspsychje, nope12:17
lotuspsychjeaskfm2: before adding the ppa, i would first update system12:17
askfm2lotuspsychje, okay12:18
talxikonia12:18
talxno one is active there12:19
talx:(12:19
ikoniatalx: hang around12:19
ikoniapeople will be12:19
El_GiorgiosHi, what 's the channel of Ubuntu in french ?12:27
lotuspsychje!fr | El_Giorgios12:27
ubottuEl_Giorgios: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en franƧais, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci.12:27
root343hi12:39
lotuspsychjewelcome root34312:39
macsysIs force installing the devel version upgrade of ubuntu worth doing or should i be patient (ugh) and wait for release?12:39
root343i got a problem with my pc12:39
macsyshi root12:40
lotuspsychjemacsys: do you mean 19.04?12:40
root343its a linux mint machine12:40
lotuspsychje!mint | root34312:40
ubotturoot343: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle)12:40
root343yes i think12:40
root343its 19.1 cinnamon12:41
ikoniaroot343: it's not supported here (to clarify)12:41
root343so were can i go?12:42
ikoniaroot343: read the link ubottu just posted in the channel12:42
macsys $linxmint-help on irc.spotchat.org is the best mint help irc12:42
root343thank you :-)12:42
lotuspsychjemacsys: wich version to wich version do you want to upgrade please?12:43
renn0xtk9I am using minicom without sudo but when I wan to save the settigns it want to save it in /etc/minicom/ how to make it save in myhome directory?12:44
ikoniarenn0xtk9: does minicom support user specific config files ?12:45
=== Class7_ is now known as Class7
ikoniarenn0xtk9: looks like you can pass a config as an argument12:45
ikoniaso just start it pointing at the file you want, so that when it saves it saves to the place you just passed in12:46
ikoniarenn0xtk9: actually, maybe not, the wording on the man page is not %100 great, it's configuration options, not a configuration file12:46
ikoniarenn0xtk9: ok - yes, one of the arguments is the configuration file12:47
ikoniarenn0xtk9: so it does support it12:47
macsyslotuspsychje: i have the 18.04 LTS but devel versions 18.10 is avail12:47
ikoniamacsys: do you want / need anything out of 18.10 ?12:47
lotuspsychjemacsys: 18.10 is out of development and ready to use as non-lts12:47
macsysneed no, want yes12:48
macsysmostly toolchain upgrades12:49
ikoniamacsys: what do you want from 18.10 that's not in 18.04 ?12:49
ikoniamacsys: 18.10 is very short lived, so it would be a bad development platform if toolchain updates are what you are looking for12:49
ikoniait's a staging ground for the next LTS release12:49
ikonia(that was terrible wording)12:51
friendlyguyhi there! i have issues on a ubuntu 16.04.5 lts12:51
BernarditaI love when on my body cum, find me here - http://gmy.su/:45ny12:51
friendlyguymaybe someone can help me with this problem: /boot ran out of disk space12:52
ikoniafriendlyguy: what's stopping you clean up12:52
friendlyguyi am running autoremove right now12:52
ikoniaplease don't say you've not got enough space to remove packages12:52
friendlyguybut i think it crashes12:52
friendlyguyyup...12:52
ikoniafriendlyguy: you "think" it crashes, it either does or it doesn't12:53
friendlyguyit does12:53
ikoniafriendlyguy: what does it error with12:53
friendlyguyno space left on device12:53
ikoniafriendlyguy: how big is boot ?12:53
friendlyguy243M12:54
ikoniareally ???12:54
friendlyguyyup12:54
ikoniathat's very small12:54
ikonia(unless you know how to manage space)12:54
ikoniafriendlyguy: I assume all the space is taken up with kernels ?12:55
EriC^friendlyguy: manually remove the initramfs of unused kernels then run autoremove again, you should be good12:55
friendlyguyyes12:55
EriC^friendlyguy: you'll need "uname -r" to get the current kernel, and "ls -l /boot" and "rm /boot/initrd....."12:55
friendlyguyokay, so i delete everything i dont use currently right?12:56
EriC^i think you'll need to delete 1 or 2 initrd and that should do it for autoremove to work12:56
friendlyguyokay, this machine is on 4.4.0-124, so i am going to delete every initrd with a version lower than that12:58
FanttiHi all! I have a weird problem. I am running Ubuntu Mate 16.04 on an old laptop: I usually use it with keyboard and evertyhing works fine, but when I plug the USB keyboard off, the laptops own keyboard doesn't work in correct way. E.g. when I try to log in with the laptops keyboard, it never works, but when I plug in the USB keyboard, I always get the password correct. Could this be a simple preference setup or some bug?12:58
EriC^friendlyguy: ok, might want to run apt-get update && apt-get dist-upgrade after autoremove finishes, the current kernel is 14112:59
friendlyguyhow much free space do i need?13:01
EriC^30mb i'd guess13:01
friendlyguyremoved 4 older initrds, gave me like 36M free13:02
friendlyguyokay13:02
friendlyguythen, lets give it a try13:02
friendlyguydamn, i again have "no space left on device"13:04
friendlyguyand it again installed the old kernels13:04
friendlyguyso the initrd.img-... files i just removed are back again13:05
friendlyguyi could provide the term.log from apt13:09
friendlyguybut... parts are in german13:10
friendlyguyhttps://pastebin.com/VKHhnCPm13:13
friendlyguyi translated most parts into english13:13
friendlyguyuname -a give: 4.4.0-134-generic13:14
friendlyguy(i wrote 124 by mistake earlier, but i didnt touch 134 on disk!)13:15
friendlyguythats the content on /boot right now: https://pastebin.com/THeDCSan13:16
engloshDoes somebody know how to I install LLVM 6.0.1 on Ubuntu 18.04?13:16
engloshOn https://apt.llvm.org there's 7 and 8 but not 6. I think I could use "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6 main" but that would install 6.0, not 6.0.113:17
friendlyguycan i resolv this situation without repartitioning the disk?13:19
friendlyguy(power-down vm, add more disk space, boot gparted-live, move partition, increse size of boot partition?)13:20
engloshikonia: unfortunately 6.0.0 isn't enough. There's a regression in this version and I will need 6.0.113:21
hggdhenglosh: you should already have llvm v6.0.1 on 18.04. "dpkg -l llvm\*"  should list you both llvm v6 and llvlv7. llvm6.0 is actually v6.0.113:26
engloshbut llvm-config returns 6.0.013:27
ikoniaenglosh: right, so you need to use the later version13:28
ikoniahggdh: is 7 in 18.04 ?13:28
hggdhenglosh:oh, I am sorry, I read the version string wrong. You are correct13:28
ikoniaenglosh: so you need to use the repo you pointed me at earlier on13:28
ikoniabut this time - you're on a good "base" ubuntu version to actually use it13:28
hggdhikonia: not officially. Only cosmic onward got v713:29
engloshyes the repo is https://apt.llvm.org/ but theres no 6.0.1, only 7 and 8. But I believe "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6 main deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6 main" would still work but this would install 6.0.0, not 6.0.113:30
ioria!info clang13:32
ubottuclang (source: llvm-defaults (0.41~exp5~ubuntu1)): C, C++ and Objective-C compiler (LLVM based). In component universe, is optional. Version 1:6.0-41~exp5~ubuntu1 (bionic), package size 3 kB, installed size 22 kB13:32
ikoniaenglosh: they are for trusty13:32
ikoniaenglosh: you're not running trusty anymore13:32
engloshyes but it was just an example. When I would change the numbers at Bionic to 6, it would also install 6.0.0 instead of 6.0.1 I think13:33
EriC^friendlyguy: still there?13:33
ikoniaenglosh: you need to look at what packages are held within those repos13:34
ikoniaenglosh: but if 6.0.1 is not in there, and it's not in the ubuntu repos, I'm not sure what you expect the solution to be13:34
engloshlast time you said I should not add it to sources.list. should I do it now?13:34
ikoniaenglosh: I would suggest putting it in a file called exterma-lvm.list in /etc/sources/sources.d (check that path)13:35
ikoniathat way it's kept out of the main config file for the core repos13:35
engloshhmm it's empty when I open it with nano. Doesn't seem to exist13:36
ikoniaright, you're making a new file13:36
ikoniajust for this repo13:36
hggdhikonia, englosh: I did look at the dist directory on the llvm.org deb, and it seems to carry 6.0.1 (presented as 6.0_6.0.1)13:36
ikonia(is the directory path right ? I'm working from memory)13:36
ikoniahggdh: perfect, thank you13:36
hggdhikonia:/etc/apt/sources.list.d/13:37
ikoniahggdh: even better, thank you13:37
ikoniayou're on fire13:37
hggdh:-)13:37
RumenHello13:40
engloshok /etc/sources/sources.d contains "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6 main deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6 main" now but "sudo apt update" doesn't do anything13:40
ikoniaenglosh: what do you expect it to do ?13:41
dnsuserre13:41
engloshto install lllvm 6.0.113:41
dnsuserŠŗу13:41
dnsuserруссŠŗŠøŠµ ŠµŃŃ‚ŃŒ713:41
ikonia!ru  dnsuser13:41
ikonia!ru  |dnsuser13:41
ubottudnsuser: ŠŸŠ¾Š¶Š°Š»ŃƒŠ¹ŃŃ‚Š° Š½Š°Š±ŠµŃ€ŠøтŠµ /join #ubuntu-ru Š“Š»Ń ŠæŠ¾Š»ŃƒŃ‡ŠµŠ½Šøя ŠæŠ¾Š¼Š¾Ń‰Šø Š½Š° руссŠŗŠ¾Š¼ яŠ·Ń‹ŠŗŠµ. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke.13:41
RumenI would like to ask how can I check which program freeze my computer? Started at once after update. What I did so far: I completely removed Nvidia, but that did not helped at all. I changed Kernel. Same problem. Removed couple of programs, but that did not helped at all too.13:41
ikoniaenglosh: apt-get update won't do anything to do with an install13:42
ikoniaenglosh: you'll find the package name will also most likley be different from a 3rd party repo13:42
RumenSometimes freeze at login (even before login)13:43
RumenSometimes 102-3 minutes after that13:43
Rumeneeee mean 1-2-3 minutes sorry13:43
engloshikonia: do you mean I should install llvm again now with apt-get? I'm trying that but nothing changes13:43
engloshpreviously when it was just in sources.list, something happened when I did sudo apt update13:44
ikoniaenglosh: I suggest you remove the old version13:44
ikoniaenglosh: search fo llvm - see the different package names now that you have a new repo, then install the right package13:44
qwebirc91610Hello, I am having a sound issue. Seems to me that there is a permissions issue for pulseaudio and pavucontrol cant connect with it.13:49
CyberGhost78qwebirc91610, have you checked for a solution in the forum/community board?13:50
engloshikonia: I uninstalled all the LLVM packages and reinstalled llvm6.0 and llvm. It's still 6.0.013:50
engloshwhere do I see these? I don't understand13:50
engloshthe new package names13:50
qwebirc91610CyberGhost78, yes I did, most of them said to give permission through sudo chown , however that didnt fix it13:50
CyberGhost78ahh ok13:50
engloshdo you mean "sudo apt-get install llvm-toolchain-bionic-6"? that doesn't work13:51
friendlyguyEriC^: yes i am. but i started the process to expand the disk13:51
friendlyguytakes a while13:51
qwebirc91610I have no sound and even i3blocks doesn't display the Volume meter, i can run pulseaudio with sudo pulseaudio --start and sudo pavucontrol will open pavucontrol, however, there still will be no sound.13:52
friendlyguymy root is on a lvm. so i first need to extend, move, shrink, before i can increase the size of the /boot partition13:52
qwebirc91610I have suspision it could be something with changing the root? I have dual-boot with windows, so I had to change the partition of my root. It did work yesterday, but not anymore.13:53
CyberGhost78that could be it qwebirc9161013:54
qwebirc91610CyberGhost78 i am on linux only a few days, so a noobie, any ideas how to try to locate whether thats the issue?13:55
=== Sven_vB_ is now known as Sven_vB
CyberGhost78nope thats beyond me13:55
CyberGhost78i would back up everything and do a reinstall and make sure you do the partitions right next time13:56
CyberGhost78reinstall windows then linux'13:56
CyberGhost78but first try to find a solution online13:56
CyberGhost78there's bound to be an answer13:56
CyberGhost78i'm impatient so if i can't find a solution in a few days then i just start over13:57
qwebirc91610having no sound is quite.. annoying :D13:57
CyberGhost78yes i bet13:57
=== Vilegent is now known as kk4ewt
CyberGhost78have you tried ALSA for sound?13:58
Sven_vBI'm trying to read the last 4 MB of a large block device with a shell command. tail --bytes=4M doesn't produce data within 10 sec, so I assume it reads from the start and discards instead of seeking. I could use dd but then I'd have to calculate offsets. is there something that seeks and is similarly easy as tail?13:58
CyberGhost78you could also try uninstalling the pulse audio drivers then reinstalling them again qwebirc9161013:59
qwebirc91610CyberGhost78 i already try to forcereload alsa but that gives a permission issue again14:00
CyberGhost78oic ok qwebirc9161014:00
qwebirc91610and reinstalled pulseaudio and pavucontrol a few times already14:00
coz_qwebirc91610, just got here, sound has suddenly stopped? installed anything new?14:00
qwebirc91610coz_ hey, i installed ubuntu for my first time yesterday, dual-boot with windows. i had to transfer my root to another partition and today the sound doesn't work14:01
qwebirc91610it seems to be some permission issue14:01
qwebirc91610i  found that people use sudo chown ...  but it still doesnt give permissions, for some reason14:02
coz_qwebirc91610, mmm, why the transfer?14:02
qwebirc91610the root was located in a 30gb partition :D14:02
coz_qwebirc91610, what was the chown exact command?14:02
qwebirc91610sudo chown -R $USER:$USER $HOME/14:03
coz_qwebirc91610,  so  sudo chown -R username  /username/home?14:04
coz_yes?^^14:04
qwebirc91610coz_ username:username /home/username14:04
coz_ok14:05
qwebirc91610coz_, i saw this as a solution in many places for the exact problem I have14:05
coz_holdd on let me check something14:05
qwebirc91610which is that when doing pulseaudio -v it spits out '[pulseaudio] core-util.c: Home directory not accessible: Permission denied'14:05
coz_qwebirc91610, I assume you read this?   https://ubuntuforums.org/showthread.php?t=231299314:08
coz_older thread though14:08
qwebirc91610coz_, i will take a look. the moving directory as an issue, i only thought of when I came here :D rubber duckin14:09
coz_")14:09
qwebirc91610coz_, drwxrwxrwx 1 root root       8192 jan 27 14:45  username , after doing ls -l /home, that seems incorrect right?14:12
coz_qwebirc91610, let me check to be sure, don't want to mislead14:13
coz_qwebirc91610, mm seems at first glance ok, but although you have already tried, another few googles might help,  first search string, maybe,     drwxrwxrwx 1 root roo14:15
coz_root14:16
coz_drwxrwxrwx 1 root root14:16
coz_qwebirc91610, in all honesty, I have not run into this issue, not that that is an excuse14:16
Sven_vBit seems bionic doesn't have lde (linux disk editor) anymore. what's the modern replacement?14:17
Sven_vBsomething to view/edit/export disk blocks hex editor style, and also view them as inodes if applicable14:18
coz_Sven_vB,  have you looked here   https://en.wikipedia.org/wiki/Comparison_of_hex_editors    and here   https://www.sleuthkit.org/   nt sure if these will help14:20
Sven_vBcoz_, thanks, I'll check14:21
coz_Sven_vB, those 2 where just a quick google search, I am confident there are many more suggestions14:22
Sven_vBcoz_, yeah, I thought usual hex editors would only deal with files, but the list tells me it's not that unusual.14:23
coz_Sven_vB,  right, good search strings will help if no one here has a quick answer14:23
dmnurqwebirc91610: sudo chown -R USERNAME: /home/USERNAME; sudo chmod 755 /home/USERNAME14:24
* Sven_vB 's disappointed that emacs either lacks the features or isn't properly documented in the wikipedia table.14:25
coz_Sven_vB, join #emacs   someone there nay have a better idea or perhaps a solution with emacs itself14:26
dmnurqwebirc91610: pulseaudio daemon expects your home directory to be owned by your user, it won't start otherwise.14:27
qwebirc91610dmnur, i think the chmod 755 didnt do anything14:27
qwebirc91610how can i check?14:27
coz_Sven_vB,  sorry that channel seems to unavailable14:28
dmnurqwebirc91610: ls -ld /home/USERNAME14:28
dbha01azaHi, I would have 10 years support for 16.04 LTS and 18.04 LTS, is it true?14:28
dmnurqwebirc91610: permissions should be drwxr-xr-x14:28
dbha01azaMark said about it14:29
qwebirc91610dmnur, still this "drwxrwxrwx 1 root root 8192 jan 27 14:45 /home/juris"14:29
coz_Sven_vB, sorry that channel is indeed active14:30
Sven_vBcoz_, no prob, it was half a joke anyway.14:31
Sven_vBjust trying to provoke emacs enthusiasts to update the table. :)14:31
dmnurqwebirc91610: show `mount` command output (use paste.ubuntu.com).14:31
qwebirc91610dmnur, https://paste.ubuntu.com/p/S2p5gX2Z6B/14:32
=== dbha01aza is now known as ls
dmnurqwebirc91610: do you use some NTFS partition as your home directory?14:33
=== ls is now known as lsirk
qwebirc91610dmnur, idk if u saw, but yesterday i had to change the root directtory to another partition14:33
qwebirc91610dmnur yes14:33
dmnurqwebirc91610: well, chown and chmod won't work on NTFS; for /home you should use a native Linux filesystem.14:34
qwebirc91610dmnur, i see, so basicly i should make a new partition with linux filesystem and transfer there?14:35
dmnurqwebirc91610: yes, or if your root partition (/) is big enough - just copy there.14:36
dmnurqwebirc91610: but for that you would need to unmount /home first, then remount it to some other directory (e.g. /mnt).14:36
qwebirc91610dmnur, thats what i did yesterday, but i guess i was on a extX system, the partition was just too small :D14:37
dmnurqwebirc91610: how exactly small?14:38
qwebirc91610dmnur, 30G14:38
dmnurqwebirc91610: that's pretty enough for root partition. So, you have your big NTFS partition and want to use it for storage?14:39
qwebirc91610dmnur, yes14:39
dmnurqwebirc91610: you can mount it to e.g. /mnt/stuff and then create symlinks: /home/USERNAME/Videos -> /mnt/stuff/Videos etc.14:40
dmnurqwebirc91610: or just one symlink: /home/USERNAME/stuff -> /mnt/stuff14:41
qwebirc91610dmnur, so I should go back to the original partition, and create this symlink so i can access the files from the root partition14:41
dmnurqwebirc91610: your /home will be on your ext4 partition that's mounted to /, but your data will be at /mnt/stuff, and in your home directory you will have a symlink to /mnt/stuff.14:43
qwebirc91610dmnur, sounds good, i will attempt :D14:43
qwebirc91610dmnur, possibly any known guides for this?14:44
dmnurqwebirc91610: not really, found this though: https://help.ubuntu.com/community/Partitioning/Home/Moving14:46
jinks_hello14:52
lesssielHello! I'm sorry, but I speak a little English. My new notebook is Endless OS, but I need Debian. The command (uname -m): x86_64. Install debian-9.7.0-i386-netinst.iso or debian-9.7.0-amd64-netinst.iso or other?15:11
lotuspsychjelesssiel: we can only support ubuntu and their flavors here, sorry15:12
lotuspsychjelesssiel: /join #debian15:12
blackflowlesssiel: the amd64-netinst iso   and also what lotuspsychje said.15:12
ghostnik11i am having problems with audio working on my t100 after a recent install of ubuntu 18.04 budgie and i am on kernel 4.1515:16
ghostnik11i have put the correct folder in ucm and the problem is the asound.state file keeps getting written wrong and commands like pulseaudio -k and -D don't work, it says i don't have permission even when i use sudo15:17
ghostnik11here is a pastebin of aplay = https://paste.ee/p/tDpdW15:21
liuyuhang.15:26
lotuspsychjeghostnik11: system up to date?15:27
ghostnik11lotuspsychje, yeah, i will do that again just to double check15:27
lotuspsychjeghostnik11: you could try pavucontrol too as a test perhaps15:28
ghostnik11lotuspsychje, tried it and it comes up sometimes while other times it doesn't15:29
ghostnik11lotuspsychje, , just did an apt-get update and comes back normal with no errors15:31
ghostnik11lotuspsychje, should i try to restart it with pulseaudio -k15:31
ghostnik11lotuspsychje, https://paste.ee/p/hcKqO that was result of a force command15:34
TheScoophi, is it possible to reach PPAs over IPv6 directly?15:42
drakonanok so if i want to start minecraft on start up in this ubuntu container what is the best way15:47
drakonani've been using screen so far... but its a manual process when the server reboots15:48
compdocwhat does a minecraft server do? host players? or just your game?15:48
ghostnik11lotuspsychje, so when i run alsamixer it shows card but the chip section is blank15:50
drakonancompdoc, both im not sure i understand?15:51
drakonani wish there was just an easy way to put an a screen ./sh file in "startup"15:54
drakonanits already a container so... doesnt need a lot more isolation?15:54
drakonandoesnt even have sudo installed15:54
drakonanwell i take it back... but it's running as root i didnt have to enable it either15:55
blackflowdrakonan: write a proper systemd service unit file for it? do you need screen? can it be daemonized?15:57
drakonani dont think so... theres no a lot of info on it... then again i haven't had to really access the console directly (have used nohup before) but you cant let it run in the background itll just close out15:58
blackflowdrakonan: you can run it in foreground as a systemd service of Type=simple. I'm guessing, not sure what other obstacles there would be for doing so.15:59
blackflow(asked about daemonization because it would mean it's designed to be run as a daemon -- I have never run minecraft)15:59
drakonanblackflow, what makes it more confusing is this is the "new" version it's not the well known documented "java" version that is incompatible with the bedrock "phone" version16:00
drakonanbut it works fine if i put it in screen and detach in the container16:00
drakonanwas reading on this but its the java version, but i guess could prob do something similar with this one maybe... https://teilgedanken.de/Blog/post/setting-up-a-minecraft-server-using-systemd/16:01
drakonanthen again that is a lot of extra isolation for an already dedicated container?16:01
drakonancan you have a systemd service without needing to set up users in root?16:03
blackflowdrakonan: yes of course.16:03
drakonanthe container is already set up as an unpriveliged user on the main box16:04
blackflowdrakonan: what container btw?16:04
drakonanubuntu :)16:04
drakonan18.04 i believe16:04
blackflowI mean what containerization technology16:05
drakonanoh lxc16:05
drakonanproxmox16:05
blackflowso you have a full ubuntu installtion in that lxc?16:05
blackflow(with systemd as pid1?)16:05
drakonani... think so? bits taking up about 3gb16:06
drakonans/bits/its16:06
tgm4883That sounds like a no16:06
dspubexit16:06
dspubsorry16:07
drakonani dont have rc.local so i just assumed it was using systemd? no gui though and its a pretty minimal instal16:07
drakonansystemctl is there16:07
blackflowdrakonan: well I'm not sure exactly what kind of setup you have there, but my point is you don't need screen. you can set up lxc to exec the java process as the first process, and then you can use systemd on the host side to manage the container service16:08
blackflowalternatively, you run LXC similarly to a "virtual machine", which behaves like a fully (isolated) OS environment (without the kernel of course), which means you have (systemd) process management inside the lxc16:09
blackflowthen you set up the systemd service unit for minecraft inside the lxc filesystem16:09
drakonanyeah i think that is how its set up... since the host i think is based off of debian but this is an ubuntu os16:09
blackflowdrakonan: what I'd do, I'd remove the complexity of an LXC and run java on the host directly, with a proper systemd service not unlike the one you see in that blog, which adds namespacing and container-like protection/isolation to the service.16:11
drakonanwell the host os is hypervisor so you cant really without frankensteining it add anything in there its proxmox16:12
drakonanwith vm / container commands, so i just added this container as ubuntu and it looks like it has systemd in it i see a lot of services in there i guess i just need to set up a simple systemd service as root16:13
blackflowdrakonan: I see. but then the question is whether you need to run that container in a "VM-like" fashion (start systemd as pid1 inside it, and all the regular OS services etc...), or just force that one java process. depends on many questions on how you want to use it and access it, I suppose.16:14
SaintRapscallionhelllllp, where can i find info on why my rig won't wake from sleep? I've already tried disabling nouveau16:14
drakonanblackflow, i think i can just treat this ubuntu as a "thin vm"16:15
drakonanas long as there isn't some kind of kernel incompatibility16:15
=== T4P4N_ is now known as T4P4N
drakonanUSER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND16:16
drakonanroot         1  0.0  0.2  77356  8464 ?        Ss   14:57   0:00 /sbin/init16:16
drakonanroot        43  0.0  0.2  78304 10228 ?        Ss   14:57   0:00 /lib/systemd/systemd-journasystemd+16:16
blackflowdrakonan: sure, in whic case set up the systemd service inside the LXC16:17
blackflowdrakonan: doesn't hurt to use all the protections as listed in that blog's service file. security is all about layers.16:18
drakonani just didnt want to add a lot of complexity if it was going to be a special purpose container anyway... if i have anything else i want to do in ubuntu will spin off another container16:18
drakonanlike that anyway since you can have separation of concerns and reboot each individually with minimum resource usage16:19
blackflowdrakonan: running a proper systemd service is LESS complexity than running a java program under screen16:19
drakonanwell its not java this is the new version not sure what its based off, its just a binary with an environment command for the working directory16:20
TJ-drakonan: I only just came in so may be misssing sone context, but have you considered "systemd-nspawn --as-pid2 ..." which puts a simple stub init into the container as PID1 and runs your command as PID216:21
ZurnHello, I've been on here a few times over the weekend trying to configure some basic things on my system.. those things worked for a short period of time but now i have a much bigger problem - my system wont boot up! Takes me directly to the grub screen. I believe it hasnsomething to do with the external harddrive i was trying to configre, and now the system doesnt know how to find the internal HD.16:21
Zurnthe iro16:21
TJ-Zurn: oops :)16:21
TJ-Zurn: is the broken PC at the GRUB shell right now?16:22
Zurnthe irony/fear is that i was trying to give permissions to the external hd so i can back up my files before upgrading... so i dont have my files backed up16:23
ZurnTJ: yes it is16:23
TJ-Zurn: good. I can talk you through getting it to boot if you can give me accurate feedback on what you see :)16:23
TJ-Zurn: is the prompt "rescue>" ?16:24
drakonanTJ-, i think i will need to do some learning before i can fully digest what you have said :)16:24
ghostnik11lotuspsychje, guess what the issue is!!! its been looking at the wrong card the whole time!!! unbelievable!!! i spent more than 48 hours on this and to find out that its that. blows my mind. the only problem is the system keeps defaulting to the wrong card. how can i change that16:24
drakonanTJ-, although that may be something that is already being done in proxmox to make my container?16:25
TJ-drakonan: :) ... it's a nice way to run a single process in a container and still have child processes correctly reaped (which is one of several requirements of any process that is PID 1)16:25
ghostnik11lotuspsychje, the correct card is: bytrt5640 but my system keeps pushing bychtry-564016:25
ZurnTJ: The options are ubuntu (low latency), ubuntu, advanced options for ubuntu, and system setup ....i should also mention now that this distro is ubuntu studio 16.0416:26
drakonanTJ-, oh ok i dont think i have an advanced enough setup sounds like a possibly container compatibility scenario that that would be addressing?16:26
TJ-Zurn: Oh, you're further in than I expected. If you're seeing the GRUB menu that means all of GRUB worked fine16:27
TJ-Zurn: So I assume the problem is when you choose a boot entry from the menu it doesn't start, but returns to the GRUB boot menu?16:27
drakonanoh ok i see basically not using lxc... that is ok im going to i guess try and make the most basic systemd service in the container16:28
RaptorJesusso since sharing is caring, i believe adding nouveau.modeset=0 to /etc/default/grub fixed my sleep mode problems because I use the nvidia proprietary drivers.16:29
TJ-drakonan: the --as-pid2 is a nice mid-way between a full OS container with the full init system, and a docker/lxc type container that has not init system. It avoids needing to provide special init plumbing yourself, or having a 'heavyweight' container root-file-system16:29
ZurnTJ: yep, that's it, either that or it gets stuck on the spinny wheel ubuntu studio screen16:29
ghostnik11how can i tell my system to select a different card. it keeps selecting bytchr-5640 but needs to choose bytrt-564016:30
TJ-Zurn: Oh, so you can even get Linux to start to boot then, if you see the splash-screen spinner. Does the default GRUB entry take you to the splash-screen/spinner?16:30
=== SimonNL is now known as SimonNL_Afk
TJ-ghostnik11: What is a 'card' in your context?16:30
ghostnik11TJ-, the sound card on the device16:30
TJ-ghostnik11: So the system has two sound devices? Or is it the wrong driver being used for a single sound device?16:31
ZurnTJ: yes, then when it press the power button it goes to emergency mode, and has some lines about /dev/sda2, which is th externl HD Iwas trying to give permissions to16:31
ghostnik11TJ-, wrong driver being used16:32
ZurnTJ: it gives me to option to ctl-d to continue, which i hvent dones yet for fear of further messing things up16:33
TJ-Zurn: Right now are there multiple disk-drives connected then? Because it sounds to me as if you may have a hard-coded path instead of using UUIDs or Labels to refer to the root device16:33
TJ-Zurn: OK, here's a way to work around that to get it to boot. Get to the GRUB menu, highlight the 'default' entry, press 'e' to edit it. Navigate down to the line starting "linux ..." and at the end add "break=premount" then press Ctrl+X to boot with that change. This will cause Linux to drop to a initialramfs busybox shell where we can figure out the correct root= value16:34
ZurnTJ: yes, i definitely messed with some uuid related thing yesterday.. i dont hve the external drive connected no, only then internal ones16:35
TJ-ghostnik11: I cannot see any driver with the name 'bytchr' or variation of that16:36
ZurnTJ: did that,  stuck on splash screen now16:37
TJ-Zurn: you can tap the Esc key to hide the splash and see the console, but it should have dropped to the busybox shell almost immediately16:38
ZurnTJ: its taken me back to emergency mode16:39
TJ-Zurn: you did Ctrl+X to boot with the change you added ?16:39
TJ-Zurn: because it would never reach emergency mode if that is done correctly - if it is booting Ubuntu anyhow16:40
TJ-Zurn: if you've got emergency mode that means the OS found and is using its root file-system, which implies root= is correct16:42
ZurnTJ: i've tried a few times and it keeps taking me to emergency,16:43
TJ-Zurn: which Ubuntu release is installed?16:44
ZurnTJ: should i press ctl-d to continue?ā€¦ ubuntu studio 16.0416:45
TJ-Zurn: hold off for now, let's investigate16:45
TJ-Zurn: let's look for some warnings/errors first: Try "journalctl -b -p warning"16:45
TJ-Zurn: you will likely see a few but you're looking for indications there are problems with the file-system, or finding files16:46
ghostnik11TJ-, okay the name of that driver is bytcr-rt564016:48
TJ-ghostnik11: I cannot find any mention of that in the Linux kernel source, or as a web-search16:48
ZurnTJ: the lines in red say "tpm error" and "timed out waiting for device dev-disk-by....."16:49
TJ-ghostnik11: aha, found it: snd-soc-sst-bytcr-rt564016:49
ghostnik11TJ-, yeah that thiing is telling my system to use bytcr-rt564016:50
TJ-Zurn: right, the timed out is the clue I think. My guess is there is some entry in /etc/fstab that points to the removed disk16:50
ZurnTJ: yes that sounds exactly right16:50
TJ-Zurn: do "cat /etc/fstab" see if you can asociate the dev-disk-by... with a mountpoint16:50
ZurnTJ: is there something i have to type to allow me to enter commands agajn?16:51
ZurnTJ: just have the blinking cursor now.... i could also restart16:52
TJ-ghostnik11: found the module name eventually, it's snd-soc-sst-bytcr-rt564016:52
TJ-Zurn: if you're still looking at the journalctl output, it's feeding through the system pager 'less' so 'q' (quit) should return you to the shell16:53
TJ-ghostnik11: I do not see any other modules with a similar name as you mentioned earlier "the correct card is: bytrt5640 but my system keeps pushing bychtry-5640"16:55
ghostnik11TJ-, then how come the asound.state file works with bytrt5640 and not bytchr564016:56
ghostnik11TJ-, when i run alsactl restore, it undone what i did to change the asound.state file to use bytrt564016:57
ZurnTJ: right yes.... so it has some lines about my harddrives... looks like it thinks the files system is on /dev/sda2 (external hd) and knows the boot is on sda116:57
=== lotuspsychje_ is now known as lotuspsychje
Deihmosdoes ubuntu have built in backup and restore16:57
ghostnik11TJ-, here it says it here: https://bugzilla.kernel.org/show_bug.cgi?id=8658116:57
ubottubugzilla.kernel.org bug 86581 in Sound(ALSA) "Baytrail-T: there is no sound with ASUS T100TAF" [Blocking,New]16:58
ghostnik11TJ-, brian loften says that t100_B.state is what is correct for asus t100taf16:58
TJ-Zurn: what is the device-name for the currently booted file-system. Do "mount | grep ' / '  "16:58
lotuspsychje!backup | Deihmos16:58
IniGithi16:58
ubottuDeihmos: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup and !cloning16:58
lotuspsychjewelcome IniGit how can we help you?16:58
IniGitcan I ask a mdadm questions here?16:59
lotuspsychjeIniGit: if its ubuntu related sure16:59
IniGitlotuspsychje: Not specificly Ubuntu related more genericly Linux I guess16:59
IniGitI have a question about the superblocks17:00
lotuspsychjeIniGit: try ##linux then mate17:00
IniGitlotuspsychje: ok thx17:00
ZurnTJ: "/dev/sda1 on /boot/efi type vfat..."? that's the only line that says boot in it17:01
TJ-Zurn: that's just the UEFI system partition. you need to identify what the current root file-system is, which the command I gave should report17:05
TJ-ghostnik11: right, digging further I see there are two 5640 modules: snd-soc-rt5640  and snd-soc-sst-bytcr-rt564017:06
ZurnTJ: "/dev/sda2 on / type ext 4"17:07
ZurnTJ: sorry i didnt space out those apostrophes properly17:07
ZurnTJ: (when i typed in the initial command)17:08
ghostnik11TJ-, yeah how can i force my system to use snd-soc-rt564017:08
TJ-ghostnik11: unload the incorrect driver and load the correct one ("sudo modprobe -r <module-to-unload>" and "sudo modprobe <module-to-load>" ) -- if that proves it works then you set a blacklist to prevent the wrong module being loaded17:10
TJ-Zurn: OK, so /dev/sda2 is correct since it has been mounted, so there is some other entry in /etc/fstab that cannot be foun#17:11
ghostnik11TJ-, and that module would be snd-soc-rt564017:12
ZurnTJ: just to be clear, /dev/sda2 is my external HD that's not plugged in17:12
TJ-Zurn: no, it is not. That file-system is currently mounted according to the results of the 'mount' command17:13
TJ-Zurn: 'sda' is the first discovered SCSI device at boot time17:13
ZurnTJ: oh right... maybe the external hd was called /dev/sdb1 and i'm just remembering it wrong...anyways moving on..17:16
TJ-Zurn: When the OS starts, systemd reads /etc/fstab and for all entries not marked "noauto" it mounts them. The error you reported earlier "timed out waiting for device dev-disk-by..." tells us that an entry there cannot be found so the system drops to the emergency shell. So did you add anything to /etc/fstab ?17:17
drakonanok so im trying to set up my first systemd service...  and apparently to stop the server i need to send the command stop via the "console" that the server creates ie inside the interactive "service console" surely there's a better way to ask that question but is that supported / douable without having to "kill" the process?17:19
ZurnTJ: ya i definitely messed with /etc/fstab yesterday...with guidance of someone in this IRC... i think might have commented out a line17:20
ghostnik11TJ-, i found it using find /lib/modules/$(uname -r) | grep snd17:21
TJ-Zurn: to fix the issue you've got to identify the incorrect entry and at the minimum add  'noauto' to the 'options' column (which usually has 'defaults')17:21
TJ-Zurn: are you able to photograph the /etc/fstab and upload that, if you're unable to spot the bad entry?17:22
ghostnik11TJ-, but now can i just copy entire line for the bytrt564017:23
TJ-!paste | Zurn17:23
ubottuZurn: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:23
ZurnTJ: http://imgur.com/HNjQO9N17:28
ioriaTJ-, Zurn   I helped him  yesterday night to mount r/w an hfs external partition; he had a line not coherent with blkid and i made him to comment it  (the last one); fstab :   https://termbin.com/3skn   blkid : https://termbin.com/z9lu  ; but now i see it not commented anymore17:29
ioriaZurn, why ?17:31
Zurn_TJ: sorry i accidentally left the chat... is that the right screen?17:31
ghostnik11TJ-, okay i actually don't see the module for bytrt5640, where did you see it17:31
TJ-ioria: thank-you! Zurn_ that explains it, you've got a line referencing /media/zurn/spacecase which needs "noauto," prefixing to the list of mount options ("rw,uid=1000,...")17:33
ioriaZurn_,    I made you comment that line ....  but now i see it's not commented anymore17:33
TJ-ghostnik11: I have you the module names earlier17:33
Zurn_ioria: hi ioria....i'm not sure, i may have further messed with things when i tried turn off journaling from my old mac (that was the las thing i did).... unfortunately the fix we did yesterday withthe external hd only last ten min or so17:33
G3ph4zcan anyone help me with sed?17:33
TJ-ghostnik11: from earlier: there are two 5640 modules: snd-soc-rt5640  and snd-soc-sst-bytcr-rt564017:33
lotuspsychjeask your question to the channel G3ph4z so volunteers can read17:33
G3ph4zYou're right. so I have this part in my script: sed -i "s/v_a_l_a_m_i/$CERTIFICATE/g" tesztfile17:34
G3ph4zand I get this error: sed: -e expression #1, char 42: unterminated `s' command17:34
Zurn_;TJ: okay... how do I edit that line?17:34
ioriaZurn_,   1) why did you comment out that line ?  2) you left and i had to time to explain that ubuntu automount external device; so you probably re-plug the drive but forgot to mount under /mnt/mymac17:35
=== SimonNL_Afk is now known as SimonNL
TJ-G3ph4z: presumeably "echo $CERTIFICATE" has / characters in, so replace / in your sed command with commas , as in: "sed -i "s,v_a_l_a_m_i,$CERTIFICATE,g" tesztfile"17:35
ioriaZurn_,   first we fix the boot; then we try to chown the automount point : can you boot in recovery mode ?17:36
Zurn_TJ: I'm still here btw... that was justthe old me that?17:36
ghostnik11TJ-, yeah but i didn't see that module when i ran the earlier comand,i see the snd-soc-sst-bytcr-rt564017:36
TJ-Zurn_: check the root file-system is read-write mode first with " mount | grep ' / ' " and ensure you see 'rw'17:36
G3ph4zTJ-, Thanks, but it doesn't work, I still got this error: sed: -e expression #1, char 42: unterminated `s' command17:37
Zurn_TJ: i'm still here btw... that was the old me that just quit17:37
G3ph4zThe $CERTIFICATE supposed to be an CA certificate.17:37
TJ-ghostnik11: maybe it's a recent addition to the kernel; I'm using 5.0-rc2. What kernel version are you working with ("uname -r")17:37
TJ-Zurn_: I know; I aimed a message at you above17:37
TJ-ioria: thank-you! Zurn_ that explains it, you've got a line referencing /media/zurn/spacecase which needs "noauto," prefixing to the list of mount options ("rw,uid=1000,...")17:37
EoflaOEMe too TJ-. We both use 5.0-rc217:37
=== Mr_Pan is now known as Guest72280
ghostnik11TJ-, nope never mind i found it. it is: /lib/modules/4.15.0-43-generic/kernel/sound/soc/codecs/snd-soc-rt5640.ko17:38
ioriaZurn_,   you need to edit /etc/fstab again ;  can you boot in recovery mode ?17:38
TJ-ghostnik11: which is what I said :D17:39
Zurn_ioria: sorry, i'm on a tablet and its very messy.... yes i'll try that17:39
TJ-ioria: we're in emergency mode so can edit it17:39
B_RADhey #ubuntu - maybe more of a noob linux question than something ubuntu specific, but if i'm seeing an entry in /etc/fstab, but the same isn't listed by mount, it's safe to assume that that file system is not mounted?17:39
ghostnik11TJ-, okay so now i need to run the other command to kill the current module being use17:39
Zurn_TJ: yes it says rw17:40
ioriaZurn_,   TJ- ok,   so add 'noauto' or comment that last line17:40
TJ-Zurn_: if the system is in 'rw' mode you can do "sed -i 's/\(.*spacecase.*\)/#\1/' /etc/fstab  "17:40
lotuspsychjeB_RAD: pastebin your fstab to the channel please, volunteers can take a look for you17:40
TJ-Zurn_: this command will comment out the line so on reboot the system should not stall17:40
B_RADi likely can't. on a pentest right now17:40
B_RADi can paste something like it. :)17:40
B_RADgimme a sec- i'll redact some stuff.17:41
ghostnik11TJ-, will this command work sudo modprobe -r /lib/modules/4.15.0-43-generic/kernel/sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.ko to remove it17:41
lotuspsychjeB_RAD: we can only support vanilla ubuntu here17:41
B_RADthis is vanilla ubuntu as far as I can tell17:41
lotuspsychjeB_RAD: are you entering your existing ubuntu system with the pentest ?17:41
B_RADi don't follow the wording of that.17:42
TJ-ghostnik11: no, as I said earlier you just give the module name17:42
B_RADI have a shell on a Ubuntu host. My personal box is Kali17:42
TJ-ghostnik11: "snd-soc-rt5640"  "snd-soc-sst-bytcr-rt5640"17:43
Zurn_TJ: okay did that,should i restart now?17:43
ghostnik11TJ-, oh i thought it was harder than that17:43
TJ-ghostnik11: :D17:43
lotuspsychjeB_RAD: allright17:43
TJ-B_RAD: no it's not safe, it may be mount is using mtab. Safest is to "cat /proc/mounts" AND hope you're not inside a namespace that hides mounts17:44
B_RADanyway ~ fstab entry in question is as follows: /dev/sdb5 /var/log/logdir1       ext2       user,noauto,rw,exec,suid,user_xattr        0       217:44
TJ-B_RAD: but also ensure /proc/mounts hasn't had something over-mounted on it to fool you17:44
ghostnik11TJ-, now its telling me when i try to remove it module no found17:44
TJ-ghostnik11: that means that module isn't loaded. Did you do "lsmod | grep 5640" to check?17:45
TJ-Zurn_: yes, try a reboot17:45
Zurn_TJ: is there a command line i should enter,or just hold down the button?17:46
B_RADhmm. not seeing it in /proc/mounts either17:46
TJ-Zurn_: you may not need to reboot, let me check17:46
B_RADmust not be mounted then?17:47
B_RADdf -aT doesnt list it either17:47
ghostnik11TJ-, https://paste.ee/p/evbeX17:47
TJ-Zurn_: no need to reboot. If you've edited /etc/fstab (check it is now correct with "cat /etc/fstab") then you can do "systemctl daemon-reload" and it should get on with things17:48
Zurn_TJ: yep, the line is commented now... tho that reload command didnt do anything17:50
TJ-ghostnik11: so the *sst-* module depends on 'snd-soc-rt5640' so you cannot unload 'snd-soc-rt5640' without first unloading 'snd_soc_sst_bytcr_rt5640' first. So your presumption you use one or the other is incorrect, one depends on the other17:50
TJ-Zurn_: it did. Press Ctrl+D or type "exit" and it /should/ complete boot :)17:50
TJ-Zurn_: 'daemon-reload' reran the system generators, one of which reads /etc/fstab17:50
ghostnik11TJ-, ah,this little device. why is it so hard to get the sound working normally17:51
ghostnik11TJ-, the thing is, the sound has always worked by me just doing the adjustment with the asound.state file, so i don't get why this isn't functioning all of a suden in 18.0417:52
Zurn_TJ: BINGO! ya looks like we're all good here now...so in future i wont mess with /etc/fstab...i think i might just buy a new external hd that isnt formatted to mac17:52
Zurn_TJ: thanks a lot17:53
Zurn_ioria: thanks for helping again!17:53
B_RADTJ-: from all angles that I can tell with this user, it isn't mounted17:53
TJ-Zurn_: you can refer back to what ioria recommended so it works correctly, using 'noauto'17:53
TJ-Zurn_: The current entry though seems wrong in setting the path to /media/zurn/.... - that path is used by udisks which auto-mounts devices when they're connected17:54
Zurn_TJ: you mean to the spacecase line in /etc/fstab? do i add noauto to the end of the line?17:54
TJ-Zurn_: and udisks does not need any fstab eentry17:55
TJ-Zurn_: I think ioria knows what you're trying to achieve better than I, and as I have to go for a while, best to chat to ioria17:55
ioriaZurn_,  please, plug the external drive  and paste 'mount'17:55
ghostnik11TJ-, can't i just tell the system to use the asound.state file17:56
ghostnik11TJ-, and to only use it, without overwriting it17:56
Zurn_ioria: okay, just gonna leave the chat and enter again on my computer17:56
B_RADhmm. is it weird that mount is a SUID binary but when I attempt to mount anything I get 'mount: only root can do that'?17:57
ioriaZurn_,  take your time17:57
=== mr-pan is now known as Guest94013
Zurnioria: so yu asked to turn on the external hd and type 'mount'?17:58
ioriaZurn_, plug the drive and   run    mount | nc termbin.com 9999  , yes17:58
Zurnioria: https://termbin.com/pjdu17:59
courrierWhy can't we find the list of packages of some old versions here? https://packages.ubuntu.com/ e.g. Vivid is not there17:59
ioriaZurn_, ls -l /media/zurn/spacecase  | nc termbin.com 9999  , yes17:59
lotuspsychjevivid is end of life courrier17:59
=== Guest94013 is now known as Mr_Pan
Zurnioria: I likely messed things up further when I tried following these directions after it stopped working again: https://help.ubuntu.com/community/hfsplus18:00
=== TheMesquito is now known as CodeLyoko
=== CodeLyoko is now known as SailorMoon
courrierI know lotuspsychje, but isn't there any trace of the packages?18:00
=== SailorMoon is now known as TheMesquito
Zurnioria: I get: ls: cannot open directory '/media/zurn/spacecase': Permission denied18:00
ioriaZurn_, sudo ls -l  /media/zurn/spacecase  | nc termbin.com 999918:01
lotuspsychjecourrier: what exactly are you trying to do?18:01
Zurnioria: https://termbin.com/wu52p18:02
courrierlotuspsychje: I'm looking for the latest version of Ubuntu providing package libpanel-applet-4-0 in order to help fixing a memory leak18:02
courrierlotuspsychje: see https://github.com/mate-desktop/mate-applets/issues/345#issuecomment-45793538618:02
lotuspsychjecourrier: and where comes vivid in this story?18:03
ioriaZurn_,    touch  /media/zurn/spacecase/mynewfile  should tell you permission denied or read-only fs18:04
Zurnioria: ya, it says permission denied18:05
ioriaZurn_,    sudo touch  /media/zurn/spacecase/mynewfile18:05
courrierlotuspsychje: libpanel-applet-4-0 is within trusty, but no more in xenial, so i'm just looking for the last version that provided this package, it might be vivid or another one, but none is listed18:05
Zurniorira: it says 'read only file system'18:06
drakonanwell ive almost got this crap working but may be having a delimiter issue in the systemd service file18:06
ioriaZurn_,   ok,  sudo umount /media/zurn/spacecase18:06
drakonanit works by hand by when i add it to the file the same command line isn't working18:06
drakonanim using ` and ' though18:06
drakonanIs that an issue?18:07
drakonanWell let me just stick them in a script and see if that helps18:07
Zurnioria: the solution we had yesterday only worked through nautilus...and it crashed..... could it be that this simply won't work with this computer (without some advanced configuration)?18:07
ioriaZurn_,   did you   sudo umount /media/zurn/spacecase ?18:08
lotuspsychje!info libpanel-applet3 | courrier can this also help?18:08
ubottucourrier can this also help?: libpanel-applet3 (source: gnome-panel): library for GNOME Panel applets. In component universe, is optional. Version 1:3.26.0-1ubuntu5 (bionic), package size 20 kB, installed size 163 kB18:08
Zurnioria: yepo18:08
Zurnioria: I mean... yep18:08
ioriaZurn_,   check 'mount' to be sure (lookat bottom)18:09
lotuspsychje!info libmate-panel-applet-4-1 | courrier18:09
ubottucourrier: libmate-panel-applet-4-1 (source: mate-panel): library for MATE Panel applets. In component universe, is optional. Version 1.20.1-3ubuntu1 (bionic), package size 28 kB, installed size 111 kB18:09
Zurnioria: yep, I don't see anything that suggests "spacecase" or "sdb1"18:10
courrierlotuspsychje: yeah, but compiling requires package libmate-panel-applet-4-0, while recent Ubuntu versions such as bionic provide libmate-panel-applet-4-118:10
ioriaZurn_,   /mnt/mymac still exists ?18:10
courrierAlthough the applet works on modern versions, 4-0 is required for the debbugging symbols18:10
Zurnioria: yes it does18:11
ioriaZurn, sudo mount -o force  /dev/sdb2 /mnt/mymac      and paste again   mount | nc termbin.com 999918:11
lotuspsychjecourrier: but the 18.04 version is 4-1, is 18.04 the system you trying to fix?18:12
Zurnioria: https://termbin.com/2mp718:12
ioriaZurn, good , now is read-write : ls -l /mnt/mymac   ?18:13
courrierlotuspsychje: yes, but manual compiling requires 4-0, so this is strange18:13
Zurnioria: that gives me 'permission denied'18:13
lotuspsychjecourrier: we dont really support own compiled packages, also its not reccomended to use lower package versions18:13
ioriaZurn, sudo ls -l /mnt/mymac18:14
Zurnioria: okay, looks like it mounted it, it's showing the HD contents18:14
ioriaZurn, sudo ls -l /mnt/mymac  | nc termbin.com 999918:15
lotuspsychjecourrier: also git issues, its best to discuss with the maintainer of the git18:15
lotuspsychjecourrier: normally if you find a bug in the official ubuntu/packages its reccomend to file a !bug here18:15
courrierlotuspsychje: I'm not using it. There's a memory leak in some 18.04 applet, and we're trying to compile it so that we can valgrind it18:15
Zurnioria: https://termbin.com/ugvd18:16
courrierBut compiling requires 4-018:16
courrierHence my question18:16
ioriaZurn, can you wtite to it ?18:17
ioria*write18:17
G3ph4zAh, I am literally stucked. I have one certificate in string variable and I have to replace in other file a word into that certificate.18:19
Zurnioria: no, it says I don't have permission18:21
Zurnioria: destination is read only18:21
=== dewwii is now known as deww
ioriaZurn,    mount | nc termbin.com 999918:23
Zurnioria: https://termbin.com/wbtv18:23
Deihmoswhat does -y at end of a command mean? can't find it anywhere18:24
ioriaZurn,   well, mount tells  is  'read-write ' (rw);   sudo umount /mnt/mymac18:24
ioriaZurn,   you need to umount it18:25
Zurnioria: yep did that18:25
ioriaZurn,   sudo fsck.hfsplus -f /dev/sdb218:26
Zurnioria: says the volume was repaired successfully18:28
ioriaZurn, sudo mount -o force  /dev/sdb2 /mnt/mymac18:28
Zurnioria: yep did that18:29
ioriaZurn, sudo ls -l /mnt/mymac  | nc termbin.com 999918:29
Zurnhttps://termbin.com/hs8f18:29
ioriaZurn, try to create a file18:30
ghostnik11TJ-, can i try to uninstall pulseaudio and then reinstall it18:31
Zurnioria: yes, it lets me create files and folders just not copy them onto it18:31
ioriaZurn, you mean you cannot copy a file from your home to /mnt/mymac ?18:32
ghostnik11TJ-, okay you won't believe this so i just clicked on the sound. and all of a sudden i have audio and can test front right and front left but still have muted symbol and no sound comes when i try to play something from the browser using youtbe18:33
Zurnioria: no, it says "destination is read only"18:33
lotuspsychjeghostnik11: fixed now?18:33
=== paolo_ is now known as faLUCE
ghostnik11TJ-, lotuspsychje: i don't know whats going on. b/c all of a sudden now even a regular sound file works but the symbol is still muted in18:34
ghostnik11TJ-, lotuspsychje how can i use a log to follow this b/c i feel like i am going crazy18:34
ghostnik11lotuspsychje, i will paste a imagebin18:35
lotuspsychjeghostnik11: tail -f /var/log/syslog while you fool around with sound18:35
lotuspsychjeghostnik11: how come you got 2 soundcards in your system?18:35
ioriaZurn, are you coping the file from terminal or with a filemanager ?18:35
ghostnik11lotuspsychje, could it be b/c i have opened all at the same time, alsamixer, pavucontrol and sound from regular system18:36
lotuspsychjeghostnik11: no, sound must just work18:36
ghostnik11lotuspsychje, we just spent more than 48 hours you, and TJ- plus others who are probably resting. and we couldn't get it. its not just by luck!! i want to know what happened b/c i think this is just a fluke right now. i am scared to shutdown and reboot b/c i think it wont work18:37
Zurnioria: i'm using the GUI18:38
ioriaZurn, from terminal :   touch  ~/anotherfile    and   cp  ~/anotherfile  /mnt/mymac18:39
lotuspsychjeghostnik11: why do you have 2 soundcards in system?18:39
ghostnik11lotuspsychje, i don't know!! i feel like i have lost so much sleep trying to fix this thing and now i can't make what to get from it suddenly working even though it shows its not functioning18:40
Zurnioria: yes it worked!18:40
ghostnik11lotuspsychje, also the log that you told me to run doesn't show anything but nautilus logs18:40
Zurnioria: so I just have to use terminal for this... that's okay, I need practice with it anyways18:40
ioriaZurn, ok, so the problem is the GUI; do you have gksu installed ?18:40
Zurnioria: not sure about gksu18:41
ioria!info gksu18:41
ubottuPackage gksu does not exist in bionic18:41
ioria!info gksu xenial18:41
ubottugksu (source: gksu): graphical front-end to su and sudo. In component universe, is optional. Version 2.0.2-9ubuntu1 (xenial), package size 50 kB, installed size 456 kB18:41
ioriaZurn, sudo apt install gksu18:41
Zurnioria: okay did that18:42
ioriaZurn, gksu nautilus18:42
ghostnik11lotuspsychje, okay so i need to find a way to at least to keep it this way since its working and also, how can i eliminate one of the sound cards18:42
lotuspsychjeghostnik11: check your bios18:43
Zurnioria: yep did that (a reminder that I'm in ubuntu studio 16.04 which doesn't use nautilus)18:44
ghostnik11lotuspsychje, okay so yall believe me, look at the image. in top right it shows the sound symbol crossed out but sound is playing as we speak18:44
ghostnik11lotuspsychje, https://imagebin.ca/v/4UyxsFQc5DQ518:44
ioriaZurn, so now you are using nautilus as superuser, then pay attention at what you do; try to copy a file from your home to /mnt/mymac18:45
ghostnik11lotuspsychje, also the bios won't show anything, remember this a 2 in 1 tablet/pc18:45
Zurnioria: yes this works, I can copy a file in the nautilus gui from my home to /mnt/mymac18:45
lotuspsychjeghostnik11: is that a lenovo?18:46
ioriaZurn, you can see that the procedure is a bit complicated by now; 1) automount not working when you plugin the device 2) you need to umount it 3) you need to remount with -o force option in a new mountpoint (/mnt/mymac) 4) you need to use nautilus as superuser18:47
ghostnik11lotuspsychje, i wish!! its asus t100taf its old and has a baytrail cpu. the problem is because for reasons unknown to us they tied a 32 bit efi to a 32 bit 64 os so problems come up b/c of that when you install a better os like linux onto a windows 2 in 1 tablet/pc18:48
ioriaZurn, can you remember all of that ?18:48
lotuspsychjeghostnik11: crossed symbol? i hope you dont mean close hexchat X ?18:48
ghostnik11lotuspsychje, no, the symbol between the bluetooth symbole and battery indicator18:49
ghostnik11lotuspsychje, its slashed out with one line18:49
ZurnI think I can, I'll keep a record of everything18:49
lotuspsychjeah yeah i see it18:49
lotuspsychjeghostnik11: anything happens when you click it?18:49
ioriaZurn, ok18:49
Zurnioria: you enter nautilus as super user by typing "gksu nautilus"?18:50
ioriaZurn, yes, but you can also run simply  gksu and enter 'nautilus' in the box18:50
ghostnik11lotuspsychje, when i click it i get a volume gage which i have increased but before that did nothing and sound would not work but now, all of a sudden i have sound18:50
ioriaZurn, the last is probably better18:51
Zurnioria: okay... and the mount line I use is: sudo mount -o force  /dev/sdb2 /mnt/mymac18:51
ioriaZurn, yes18:51
ioriaZurn, but the first is the most important  sudo umount /media/zurn/spacecase18:52
lotuspsychjeghostnik11: maybe its because one of the sound cards is disabled now? check your sound properties?18:52
Zurnioria: yes, so first run the umount line, then the mount line, the gksu18:52
ioriaZurn, yep18:53
Zurnioria: gottit, thanks a million18:53
Zurnioria: now to fix the d-bus jack problem... but first must run some errands :)18:53
ioriaZurn, your welcm18:54
Zurnioria: actually, one more question... I remember now that it crashed when I tried to empty the external HD trash bin18:55
Zurnioria: how can I empty the trash?18:55
ioriaZurn, no idea, try to access it from terminal18:55
Zurnioria: okay, I'll look into how to do that...18:55
zezuz_@search wonder palacio18:59
=== wolfheart_ is now known as rainbowwarrior
IniGit"dd: error writing '/dev/sdg': No space left on device. It's fine, `dd` just doesn't know where's the end of the device, so it stops when it can't write more. huh, so all these `/dev/zero`s went to RAM, then `dd` printed that no space left, and *only then* the kernel actually started dropping the caches". How do I stop dd writing to RAM?19:09
IniGitctrl+c does not work19:09
tomreynIniGit: what's the command you ran?19:15
wolfheart__ /msg nickserv ghost rainbowwarrior19:15
=== wolfheart__ is now known as rainbowwarrior
bmx10hi19:16
IniGittomreyn: sudo dd bs=1M status=progress if=/dev/zero of=/dev/sdX19:16
IniGitsry I used urandom19:16
tomreynIniGit: your udev managed, RAM-backed, tmpfs at /dev has likely run full19:17
IniGitSomebody told me it will stop when RAM is full and another post on stackoverflow says it will write forever to that drive until stopped19:17
tomreynls -la /dev/sdX19:17
IniGithttps://stackoverflow.com/questions/33360920/dd-command-error-writing-no-space-left-on-device19:18
IniGitthat is the post I found on stackoverflow about the topic19:18
IniGityou mean run that ls command?19:19
tomreynyes, does it show a block special device or a large file?19:19
IniGitbrw-rw---- 1 root disk 8, 112 JƤn 27 20:09 /dev/sdh19:19
tomreynso it actually wroite to the device, good.19:20
tomreynif the target had been a symlink (such as dmsetup would create in /dev/mapper ) you'd have ended up with a large file replacing the symlink19:21
tomreynuse dd with oflag=sync to write directly to the target19:23
IniGitok19:23
=== dan_ is now known as Guest43119
alexgrhi! how do I type characters from alternative keyboard layouts after switching to that layout?19:28
alexgrusing 18.0419:29
tomreynby shortly pressing, then releasing the button19:29
alexgrhaha19:30
alexgrno, I mean it19:30
alexgr"Show Keyboard Layout" shows me each key has 2 characters associated to it, how do I type the secondary?19:30
tomreynthere will be some modifier involved, usually shift19:31
alexgryeah, that's what I thought, I just can't find it19:31
tomreynif you'll describe which keyboard model you have and which layouts you mapped to them then someone may be able to provide a meaningful response.19:33
tomreyns/them/it/19:33
alexgrI'm sure there is a more general answer to my question19:34
queskerwhy is there a /boot/grub/menu.lst?  this is grub2 right?  18.04.1 LTS19:35
queskerwhy does grub-mkconfig -v say unrecognized option -v then goes on to say  -v, --version           print the version19:36
quesker(it works fine on other linux)19:37
OerHeksquesker, there is no standard /boot/grub/menu.lst, so tell us what you did on what linux version?19:39
blackflowquesker: because it's a bug, it should be -V, --version  in the help listing19:39
OerHeks!grub19:40
ubottuGRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub219:40
blackflow(it says one thing in the help listing, but actually parses of -V  (uppercase))19:40
OerHeksline 3 No /boot/grub/menu.lst. It has been replaced by /boot/grub/grub.cfg.19:40
queskerI downloaded 18.04.1 LTS and installed it and typed cat /boot/grub/menu.lst19:41
queskeran example line from that file:   title     Ubuntu 18.04.1 LTS, kernel 4.15.0-43-generic19:41
=== dan_ is now known as Guest9646
queskerI am just curious how ubuntu breaks things like that19:42
OerHekswe are curious about your install too, as /boot/grub/menu.lst is long time gone19:43
texlaubuntu 18.04.1..Can a program package be moved to a home folder19:43
queskerI downloaded from the ubuntu website ubuntu-18.04.1.0-live-server-amd64.iso19:44
queskerand installed from that19:44
drakonanAnyone know what is different inside a.sh that would make this not work? /usr/bin/screen -S minecraft -X stuff stop`echo -ne '\015'`19:44
murpheytest19:45
SlidingHorndrakonan: "not work" doesn't really tell us anything19:45
=== wolfheart__ is now known as rainbowwarrior
blackflowdrakonan: I'm still confused why you're forcing screen when you can have a regular, cleaner and simpler systemd service instead.19:46
drakonanSlidingHorn, i'm trying to send the command "stop<enter>" to a screen session to cause it to quit, it works from command line, but this commandline doesn't work from a .sh script, it works fine from command line19:46
drakonani wish i knew more19:46
iomarigreetings, I can't seem to find any information on how to setup 2 access points. Home and office.19:46
iomariusing netplan19:46
drakonanim trying to put it in a script so i can put it in a systemd script19:46
drakonanit doesn't work directly from the systemd service file so i thought maybe if i could get it to work in a script i could reference there... but i suppose the same issue is present inside the script19:47
drakonannot sure what is different from command line to .sh19:48
drakonanprobably for security sake its maybe a good idea not to have the middle place like that... but trying to break the problem up in to tinier problems to understand why it works over command line and not inside the script file19:48
drakonanblackflow, thats what im trying to do im making it a systemd service19:49
blackflowdrakonan: if you used that line literally, I don't think it would work, system unit is not a shell interpreter and you seem to have `` (backticks) expansion19:49
blackflowso yea, you can put that line in a script, make it executable and thenreference that script in the systemd service unit19:49
blackflow(though that line looks supsicious to me, you sure it's correct?)19:50
drakonanblackflow, yes its working to start it... but the stop script isn't working... but its reference the script which isnt working itself... however if i cat the file and copy the command it works perfectly19:50
murpheyI am having an issue using Ubuntu Mate 18.10 I have a tablet computer and have a script set up to change the screen orientation based on the accelerometer. when the screen orientation changes the bottom of the background cuts off and there is terrible screen ghosting/tearing when I drag windows. I made a black background and turned off the compositor for now and it isn't noticable but I'd rather have a proper19:51
murpheysetup than this terrible hack/workaround.19:51
drakonanthe reason why i need screen right now is i dont know how else to send to.. i guess... stdin stop<enter>19:51
blackflowdrakonan: does it respond to sigterm? most programs do19:52
drakonanit does but idk if thats safe19:52
drakonanif i type stop<enter> it says quit correctly19:53
blackflowdrakonan: if it responds to sigTERM then it is designed to. otherwise nothing woulod happen. note that's not sigKILL that instructs the kernel to headshot the process19:53
drakonanwhich again works fine command line... but the backtick expansion stuff maybe a problem in the script19:53
blackflowyou can't script typing "stop" and enter like that, that's interactive and similar to something like echo "stop" | <programname>     as it's via STDIN19:54
drakonanthat is what is nice about screen i can19:55
blackflowand this looks extremely convoluted. I'm willing to bet it's way simpler than that. really check if it shuts down normall when you send it a TERM signal19:55
blackflowdrakonan: meanwhile, did you look at that blog post and that program mcrcon, used to send commands to a running minecraft instance? it uses it in the ExecStop command of the systemd unit, to stop the service.19:59
drakonanblackflow, this isn't the java version of minecraft19:59
=== Euph0ria is now known as TabMasher
drakonanthat requires java... this version works on phones and windows 1020:00
blackflowdrakonan: minecraft is written in java. it's just that newer versions are bundling it so it doesn't look like you need it? am I wrong?20:01
drakonanno there are at least 2 fully incompatible versions of minecraft20:01
blackflowdrakonan: alright. so then check if it responds to sigTERM20:02
drakonanthing is... if i do that id have to i guess use nohup on the start20:03
drakonanscreen is nice because if i ever need to get to the console i can20:03
blackflowno, why?20:03
blackflowstart the minecraft instance, then try to send it sigTERM by PID20:03
drakonanbecause you cant load in the background if you use & it dies20:03
blackflowif it shuts down, then it means it responds to that, and you don't have to hack anything to send a "stop" command20:04
blackflowyou don't have to load it in the background20:04
drakonanim trying to do it in a script though... so id need to make a script i guess to grep for it?20:04
blackflowuse anotehr terminal to send sigTERM for the running PID20:04
drakonansystemd script*20:04
blackflowyou do not. if you find it responds to sigTERM, then systemd can easily manage the foreground process via Type=simple20:04
drakonani mean if i need to do from terminal that command already works i can just cat the script and run it but...  trying to make it work with systemd20:05
blackflowsending sigTERM is default systemd behavior20:05
blackflow(and pretty much any init before it, TERM is tried first and then KILL is sent if the process doesn't respond within preconfigured timeout period)20:05
drakonanblackflow, but if i start it from screen it'll be referencing the screen pid no?20:05
queskerweird, this doesn't show -v or -V, but if you build from source it takes -v, but ubuntu takes -V instead.  https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkconfig20:06
blackflowscreen is irrelevant. start the minecraft server in foreground. then in anotehr terminal (or anotehr screen view, doesn't matter), run ps and find its PID, then kill -s TERM <thatpid>20:06
blackflowdrakonan: if that works, then you don't need any script or screen or anything, systemd will manage the foreground process and will send sigTERM as service "stop" action20:07
drakonanOh ok20:07
drakonanJust stick type=simple in there?20:07
blackflowdrakonan: that's the default anyway. in this case (if the server responds to sigTERM), you don't need ExecStop, because default is to send the sigTERM to the running foreground process of the service.20:08
blackflow(otherwise yes,   Type=simple   in the [Service] section)20:09
texlaubuntu 18.04.1..Can a program package be moved or installed in a home folder20:13
sacardehi20:13
sacardeis possible to boot ubuntu dvd with wayland?20:14
drakonanblackflow, would that still work if its inside a script?20:15
sacardeubuntu 18.0420:15
drakonanyou have to set an environment variable as well when you start it20:16
drakonannot sure how else to do that20:16
sacardeas kernel parameter?20:16
drakonanLD_LIBRARY_PATH=. ./bedrock_server20:16
drakonanworks from command line / script but idk how to do in systemd20:16
drakonanim just referencin the script in systemd but it doesn't kill the server when i do stop that way20:17
blackflowdrakonan: Environment=  under [Service]   check the systemd.service manpage20:18
TheWildhello20:18
blackflowdrakonan: there's #systemd here on Freenode, they're better suited for systemd support20:18
TheWildI have some problem with gedit. I opened a non-UTF8 file and selected wrong encoding. Now every time I reopen the file, gedit doesn't ask - just assumes the encoding I selected previously.20:19
drakonanblackflow, excellent thank you very much i think that might be it now only thing is i just am worried if the shut down is safe... but20:26
drakonani guess if its sending TERM it should be doing it safely?20:27
drakonanbut it is working currently in systemd20:27
blackflowwhat do you mean by "safe"? if the program responds then it means it's been designed to respond.20:27
drakonanblackflow, just mean its flushing any changes back to the world20:28
blackflowdrakonan: test it? ;)20:28
drakonanim assuming they only have so long to respond hopefully its as long as windows allows should be plenty of time then :)20:29
blackflow(I meant responds to sigTERM and shutting itself down gracefully)20:29
QuickXXHello, Ubuntu newbie here. I wrote a bash script to change my Desktop Image (as an exercise) it works when I start it. But I wanted to add it as a boot script so it always runs when I turn on my computer. I did it with "crontab -e. When I search for it in "top"20:37
QuickXXit's running20:37
QuickXXbut it doesn't work20:37
VampierHopefully an easy question - I am running 18.04 and I have 2 Sony Sixaxis successfully paired. I am trying to force a disconnect if the controller hasn't been used for about 5 minutes. Would this be possible?20:37
QuickXXWhat could be the problem?20:37
Vampierdid you try to add it to .bashrc ?20:38
QuickXXVampier: Actually no. Isn't that the same thing as crontab?20:38
Vampierno... bashrc has all your settings and gets executed at boot20:39
blackflowno it doesn't20:39
ioriaQuickXX, id use gsettings command in Startup Application20:39
VampierI believe as one of the last steps20:39
blackflow.bashrc is sourced for non-login shells20:39
blackflowioria's advice is most sound -- use your DE's autostart facilities20:40
Vampiersorry blackflow is correct :) ignore me20:40
QuickXXioria: I tried that and I couldn't find my script in "top".20:40
ioriaQuickXX, gsettings set org.gnome.desktop.background picture-uri "file:///home/username/path/to/image.jpg"  ...  what is 'top' ?20:40
a__piasasasasa20:40
blackflowwhat exactly does that script do? does it require a xorg session?20:40
QuickXXioria: That's my bash script "gsettings ... " but it's a for loop to go over .jpg files in my Image folder.20:42
ioriaQuickXX, you mean you want randomize the background every boot ?20:42
ikoniaQuickXX: post your script please20:43
ikoniaQuickXX: and paste your crontab entry20:43
ikonia(use a pastebin please)20:43
QuickXXblackflow: Sorry I don't know what xorg means. The problem is: It works when I start it, but it doesn't when I add it to crontab.20:43
ioriaQuickXX, sy, i don't get why crontab20:43
aldcorhi! I am on ubuntu 18.04. Ubuntu wayland uses IntelĀ® Haswell Mobile. Since using it videos have zero screen tearing so its finally how it's suppose to be. But what exatcly that is?20:43
QuickXXioria: Top, lists all processes that are currently running.20:43
ioriaQuickXX, i know..... and what ?20:44
QuickXXikonia: Ok, just a minute.20:44
QuickXXioria: My script is there, so it's running. But nothing changes. And I wonder why.20:45
QuickXXioria: But when I start it, in my terminal, it runs ok.20:45
ioriaQuickXX, the script is a 'one shot' , not running in bg as a daemon20:45
QuickXXioria: Script is inf while loop. Just a minute, I'll post it.20:46
ggames_28hi20:46
EriC^^aldcor: wayland is the new display server, like Xorg but newer/different20:46
ggames_28so does anyone wanna play games or somethin20:47
ikoniaggames_28: no20:47
ikoniaggames_28: not that sort of channel, sorry20:47
aldcorEriC^^, and what is haswell mobile? Is that driver for nvidia?20:47
VampierHopefully an easy question - I am running 18.04 and I have 2 Sony Sixaxis successfully paired. I am trying to force a disconnect if the controller hasn't been used for about 5 minutes. Would this be possible?20:47
blackflowEriC^^: wayland is not a display server, but a protocol20:48
EriC^^QuickXX: crontab doesnt have a lot of the environment variables you usually have in a shell, set them in the script itself maybe20:48
QuickXXOk, here it is: https://pastebin.com/ufcPEL7S20:50
EriC^^aldcor: haswell mobile i'm guessing is the onboard graphics of the pc20:51
ikoniaQuickXX: that's not a great setup to run in cron20:51
ikoniait could be quite problematic depending on how often you tell cron to run it20:52
EriC^^aldcor: it's the internal stuff haswell is the generation like skylake etc20:52
QuickXXOk, is there another way to run it on boot. When I login in for example.20:52
EriC^^aldcor: and mobile means it's for the laptops i guess20:52
ioriaQuickXX, if it's an  endless loop, why cron  ?20:53
ikoniaQuickXX: there is a "desktop sessions" tool in gnome20:53
QuickXXioria: Because I heard that cron is for running scripts on boot. I guess I got it wrong.20:54
ikoniaQuickXX: that's not what cron is20:54
ioriaQuickXX, ubuntu 18.04 ?20:54
ikoniaQuickXX: and you don't want it on boot20:54
QuickXXikonia: I wanted to do it myself, as an exercise.20:54
QuickXXioria: Yes, 18.04.20:54
ikoniaQuickXX: I didn't ask why you did it20:54
EriC^^QuickXX: what line do you have in cron?20:54
ioriaQuickXX, i'd try Startup App20:55
QuickXXEriC^^: Just this: @reboot /home/vladimir/scripts/ChangeDesktopImage.sh20:55
ikoniaQuickXX: not going to work20:56
ikoniaQuickXX: try the desktop sessions tool20:56
ikoniaQuickXX: then also remove the while less than 2 and just leave it to "while true"20:56
ikoniaso it sits in a constant loop20:56
ioriaQuickXX, at boot, XServer is not loaded yet , so no need to start it at boot20:56
EriC^^QuickXX: yeah i'd use the desktop session tools, the reason is that that runs even if you don't login, so thinking about it it can't really access your user session to do the change i guess20:57
QuickXXikonia: Ok, thank you very much!20:57
QuickXXioria: Yeah, I kinda thought the same, but I'm new to all of this so I wanted to ask. Thanks20:57
EriC^^QuickXX: it might be better to use "$filename" in the script (with the quotes)20:57
albechomg spent 4+ hours getting my 18.04 to use a DNS pushed by openvpn and its still not working :( dont understand the reason behind the move to systemd and overcomplicating things that were working just fine. frustrating to be dealing with stuff that should just be working and has been for the past 10+ years. there are all kind of suggestions to hacks that should work, but they dont.20:58
ikoniaalbech: work the problem, can you manually use the dns servers while connected to the vpn ?20:59
albechyes i can dig right to them just fine21:00
aldcorEriC^^,  i have intel and nvidia. So haswell is related to intel?21:00
ikoniaalbech: so it has to be traffic routing then,21:00
EriC^^aldcor: yeah, i believe so21:00
ikoniaalbech: what does your routing table look like for the IP range they are on21:00
EriC^^aldcor: "sudo lshw -c video" should show the cards and drivers loaded21:00
albechikona: 172.16.24.0     10.255.4.1      255.255.248.0   UG    50     0        0 tun021:02
aldcorit shows both intel and nvidia.. so wayland uses both at the same time?21:04
ikoniaalbech: is that route valid ?21:05
albechikonia: yes, its valid. exactly the same route/config is working on my 16.04 notebook21:06
ikoniaalbech: what's the dns search path/order then21:08
=== miguel is now known as Guest91611
Guest91611I'm trying to connect to a windows share that allows anonymous file sharing entrance, yet ubuntu is asking me for a username and domain and password, my windows share is not part of a domain but if I don't put any domain info in ubuntu it wonb't let me even try connecting. what do I do?21:14
albechikonia: i am seeing some strange behaviour where in can dig at the internal dns for a few sec after i connect to the vpn and then it times out.21:21
Guest91611anybody there?21:25
IniGithi21:26
IniGitdoes somebody know why this is not working within /etc/udev/99-hide-disks.rules: ENV{ID_FS_LABEL_ENC}="UserData LUKS"21:26
IniGitmy LABEL of the LUKS container does not change21:26
IniGitthe full entry is ENV{ID_FS_UUID}=="a65026de-9521-468d-876d-87a0d34e4c1a",ENV{UDISKS_IGNORE}="1",ENV{ID_FS_LABEL_ENC}="Test LUKS"21:27
Guest91611same here no one got left here21:30
Guest91611I can't use browser on ubuntu 18.04 it crashes on my pentium 3 I heard is cause of the cpu is this a valid reason? I'm using irssi21:30
OerHeksjust be patient, if someone knows an answer, they will reply21:31
Guest91611does ubuntu mate works on i386 32bit cpus?21:34
Guest91611I can't use browsers to check21:34
Guest91611I'm gonna give links2 a try tho21:34
albechikonia: seems like its this bug im seeing: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/179926221:35
ubottuLaunchpad bug 1799262 in network-manager-openvpn (Ubuntu) "OpenVPN doesn't respect dns servers in settings" [High,Confirmed]21:35
SlidingHornGuest91611: I believe vanilla Ubuntu (desktop) dropped 32-bit support starting with 17.1021:37
ikoniaalbech: that suggests to me like your routing is changing after the vpn connects21:38
ikoniaalbech: or traffic is routing via the wrong place21:38
Guest91611SlidingHorn: vanilla flavor?21:39
SlidingHornGuest91611: by "vanilla" i mean "plain" Ubuntu - i.e. not Xubuntu, Lubuntu, Kubuntu, etc.21:40
Guest91611SlidingHorn: ubuntu as plain or with unity de?21:41
Guest91611SlidingHorn: SlidingHorn u mean official de that ubuntu comes with21:41
ikoniaGuest91611: ubuntu the distro, no different desktop re-spin21:42
Guest91611doesn't matter I have a networking problem, ubuntu is asking me for a username password and domain for a windows share but windows is set to no asking for password on private networks which is what my wire is connected to21:43
=== root is now known as Guest70971
martiansoulHi. I installed konversation on Ubuntu 16.04 and encountered this error.  "This application failed to start because it could not find or load the Qt platform plugin "xcb".  Reinstalling the application may fix this problem. Aborted (core dumped)" M  What should I do?  the strace output is this: https://pastebin.com/0ghsqz2i21:47
IniGitIs something wrong with that command (I want to change the label of the LUKS container): sudo cryptsetup config /dev/sdi --label=TestLUKS21:47
IniGit?21:47
ikoniaIniGit: does it give an error ?21:47
IniGitikonia: no, but it also does not change the label21:48
SlidingHornGuest91611: Unity is not available in 18.0421:48
ikoniaIniGit: can it change the label while in use21:48
IniGitikonia: It is not unlocked21:49
IniGitikonia: should I try luksformat with --label ?21:49
ikoniaIniGit: there used to be issues re-labelling in use disks, I don't know cyptsetup often enough to know if that is still true21:49
ikoniait was quite a while ago21:49
IniGitikonia: ok, thx. I will keep trying21:51
martiansoulHi. I have a dependency issue I am not able to figure out.21:51
martiansoulCan someone please help with that?21:52
ikoniayou'll need to give details martiansoul21:52
ikoniamartiansoul: if someone can help and wants to, they will, but they need to see the problem first21:52
SlidingHornmartiansoul: better to just ask your question with as much detail on one line as possible.  If someone knows the answer, they'll reply21:52
martiansoul I installed konversation on Ubuntu 16.04 and encountered this error.  "This application failed to start because it could not find or load the Qt platform plugin "xcb".  Reinstalling the application may fix this problem. Aborted (core dumped)" M  What should I do?  the strace output is this: https://pastebin.com/0ghsqz2i21:52
ikoniamartiansoul: thats totally different than a dependency problem21:52
ikoniamartiansoul: how did you install konversation21:53
martiansoul@ikonia. i did sudo apt-get install konversation21:53
ClickTekHowdy! I was thinking of throwing this on my Galaxy S9+ as I would like to get a little further away from Google. Will I regret this decision/move?21:53
ClickTekthis = lineageos21:53
ikoniamartiansoul: and that package came from the ubuntu 16.04 stable repo21:54
SlidingHornClickTek: this channel is for ubuntu support only.  Try lineageOS's support21:54
martiansoulikonia: sorry, i am a relatively naive user. Not sure what you mean by "and that package came from the ubuntu 16.04 stable repo"21:55
Guest91611ClickTek: I support u21:55
ikoniamartiansoul: you've not added any additional software repos, eg: KDE testing, or PPA's etc21:55
Guest91611ClickTek: Google knows too much21:55
martiansoulikonia: no21:55
ikoniaGuest91611: no, we don't support that in this channel21:55
martiansouldidn't add anything else.21:55
ikoniamartiansoul: ok - then the package libx11-xcb1 should install the library you want21:55
ikoniamartiansoul: however normally ubuntu packages will pull in dependencies for you, hence my concern that you where using a different repo21:56
martiansoulikonia: thanks. i will try it.21:56
ClickTekMy apologies, didn't even mean to ask that in this window. Forgive me.21:56
ikoniaClickTek: not a problem21:56
martiansoulikonia: i need to do sudo apt-get install libx11-xcb1?21:57
ikoniamartiansoul: yes, if you want the library you say you are missing21:57
IniGitikonia: ooh --label is only supported at LUKS221:58
ikoniaIniGit: be nice if it gave a syntax error then !21:58
arpad2after running sudo nvidia-xconfig the resolution of the display dropped from hd to 960x540. How can I restore the resolution, while also enabling the nvidia optimus card? thanks21:58
martiansoulikonia: it says - "libx11-xcb1 is already the newest version (2:1.6.3-1ubuntu2.1)"21:58
ikoniamartiansoul: so then that library is already there21:58
martiansouland again running konversation on terminal gives the same error21:58
ikoniamartiansoul: where is the konversation binary21:58
IniGitikonia: you mean would be nice?21:58
martiansoulikonia: /usr/bin21:58
ikoniaahh I see it in the output21:59
ikoniamartiansoul: run ldd /usr/bin/konversation and pastebin the output please21:59
ikoniaIniGit: if that option isn't supported, I'd hope for an error saying "invalid option"21:59
martiansoulikonia: yes sure. just a minute.22:00
r3vIs there a way to list all users screen sessions?22:00
ikoniar3v: screen sessions ?22:00
ikoniar3v: as in the application "screen" ?22:00
IniGitikonia: yeah22:00
r3vikonia: Yes.22:00
martiansoulikonia: result of ldd command: https://pastebin.com/WR0VycSU22:00
ikoniar3v: the session details are per user, so you'd need access to their session files22:01
ikoniamartiansoul: so the linker sees the library you think is missing libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f165ee5a000)22:02
ikoniamartiansoul: run ldd against /usr/lib/x86_64-linux-gnu/libxcb.so.122:02
ikonialets make sure there is not a flaw earlier in the line22:02
ikoniaeg: some random QT lib missing22:02
r3vNevermind. I just realized they are stored as files.... sudo ls -1s /run/screen/* does what I need.22:03
martiansoulikonia: result of ldd /usr/lib/x86_64-linux-gnu/libxcb.so.1: https://pastebin.com/fGNtu6G822:03
ikoniamartiansoul: so all there and good22:04
martiansoulikonia: i thought running the strace might be helpful. the strace command shows that it looks for QtProject in directories where it is not present.22:04
martiansoulikonia: strace output: https://pastebin.com/0ghsqz2i22:05
ikoniamartiansoul: no, you can see it looking in the right place and finding it22:05
ikoniamartiansoul: look at line 509 for example22:06
ikoniamartiansoul: I wonder...22:06
ikoniaone moment, I'll need to see if I have a box with a similar age library set on22:06
martiansoulikonia: sure22:07
ikoniamartiansoul: ok - my thought was a read herring22:07
ikoniamartiansoul: red22:07
ikoniahowever I'll searching for the documentation for the library I thought maybe out of sync, I stumlbed across this https://stackoverflow.com/questions/17106315/failed-to-load-platform-plugin-xcb-while-launching-qt5-app-on-linux-without22:08
arpad2after running sudo nvidia-xconfig the resolution of the display dropped from hd to 960x540. How can I restore the resolution, while also enabling the nvidia optimus card? thanks22:09
ikoniamartiansoul: that looks pretty similar to the problem you have, and references the library I thought maybe a problem, however look at all the plugin config data22:09
ikoniamartiansoul: I'm not a regular KDE user, but look at the way the QT environment varibles must be set to the correct paths for the plugins, or it falls back22:09
conrif i have a 60GB SDD for Ubuntu 18 with a secondary 2TB HDD for media, should i just create a extended partition for the 2TB HDD to mount onto Ubuntu?22:10
ikoniamartiansoul: so the actual library may be there and fine, but when the app tries to parse/reference what the library knows about its missing22:10
martiansoulikonia: yes.22:10
ikoniamartiansoul: I'm guessing based on that strace output, the info you've given me and the details in that post though22:10
ikoniaconr: why an extended partition ?22:10
martiansoulikonia: i was wondering about line 993 of the strace output.22:11
conrikonia: idk cause it's not my active with the OS22:11
ikoniaconr: just use a standard primary22:11
ikoniamartiansoul: lets see22:11
martiansoulikonia: I don't even have a directory /usr/local/Qt-5.5.122:11
martiansoulikonia: why is it looking there.22:12
ikoniamartiansoul: I suspect that is a red herring22:12
martiansouli was wondering22:12
ikoniamartiansoul: that will just be checking standard search paths22:12
martiansoulikonia: okay.22:12
ikoniamartiansoul: you can always mitigate that though, by making it and copying the plugin libraries in there (remember to remove it if it doesn't work)22:13
ikoniamartiansoul: but I'd suspect that is just the default search path22:13
martiansoulikonia: okay, so you think that the problem might be something else?22:14
ikoniamartiansoul: at this stage I don't know, I'd need to work it through more, some interesting bits in that strace, but most of it looks normal22:14
martiansoulikonia: https://stackoverflow.com/questions/17106315/failed-to-load-platform-plugin-xcb-while-launching-qt5-app-on-linux-without22:15
martiansoulhow should i use this?22:15
ikoniamartiansoul: I'd certainly find your qt.conf and look what's in there22:15
martiansoulikonia: okay. i'll find that.22:15
ikoniamartiansoul: have a read of it, see how much applies to your system22:15
martiansoulikonia: i searched my entire filesystem for qt.conf and found it in these places: https://pastebin.com/7N8XYX1422:26
conrikonia: does 10 hours sound like a reasonable time for formatting and erasing a 2TB HDD with the Disks app?22:28
OerHeksconr, sounds like there are bad sectors22:31
OerHeksjust wait and see the resutl when done22:32
conrOerHeks: its consistantly 60MB/sec22:32
conri thought SATA 3.0 could do 6Gb/sec22:34
blackflowyeah but not for spinning rust.22:35
OerHeksyou can, raw, so the disk itself it the bottleneck22:35
conri don't know what that means22:37
conrbut it's going about 20secs per 0.1% so maybe like 5hrs22:38
blackflowit means that individual HDDs can't achieve that speed. 150-200MB/s is most you can get for sequential write per HDD, and only at the beginning. as it writes toward inner parts of the disk, the speed is significantly reduced22:39
conryou're right now it's doing 54MB/sec22:40
ZabotWhat would cause audio feedback at bootup? I'm running 14.04, when I boot the webcam microphone is heard through the speakers and the speakers don't work, but as soon as I alsa force reload it goes away.22:41
mattrickshey is there a way i can automatically change vars in a bash script based on user input (like press 0 to exit) without explicitly asking for user input?23:06
Zabotmattricks: You could background whatever processes you wanted to run and then prompt for user input in the foreground23:11
GBGamesI'm using 18.04. I used GNOME tweaks with the Workspace grid  extension to change the workspace layout to be 1 row by 4 columns, instead of the default 1 column by 4 rows. In the last day or so I noticed that despite not restarting, something turns off the extension. I haven't found any clues yet. Any ideas?23:17
penniHi! Is there a php IRC support channel?23:25
SlidingHornpenni: ##php  - for future reference, /msg alis list <searchterm>23:26
firstname.23:28
firstnameThis is the support channel, correct?23:31
rud0lfcorrect23:32
firstnameAre IP addresses and host information omitted from the logs?23:35
OerHeksfirstname, no, i guess23:37
Zabotfirstname: Which logs? Auth logs?23:37
OerHekssudo commands are omitted23:37
firstnameYes, the ubuntu IRC logs/archive which goes back to 200423:38
OerHeksfirstname, oh, you must make clear what logs you talk about23:42
OerHeksyes, if you check the logs, join/parts are deleted23:42
OerHeks!logs23:42
ubottuOfficial channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/23:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!