> "The MTP and PTP standards do not support direct modification of objects. Modified objects must be copied out of the device and reuploaded in their entirety, which can take a long time for large objects. Google's MTP implementation in Android includes extensions to deal with this limitation; however, these extensions must be supported by the host operating system, and are not available by default."
I read somewhere online that you can add a rule to /etc/udev/rules.d to run a script whenever a usb device is plugged in. I'm wondering if there is a directory that functions similarly to /etc/udev/rules.d but will run a script whenever a new display is plugged in, via an HDMI port.
A few weeks ago, I decided to get adventurous and install different interfaces on my Lenovo T420 running Xubuntu. I decided to jettison Kubuntu after trying it out (just not my style) and kept Xubuntu and Ubuntu with Unity. After doing this, I noticed that a problem emerged: the battery charge in...
@ByteCommander I now use serif and san serif on my website. On my Linux Ubuntu it looks fine, but on Mac and Windows, not so much. It is at 12px. Under Mac and Windows, it makes to font look choppy.
When executing netstat, I find that the command's output width is limited regardless of the console size, in contrast with other commands such as ps that seem to get adjusted.
So for example:
$ sudo netstat -natp | grep sshd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LI...
I'm curious what commands a certain package provides my system with. By command, I mean an in-path executable that I can run from the command line (ls, grep, sed, etc).
I'm not trying to work out the package from the command, which can be done with:
dpkg -S `which command`
I want the opposite...
It will update pip3 always and pip2 only if it is installed yet. And it will keep the default version called when running pip to be the same as before (2 or 3).
I've seen animated GIF images of screen casts (like the one below) promoted a few times on this site as a way to improve answers.
What toolchain is being used to create these? Is there a program that does this automagically, or are people taking screencasts, converting them into a series of st...
> Explore the origami wall for your chance to buy an MX4 Ubuntu Edition phone. Invites to buy are scattered among interesting facts about the phone and origami culture. You'll get three chances per day to play, but if you don’t manage to get an invite on your first few tries, don't worry. You can always try again the next day. Good luck on your mission and remember: nothing in life worth having comes easy!
Overview
This answer contains three shell scripts:
byzanz-record-window - To select a window for recording.
byzanz-record-region - To select a part of the screen for recording.
A simple GUI front-end for 1, by MHC.
Introduction
Thanks Bruno Pereira for introducing me to Byzanz! It's quite u...
@kos A monkey with a wifi device is sitting at my roof top and one chopper is roaming around over my head what I've to do just switch my phone to air-plane mode
@terdon However I've never looked into ksh before you and muru suggested it. I love it already: I'm looking at some (basic) things it can do (slideshare.net/jaguardesignstudio/…) and it's plain awesome
@terdon I just voted to close. Isn't "closing the eyes" implicitly supporting this? I don't really care about what the user does nor I'm speaking about whether I agree on copyright restrictions etc., but isn't that plainly illegal?
Downloading torrents can be perfectly legal. Even downloading copyrighted material can be if your country hasn't made it illegal. In any case, my point is that the question itself is valid. Just remove the points about its being illegal.
@terdon Yes, but the problem is it's still illegal because it has been posted on an American server. The point is not where you live AFAIK, it's whehter you can post such content on that specific server, which stays under the jurisdiction of its phisycal place.
For all we know, he lives in a country where it is legal to download something without paying for it, as long as you do the chicken dance before, during and after.
Our job is not to be lawyers. It is to give the user the benefit of the doubt, until such a time as we have sufficient evidence to say "You're being illegal and (probably) dumb. Kthxbye."
@jrg I checked out SE TOS (stackexchange.com/legal/terms-of-service) and I agree a close vote was not pertinent to the situation, perhaps a mod flag would have been better. In any case as per I read the TOS, copyright violations are evaluated in the DMCA's perspective (hence regardless of the poster's country). However (not that it proves my point) I found this on meta: meta.stackexchange.com/questions/142864/…
Hey, I wanted to independently change my window decoration theme from my main Gtk theme. Following the instructions here (askubuntu.com/a/361927/22537 - org.gnome.desktop.wm.preferences theme) does not seem to work in Ubuntu 14.04. Anybody knows if it is still possible?
However @Serg I don't know what to do with my question about the internet connection. I'd like to reward your effort with an acceptance, however despite what I wrote initially, since the question is getting very popular (it's at +17 now, with 600+ views) I think it deserves an answer matching the main question.
So here's the deal, I'll wait another bit and if nothing comes up I'll put a bounty on it, writing from the start that I'm awarding the bounty to an already existing question, and I'll award the bounty to you at the end of the bounty period. If someone anwers exactly the question, I'll accept it so that the accepted answer matches the question plus I'll award it another bounty to be fair.
When I try to install a 32bit library apt-get install liblua5.2:i386 apt warns that is is going to uninstall a number of essential 64 bit packages. Some of them are being replaced with 32 bit versions but others will not be replaced.
Aren't 32bit and 64bit packages supposed to be able to work si...
@Helio You know what, I just switched to zsh for other means but I want to learn to handle parameter expansions. However until then I don't know what to tell you, terdon or muru will be able to help you tough. The only thing I see (and that I pinged you about already) is the Useless Use Of Cut in the wc -l $file | cut -d ' ' -f1 substitution
@Helio We discussed that in chat yesterday. Even using regexes instead of parameter expansion, no one came up with a working solution. I'm not sure if that is possible without some type of flow control. Consider also consecutive dots and dots at the end of the filename.
How about consecutive dots or dots at the end of the filename?
Anyway what came up yesterday also is that is not a good thing to add stuff after a dot, since it might break complex extensions such as .tar.gz, and some program AFAIK will break if the file doesn't have the correct extension.
Anyway: [[ $a =~ (.*)(\.[^.]+)$ ]] - should handle trailing dots or consecutive dots. i.e., the array will be empty if it doesn't have .foo at the end.
I am trying to use amixer to change the volume of the speaker on my computer at an incremental rate. The command below successfully changes the master volume of my speaker, but not at a consistant 5%. When the volume is close to 100%, it will increment at about 15%, but when it is close to 0 it w...
Just had a thought... Why is there not a separate command (as opposed to apt-get) that only allows update-upgrade but no install option. Then make it setuid root and normal users or a user crontab could upgrade. Think - If it's a family computer, then there's no reason a child shouldn't be able to update if you install the script, but they still can't install applications.
Maybe it'ld be better as a feature request to update-manager though.
@kos whatever you want to do with the question do itn I'm too damn drunk to decide or know anything. Just do it . And for the record , never come to Ukraine or Russia. It's scary man. I can't wait to get back to Denver. Thank good god for android auto complete my text here. I'm soo done god save the queen. This hallway is scary
@Seth <-- That's where it started. Was going to fire up sublime and check to confirm versions - but I had pending updates. So, waiting for all of them to complete.
Oneiric update manager no longer asks for a password to update already installed software. This is a change in behavior from previous versions. Is there a way to revert this behavior and get the Update Manager in Oneiric to ask for a password again?
Thanks!
This might be a very naive question, but I wanted to know how I could give multiple users access to a single computer without making them root users. How would I give them limitted sudo access such that they could still issue commands like
sudo apt-get install epstopdf
I imagine this could be ...
i wonder if i could get it to play nicely with ksplice and the kernel-edgers ppa... that should make for a sufficient tenderizing of my face on the desk at some point in the future.
Computer: But Daaaaaad, I need a reboot. Me: Nope, Nope, Nope!!!! And do it all automatically please. Computer: But I can't. Me: I said do it. I'm going for the sledge-hammer and the shoehorn.
I'm not quite brave enough to lie to the ppa about my distribution codename and risk breaking the universe for a 4.x kernel or do a compile it myself and try to target Ubuntu with all the same options.