• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[QUOTE=PredGD;47321266]is there away to stabilize network connections? on windows, I'm able to download from steam at a pretty much consistent rate of 12MB/s but on linux, it jumps all over [IMG]http://pred.me/pics/1426348265.png[/IMG][/QUOTE] Funny, I have the complete opposite. On Linux my downloads are rock solid, stable speeds. Windows will fluctuate all over the place.
[QUOTE=~Kiwi~v2;47320498]I'm very close to putting a gun to my laptop thanks to Broadcom. :suicide: [editline]15th March 2015[/editline] So after much trial and error and thanks to predgd I switched from mate to Gnome, and only broke lightdm once part way through :v: now to find a two tone background so it doesn't look naked[/QUOTE] I used to be pissed about Broadcom too. Then I installed b43-fwcutter, extracted the firmware from their drivers, and don't really have issues with it anymore. Almost. Except when it claims WPA2 is WEP, which isn't the case, but then I just wait for some distribution updates for it and bam it works again. The chores of unstable distributions.
Even if shit like b43-fwcutter worked in my case, the fact that I [i]needed[/i] that to begin with is enough reason for me to want the "genius" behind that at Broadcom drawn and quartered.
[QUOTE=lavacano;47322962]Even if shit like b43-fwcutter worked in my case, the fact that I [i]needed[/i] that to begin with is enough reason for me to want the "genius" behind that at Broadcom drawn and quartered.[/QUOTE] Broadcom should just cease to exists so we can continue using Atheros and TP-LINK chipsets instead.
How would I go about getting all ip+hostnames of linux machines on a lan? At school we're doing ssh to other machines, but the IPs are reassigned every time the machine so the hosts list never stays up to date.
Woo! Got this FiiO E17 working. Was having some difficulties setting it as the default sound card.
[QUOTE=~Kiwi~v2;47323171]PCName. example my main machine is kiwi-pc but its ip changes every so often so all i have to do is just do //kiwi-pc/ and it instantly resolves sshing via pcname shouldn't be an issue if its just local [editline]15th March 2015[/editline] in fact let me go test this shit so im not wrong[/QUOTE] Yep, whenever it needs an IP address, you can just sub in the hostname (assuming your network isn't misconfigured or otherwise trash) [editline]false merge[/editline] Speaking of network, here's a puzzle for you guys. I have a computer, named shuttlecraft. I have a script that sends six bytes to another computer, polaris, via UDP. If I just do: [code]sock.sendto(b"SHTLUP", ("polaris", 42069))[/code] shit works fine, no worries. However, if I do this: [code]sock.bind(("shuttlecraft", 42069)) sock.sendto(b"SHTLUP", ("polaris", 42069))[/code] it throws EINVAL on the sendto call, regardless of whether I use "polaris" or polaris's IP address. Shuttlecraft is the [b]only[/b] computer with this problem, I can bind the socket on polaris and it works fine. My hostname is set properly in /etc/hosts, /etc/hostname and the hostname command, and as far as I know nothing else is misconfigured. I can "ssh shuttlecraft" from other computers just fine.
[QUOTE=DanTehMan;47315497]So I recently got a great deal on a convertible laptop with a touchscreen, and am wondering what destros work best with touch input? I'm still a Linux noob but would like to be able to take full use of my laptop. I'm partial to elementaryOS out of all the destros I've tried but I'm definitely open to suggestions. Tried configuring Arch once a year or two ago and failed miserably.[/QUOTE] Gnome 3.14 supports multitouch but not many distros use it yet. You'll have to wait til they update - Ubuntu 15.04 when it releases in april will be able to use it fully. Unity also supports multitouch quite well. Unfortunately when it comes to touch screens linux is a bit of a miss - the ones that do support touch screens also lack customisability. Unity supports multitouch but it just isn't much fun. When Gnome releases their support, things will get better. Unfortunately that's about it. XFCE does not support touch screens at all. Neither does KDE as far as I know but I could be wrong
[QUOTE=killerteacup;47323535]Gnome 3.14 supports multitouch but not many distros use it yet. You'll have to wait til they update - Ubuntu 15.04 when it releases in april will be able to use it fully. Unity also supports multitouch quite well. Unfortunately when it comes to touch screens linux is a bit of a miss - the ones that do support touch screens also lack customisability. Unity supports multitouch but it just isn't much fun. When Gnome releases their support, things will get better. Unfortunately that's about it. XFCE does not support touch screens at all. Neither does KDE as far as I know but I could be wrong[/QUOTE] You should know the pains of a high dpi screen. With all the dpi settings in the world you'll still have most programs and window managers do their own thing: constant font sizes regardless of dpi.
[QUOTE=mrgrim333;47323157]How would I go about getting all ip+hostnames of linux machines on a lan? At school we're doing ssh to other machines, but the IPs are reassigned every time the machine so the hosts list never stays up to date.[/QUOTE] You can use samba to broadcast a NetBIOS name
is there a way to disable unused sound outputs in pulse audio? applications which record tend to prefer my GPU's HDMI output instead of line out which I actually use.
You can do that with pavucontrol: [img]http://i.imgur.com/wUh7PBT.png[/img]
So I've found this pretty nifty free app that lets you use your Android phone as a portable Linux ISO downloader and bootable USB drive. Seems to work on my Nexus 5 (needs to be rooted though) and has quite an admirable selection of distros. Useful if you've left your USB drive somewhere and need an emergency Linux install media. [url]https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en[/url]
[QUOTE=benbb;47327781]So I've found this pretty nifty free app that lets you use your Android phone as a portable Linux ISO downloader and bootable USB drive. Seems to work on my Nexus 5 (needs to be rooted though) and has quite an admirable selection of distros. Useful if you've left your USB drive somewhere and need an emergency Linux install media. [url]https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en[/url][/QUOTE] DriveDroid is fucking fantastic. I keep GParted and slitaz on my phone just for emergencies.
[QUOTE=benbb;47327781]So I've found this pretty nifty free app that lets you use your Android phone as a portable Linux ISO downloader and bootable USB drive. Seems to work on my Nexus 5 (needs to be rooted though) and has quite an admirable selection of distros. Useful if you've left your USB drive somewhere and need an emergency Linux install media. [url]https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en[/url][/QUOTE] Fucking genious. Saves me a lot of time finding USB sticks that I can format, format them, search for some USB flash thing and downloading the right distro.
don't suppose any of you know your way around nginx? I'm trying to set up a custom 403 and 404 page for my web server. it worked fine when I was using apache, but on nginx it's apparently not as straight forward. my virtual host [url]http://pastebin.com/7dpJ7NZu[/url] the error page config is at the bottom. even with that which should work as far as I'm concerned, it's not. I went into the nginx error log and saw this line spammed from my attempts to get it working [code]2015/03/15 16:20:18 [error] 10595#0: *16 open() "/home/predme/public_html/404.html" failed (2: No such file or directory), client: 127.0.0.1, server: www.pred.me, request: "GET /nginx_status HTTP/1.1", host: "localhost"[/code] apparently it's looking in the public_html directory where everything else. moving my files to that folder makes it work across the board, though my .css aren't linked. if I for example go to /dump which is a restricted folder, it'll only display my .html since there's no .css in that folder for it to read from. how do I make it work like I want to, that my error pages sit in /home/predme/403 and 404? [editline]15th March 2015[/editline] sorted it out! I forgot to add a /404.html instead of what I originally put, 404.html [code] error_page 404 /404.html; location = 404.html { root /home/predme/404; allow all; internal; }[/code] to [code] error_page 404 /404.html; location = /404.html { root /home/predme/404; allow all; internal; }[/code] fixed it
[QUOTE=benbb;47327781]So I've found this pretty nifty free app that lets you use your Android phone as a portable Linux ISO downloader and bootable USB drive. Seems to work on my Nexus 5 (needs to be rooted though) and has quite an admirable selection of distros. Useful if you've left your USB drive somewhere and need an emergency Linux install media. [url]https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en[/url][/QUOTE] I use this all the time at work while imaging computers, if I'm short a USB/CD for Clonezilla. Boot from DD, run from RAM, rinse repeat [editline]16th March 2015[/editline] Also works well with a tool like Rufus. You can use that with a blank DD image to make a Windows image, for example
Is Manjaro fully rolling like Arch or semi-rolling like OpenSUSE Tumbleweed and (formerly) LMDE?
[QUOTE=Adam.GameDev;47340916]Is Manjaro fully rolling like Arch or semi-rolling like OpenSUSE Tumbleweed and (formerly) LMDE?[/QUOTE] Yes [sp]It's actually Arch, though I think they got their own repository.[/sp]
Right now, I shut off my headless NFS server by doing this: [code]umount /mnt/nfs/shuttlecraft ssh -t shuttlecraft "sudo shutdown -h now"[/code] This works, but I decided I wanted a button in my panel that does all that, to save myself some typing. The problem is I don't know how to make remote sudo use a local askpass program. How would I go about this?
[QUOTE=lavacano;47342178]Right now, I shut off my headless NFS server by doing this: [code]umount /mnt/nfs/shuttlecraft ssh -t shuttlecraft "sudo shutdown -h now"[/code] This works, but I decided I wanted a button in my panel that does all that, to save myself some typing. The problem is I don't know how to make remote sudo use a local askpass program. How would I go about this?[/QUOTE] Put the user shuttlecraft into the power group, and then just shutdown using systemd like so: [code]systemctl poweroff[/code] No sudo required. Check here for more information: [url]https://wiki.archlinux.org/index.php/Allow_users_to_shutdown[/url] [editline]asdf[/editline] Whoops, actually reading the wiki article says that only users without a remote session can do it. My mistake. Perhaps you should enable a no password sudo for that user in particular?
It's possible to make an executable that's always run as root (SUID - which is how sudo works), though I'm not sure if that's the best way to go. [editline]17th March 2015[/editline] welp, there you have it
[QUOTE=Adam.GameDev;47340916]Is Manjaro fully rolling like Arch or semi-rolling like OpenSUSE Tumbleweed and (formerly) LMDE?[/QUOTE] Fully rolling release, but manjaro-system occasionally gets updated. That's where the manjaro version number comes from. I really love my manjaro install (posting from it) because it has the benefits of Arch (AUR, pacman, yaourt), but it doesn't have the breaking updates nearly as much as Arch does. Arch is a backstabber. You have to watch their blog for posts on updates that require "manual intervention", which mean your install will fuck up if you apply that update the normal way. Even if there aren't "manual intervention" posts, stuff might still break on Arch. I've installed Arch like half a dozen times on different systems. 100% of those installs broke because of an update that broke things so badly that a reinstall was less effort than fixing the issue. Manjaro does [B]not[/B] have this problem. I've had Manjaro since last summer and it never broke despite plenty of updates. [editline]17th March 2015[/editline] Also, Manjaro is less effort to install. Arch is something you should install at least once in your life to figure out how to set up a Linux system from scratch. It teaches you a lot about how Linux works. It's a fun experience too. That said, after half a dozen times it became more of a pain in the arse than anything else imo and I just wanted something that was easy to set up.
[QUOTE=Naelstrom;47342341]Put the user shuttlecraft into the power group, and then just shutdown using systemd like so: [code]systemctl poweroff[/code] No sudo required. Check here for more information: [url]https://wiki.archlinux.org/index.php/Allow_users_to_shutdown[/url] [editline]asdf[/editline] Whoops, actually reading the wiki article says that only users without a remote session can do it. My mistake. Perhaps you should enable a no password sudo for that user in particular?[/QUOTE] I'm not using systemd, and I'd rather not resort to a "no password sudo" solution for this in case security gets compromised (granted, all they'd be able to do without root's password is shutdown and reboot but that's still potential griefing I don't want to deal with) Also, for the record, "shuttlecraft" is the hostname and the user would be "nick". I do have private key auth set up to that box so that part's no issue.
[QUOTE=FPtje;47342539]Fully rolling release, but manjaro-system occasionally gets updated. That's where the manjaro version number comes from. I really love my manjaro install (posting from it) because it has the benefits of Arch (AUR, pacman, yaourt), but it doesn't have the breaking updates nearly as much as Arch does. Arch is a backstabber. You have to watch their blog for posts on updates that require "manual intervention", which mean your install will fuck up if you apply that update the normal way. Even if there aren't "manual intervention" posts, stuff might still break on Arch. I've installed Arch like half a dozen times on different systems. 100% of those installs broke because of an update that broke things so badly that a reinstall was less effort than fixing the issue. Manjaro does [B]not[/B] have this problem. I've had Manjaro since last summer and it never broke despite plenty of updates. [editline]17th March 2015[/editline] Also, Manjaro is less effort to install. Arch is something you should install at least once in your life to figure out how to set up a Linux system from scratch. It teaches you a lot about how Linux works. It's a fun experience too. That said, after half a dozen times it became more of a pain in the arse than anything else imo and I just wanted something that was easy to set up.[/QUOTE] I spent like a day and a half trying to do an arch install. Broke on the first update. Haven't touched arch since.
[code]error: gtk3: signature from "Jan de Groot <jan@linux-specialist.nl>" is invalid :: File /var/cache/pacman/pkg/gtk3-3.14.9-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] n error: cups: signature from "Andreas Radke <andyrtr@archlinux.org>" is invalid :: File /var/cache/pacman/pkg/cups-2.0.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] n error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded.[/code] I think I've already broke Manjaro
[QUOTE=Adam.GameDev;47343191][code]error: gtk3: signature from "Jan de Groot <jan@linux-specialist.nl>" is invalid :: File /var/cache/pacman/pkg/gtk3-3.14.9-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] n error: cups: signature from "Andreas Radke <andyrtr@archlinux.org>" is invalid :: File /var/cache/pacman/pkg/cups-2.0.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] n error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded.[/code] I think I've already broke Manjaro[/QUOTE] do "pacman - Syy" and try again, that might fix it
Didn't work unfortunatley
[QUOTE=Adam.GameDev;47343288]Didn't work unfortunatley[/QUOTE] Try running the update mirrors command and then a - Syyu Better explanation: [url]http://www.cupoflinux.com/SBB/index.php/topic,2959.msg17980.html#msg17980[/url] [editline]18th March 2015[/editline] That happens to me too sometimes, but it's relatively easy to fix. [editline]18th March 2015[/editline] I think it happens to everyone, and that it happens because manjaro don't understand how to update trust without forcing people to do manual intervention.
I'm a fan of Gentoo myself, portage does rolling release properly. If a package manages to be marked stable and still breaks something you can mask it and/or downgrade, similarly you're perfectly welcome to unmask untested packages to get a truly bleeding edge system. Sure, the compiling everything yourself is a bit annoying, which is why my laptop runs Sabayon at the moment. Gentoo based, but with their own binary package manager, and still able to move any package you want over to portage.
Sorry, you need to Log In to post a reply to this thread.