• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[QUOTE=DanTehMan;47692533]So I have a laptop that can fold like 360 degrees and turn into a tablet. On windows, there's a built in application that reads information from some proprietary sensor and disables they keyboard and touchpad but still allows onscreen input. If I were to switch to linux, what would be the most similar solution for me? Some kind of terminal command I can write to a program that disables those hardware features? Do you think the linux kernel would have drivers for the sensor I mentioned?[/QUOTE] Probably depends a lot on the specific model you have
Asus Transformer Book Flip TP300LD
There's a realistic chance the kernel will have drivers for your gyroscope, but I'm not aware of any existing solution that would disable your keyboard and touchpad and touchpad based on its input. (You could write your own though if you're a programmer and able to figure out how to get gyroscope data :v:) Disabling input into your graphical environment [url=http://wpkg.org/Disable_/_enable_keyboard_and_mouse_in_Linux]is done using xinput[/url] - unless you end up rebuilding the auto-lock functionality with that, you'll probably want to write that in a script and make a desktop/panel shortcut so you don't have to type those commands (on an onscreen keyboard, even) every time. Be aware that touchscreen support is still pretty bad on Linux desktops. There's gesture support in GTK and Qt, but I'm not sure that automatically works in everything, and there's touchscreen drivers for some devices, but I dunno if yours is among them, it may not work (or work as intended) out of the box, and there are practically no applications that support touch input even as well as Windows 8 in desktop mode. [editline]10th May 2015[/editline] What you see in the "Arch on Android" video above is pretty much as good as it gets, actually.
Unity and Gnome >3.14 are the best you're gonna get with multitouch. Gnome 3.16 onwards will also support rotation, apparently, so look out for that when it arrives. Between Unity and Gnome's input gestures, I prefer Gnome's greatly. Also, for web browsing chrome is the best one to use - but you need to launch it with the right flag set for touch devices.
Who wants to play a game? It's called "Kernel Bug or Hardware Failure" [code][ 157.026468] ata1.00: exception Emask 0x0 SAct 0x800 SErr 0x0 action 0x6 frozen [ 157.026472] ata1.00: failed command: WRITE FPDMA QUEUED [ 157.026484] ata1.00: cmd 61/08:58:80:d8:07/00:00:00:00:00/40 tag 11 ncq 4096 out res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [ 157.026486] ata1.00: status: { DRDY } [ 157.026487] ata1: hard resetting link [ 157.346259] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 157.346485] ata1.00: supports DRM functions and may not be fully accessible [ 157.346786] ata1.00: supports DRM functions and may not be fully accessible [ 157.346820] ata1.00: configured for UDMA/133 [ 157.346822] ata1.00: device reported invalid CHS sector 0 [ 157.346827] ata1: EH complete[/code] Saw a similar issue a few years ago; turned out to be a kernel bug.
I'm not quite sure if this falls under the category of "small questions," but I figured I'd try here before making a thread. I'm setting up a small home server and chose a minimal debian install for the OS. Ethernet works as expected, but I've spent hours attempting to get wifi working with no success. I've been using [URL="https://wiki.debian.org/WiFi/HowToUse"]this guide[/URL], specifically the wpa_supplicant section since my network uses WPA2-PSK. When I scan for connections with "iwlist scan", the network I'm attempting to connect to isn't shown, just 2 network-enabled devices (a printer and my ps3). If I try to connect to the network anyway, I always end up getting "no dhcpoffers received" at the end of the process. I'm sure the key and ssid I provided are correct. I've tried pretty much every approach I could find that seemed to work for other people with the same issue with no results, so I'm hoping it's just a fundamental misunderstanding I'm having that someone can point out. If I haven't provided enough information, please let me know. Thanks in advance.
[QUOTE=DragonAwesome;47694228]I'm not quite sure if this falls under the category of "small questions," but I figured I'd try here before making a thread. I'm setting up a small home server and chose a minimal debian install for the OS. Ethernet works as expected, but I've spent hours attempting to get wifi working with no success. I've been using [URL="https://wiki.debian.org/WiFi/HowToUse"]this guide[/URL], specifically the wpa_supplicant section since my network uses WPA2-PSK. When I scan for connections with "iwlist scan", the network I'm attempting to connect to isn't shown, just 2 network-enabled devices (a printer and my ps3). If I try to connect to the network anyway, I always end up getting "no dhcpoffers received" at the end of the process. I'm sure the key and ssid I provided are correct. I've tried pretty much every approach I could find that seemed to work for other people with the same issue with no results, so I'm hoping it's just a fundamental misunderstanding I'm having that someone can point out. If I haven't provided enough information, please let me know. Thanks in advance.[/QUOTE] Do you happen to know the model or at least the make of the wifi card?
You should probably say: - what WiFi hardware you're using - which driver you're running - which frequency bands the networks are in - what channels they're on - what standards they follow (a/b/g/n/ac) - what encryption (if any) the two other devices are using - what modes they're in (ad-hoc or infrastructure) - whether there's any other networks your other WiFi devices can see but your server can't (and the above information for them)
$10 says it's a broadcom Edit: Oh it's scanning for networks, nevermind [editline]10th May 2015[/editline] Fucking merges man
[QUOTE=DrTaxi;47694278]You should probably say: - what WiFi hardware you're using - which driver you're running - which frequency bands the networks are in - what channels they're on - what standards they follow (a/b/g/n/ac) - what encryption (if any) the two other devices are using - what modes they're in (ad-hoc or infrastructure) - whether there's any other networks your other WiFi devices can see but your server can't (and the above information for them)[/QUOTE] I'm not too familiar with networking concepts, so sorry if I misunderstand what you're asking for here. I'm using a Qualcomm Atheros ar928x, which I believe is supported via the ath9k module, which should be loaded automatically. At the moment the network is operating on the router's (arris tg852g) "automatic" channel mode, but I can set it if necessary. The router follows the standards b, g, and n. The ps3 is using wpa psk and the printer is using wep open. The network is in infrastructure mode. Other than the network in question, there's no other networks my other devices can see that the server can't. I don't know how to find the frequency bands the network is on, but according to its specification sheet, it has a frequency range (MHz) of 108-1002 DOCSIS rf downstream and 5 to 42 DOCSIS rf upstream. No idea if that's what you wanted or not; sorry. I wish I could get you more info, but like I said, I'm not too familiar with networking in general so I'm not sure how to get it. [editline]10th May 2015[/editline] Okay I think I understand the frequency bands thing now, at least sort of. At the moment it's running on 802.11 mixed b/g/n. [editline]10th May 2015[/editline] Looked around a bit more, apparently it only operates on 2.4ghz. Sorry for editing this post so much, in the future I'll try to make sure I have all the information first.
[QUOTE=esalaka;47690342]Qt is bloated as hell I'm mostly wondering why the heck you need your phone to have ~~super performance~~ [editline]9th May 2015[/editline] (Though Sailfish is much more performant than Android on the same hardware)[/QUOTE] I don't really [i]need[/i] my phone to have any kind of performance other than what it already has, I'd just prefer if it performed as best as it could. Which, using Android, it sure doesn't. A restart shouldn't take long either. It should never take more than 10 seconds almost regardless of device, because that kind of really kills the idea of being able to reboot. If something takes too long, I'm not gonna do it, because it wastes my time. The same goes for applications and so on so forth. They shouldn't "load up", they should really just start. Now, obviously Firefox doesn't just "start" on my old desktop either, but that is really partly an issue of 6-7 year old hardware.
[QUOTE=josm;47686852]You have a wallpaper of E:D, do you play it on linux?[/QUOTE] No I don't play it on Linux, I dual-boot to play it. It's been a while since I last played it, actually.
[QUOTE=IpHa;47694049]Who wants to play a game? It's called "Kernel Bug or Hardware Failure" [code][ 157.026468] ata1.00: exception Emask 0x0 SAct 0x800 SErr 0x0 action 0x6 frozen [ 157.026472] ata1.00: failed command: WRITE FPDMA QUEUED [ 157.026484] ata1.00: cmd 61/08:58:80:d8:07/00:00:00:00:00/40 tag 11 ncq 4096 out res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [ 157.026486] ata1.00: status: { DRDY } [ 157.026487] ata1: hard resetting link [ 157.346259] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 157.346485] ata1.00: supports DRM functions and may not be fully accessible [ 157.346786] ata1.00: supports DRM functions and may not be fully accessible [ 157.346820] ata1.00: configured for UDMA/133 [ 157.346822] ata1.00: device reported invalid CHS sector 0 [ 157.346827] ata1: EH complete[/code] Saw a similar issue a few years ago; turned out to be a kernel bug.[/QUOTE] Found the issue. Wasn't hardware or the kernel, it is a new firmware bug. Samsung is really having a hard time with the 840 EVO.
Tried to stick with Elementary OS, just couldn't do it. Something about it just rubs me the wrong way. Now installing that Mint action, though.
Just got a 250GB SSD to replace the 320GB HDD in my laptop, is there any easy way to clone my ElementaryOS install over?
[QUOTE=Adzter;47702778]Just got a 250GB SSD to replace the 320GB HDD in my laptop, is there any easy way to clone my ElementaryOS install over?[/QUOTE] Hook both SSD's up to s-ata ports in a stationary running Linux and use your good friend DD.
[QUOTE=Van-man;47702832]Hook both SSD's up to s-ata ports in a stationary running Linux and use your good friend DD.[/QUOTE] Will it not complain about the SSD being smaller than the HDD? EDIT: Bearing in mind i'm speaking with no experience, I just want to know the best way to do this before messing up anything
I can think of doing that two ways but i don't know what is "easy". dd+gparted+livedvd/usb or cp -ax $HDD $SSD && grub-install $SSD && grub-mkconfig -o $SSD/boot/grub/grub.cfg && pray $DEITY
[QUOTE=Adzter;47702840]Will it not complain about the SSD being smaller than the HDD? EDIT: Bearing in mind i'm speaking with no experience, I just want to know the best way to do this before messing up anything[/QUOTE] Shrink the 320GB partition with Gparted so it fits before using DD. Also remember to set the blocksize, or else it's gonna take a eternity. Also here's a hacky but handy 'progress bar' for DD: [url]http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html[/url]
[QUOTE=Adzter;47702778]Just got a 250GB SSD to replace the 320GB HDD in my laptop, is there any easy way to clone my ElementaryOS install over?[/QUOTE] Boot up a liveCD with gparted, shrink partitions, and re-create the partitions on the other disk, then copy+paste partitions. Bam done. Won't take more than a lot of fucking hours. Alternatively you can copy the files, which will be faster, but might be problematic regarding permissions.
[QUOTE=Protocol7;47701946]Tried to stick with Elementary OS, just couldn't do it. Something about it just rubs me the wrong way. Now installing that Mint action, though.[/QUOTE] Networking just doesn't work with Mint, it establishes a wireless connection but I have to toggle it 3-4 times before packets actually get transmitted. :( I know I've always liked Gnome so I'm just going to install Ubuntu Gnome.
[QUOTE=Van-man;47702863]Shrink the 320GB partition with Gparted so it fits before using DD. Also remember to set the blocksize, or else it's gonna take a eternity. Also here's a hacky but handy 'progress bar' for DD: [url]http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html[/url][/QUOTE] or just use dcfldd
[QUOTE=Wormy;47704103]Is it alright if I ask this here? I'm still quite new to Linux so please don't laugh too hard. I am having issues installing some dependencies and I'd love some help. To put things short, I'm trying to setup my very first SRCDS server in Ubuntu (12.04 LTS). I am trying to run this in the terminal because it's needed for the [url=http://danielgibbs.co.uk/lgsm/tf2server/#Prerequisites]Linux Game Server Manager[/url] that I am using: [code]apt-get install gdb mailutils postfix[/code] But when I do, this shows up: [code]root@server:~# apt-get install gdb mailutils postfix Reading package lists... Done Building dependency tree... Done Package postfix is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package mailutils is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Unable to locate package gdb E: Package 'mailutils' has no installation candidate E: Package 'postfix' has no installation candidate [/code] I'm guessing the later sentences means that something went wrong? I also need to install Tmux but have no idea how to do that, it just says "-su: tmux: command not found". According to [url=https://github.com/dgibbs64/linuxgsm/wiki/dependencies]this site[/url] the command is: [code]tmux gdb mailutils postfix libstdc++6:i386[/code] I might be in the wrong paths to install these, it's probably a very dumb mistake I am doing and I'm sorry if I make myself look like a fool, but help is much appreciated.[/QUOTE] Can you run "apt-get update"?
[QUOTE=Van-man;47702863]Shrink the 320GB partition with Gparted so it fits before using DD. Also remember to set the blocksize, or else it's gonna take a eternity. Also here's a hacky but handy 'progress bar' for DD: [url]http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html[/url][/QUOTE] It surprisingly only took 15 minutes to copy all the data over. But everything is working fine now, much faster and only took an hour or so for the whole process. Thanks for your help.
Needs more Cinnamon
[QUOTE=Adam.GameDev;47708279]Needs more Cinnamon[/QUOTE] Cinnamon is garbage
Had to reinstall Ubuntu Gnome since the home encryption was fucking up. Now I'm having a weird issue with Gnome where my battery indicator doesn't show up unless it isn't plugged in. Any ideas? A quick [B]ps ax | grep indicator-power[/B] shows the service is running. No battery indicators settings show up in the power menu.
sounds like an intended "feature" check if there's a box for it in Settings
Nah, there isnt Oddly enough I didn't have this problem the first time I installed ubuntu gnome, and it seems like a documented bug with 14.04 LTS & Gnome.
[QUOTE=Protocol7;47709699]Had to reinstall Ubuntu Gnome since the home encryption was fucking up. Now I'm having a weird issue with Gnome where my battery indicator doesn't show up unless it isn't plugged in. Any ideas? A quick [B]ps ax | grep indicator-power[/B] shows the service is running. No battery indicators settings show up in the power menu.[/QUOTE] I had a shitton of trouble with indicators on my old Xubuntu install. Battery and sound just straight up didn't show up, always have pavucontrol open, nm-applet would have to be manually started every boot.
Sorry, you need to Log In to post a reply to this thread.