Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I use Ubuntu because most of the development and build environment setup guides are based on ubuntu, even from google so it was a logical choice for me.
I have been using Ubuntu since 2008 and moved to Mint last fall. I was not happy with how commercialized Ubuntu was heading and Unity sucks on a desktop. Mint is what Ubuntu should have been.
Kubuntu is worlds away from Ubuntu. It's what I've used since its first release, and despite occasionally trying other distros I always stick with Kubuntu as my main distro. KDE is light years away from Unity. Too bad you [apparently] only tried Ubuntu proper, and not its much nicer sibling Kubuntu.I have been using Ubuntu since 2008 and moved to Mint last fall. I was not happy with how commercialized Ubuntu was heading and Unity sucks on a desktop. Mint is what Ubuntu should have been.
Do any of you run the LMDE? When I tried Mint, that was the one I ran for a few months. If you like rolling releases, give it a try!
Correct. It uses Debian's Testing branch repos, which gives you more current software then using Stable repos. If you use Sid's repos, then you will get the bleeding edge software, but beware of breakage also. :smokingsomb:I've not tried that. AFAICT it's still Mint with the default Mate desktop environment, unless you change it. However it uses Debian repos rather than Canonical Ubuntu repo servers. That's why it's rolling release rather than using sixth monthly Ubuntu releases.
FWIW you can set up an environment for building ROMs on other distros. Example, I have a working build environment on ArchLinux
Actually Mandrake / Mandriva was quite popular among hard core Linux users because it was well sorted, stable, and had plenty of "power user" packages available for it, while still having the convenience of a solid graphical management utility. But without the distro's founder, GaI went from using the so-called hard distros to Mandriva around 2008, up till 2011 or whenever Mageia forked and started it's own.
Actually Mandrake / Mandriva was quite popular among hard core Linux users because it was well sorted, stable, and had plenty of "power user" packages available for it, while still having the convenience of a solid graphical management utility. But without the distro's founder, Ga
I loved my MCC! Only recently has Yast finally become as good, if not as good-looking.Yes, that is so true. One thing Mageia did bring with it is Mandrake/Mandriva's Control Center, which is one of the best system management apps around. If all else fails, you can go to the MCC and fixed just about any issue.
An anthropologist proposed a game to kids in African. He put a basket full of fruit near a tree and told the kids that who ever got there first won the fruits. When he said run they all took each others hands and ran together, then sat together enjoying their treats. When he asked why they ran together, when one could have had all the fruit, they said: ''UBUNTU, how can one of us be happy if all the other ones are sad?''
I highly recommend you look into sed and regular expressions. You can do all that work in one line wrapped by a folder/file nested loop structure. I will leave it up to the curious to look up sed and learn regular expressions. Very powerful and concise. It was designed for exactly these sorts of purposes to avoid writing of lengthy scripts. Cheers!As with all things Linux/UNIX, there are many ways to do what you're after. Ask 1,000 different people and you'll probably get 2,000 different answers! With that in mind, here's what I came up with; I'm showing it step by step for clarity, rather than just throwing it all into one script.
First, I ran the script posted earlier to replace spaces with underscores (this time I've added a little documentation! ). So I started out with 12 files named:
Code:[www.somesite.com]fantasy (10).jpg [www.somesite.com]fantasy (11).jpg [www.somesite.com]fantasy (12).jpg [www.somesite.com]fantasy (1).jpg [www.somesite.com]fantasy (2).jpg [www.somesite.com]fantasy (3).jpg [www.somesite.com]fantasy (4).jpg [www.somesite.com]fantasy (5).jpg [www.somesite.com]fantasy (6).jpg [www.somesite.com]fantasy (7).jpg [www.somesite.com]fantasy (8).jpg [www.somesite.com]fantasy (9).jpg
I ran this script:
[high]#!/bin/bash
# create a list of files that are in current directory, writing only
# their names, in /tmp/current_files
ls > /tmp/current_files
# move the list of file names to current directory
mv /tmp/current_files ./current_files
# run contents of list file through tr, changing spaces into;
# underscores; write modified results to new file
cat current_files | tr ' ' '_' > current_files_new
FileCount=$(wc -l current_files | awk '{print $1}')
count=1
while [ "$count" -le "$FileCount" ]
# this will get fed to awk for processing
do ReadAwk="FNR=="$count
OldName=$(awk $ReadAwk current_files)
NewName=$(awk $ReadAwk current_files_new)
# use quotes so files with spaces in their names are interpreted
# correctly; suppress any output
mv "$OldName" "$NewName" > /dev/null 2>&1
count=$(($count+1))
done
# clean up when done
rm current_files
rm current_files_new
exit 0[/high]
Now my files' names looked like this:
Code:[www.somesite.com]fantasy_(10).jpg [www.somesite.com]fantasy_(11).jpg [www.somesite.com]fantasy_(12).jpg [www.somesite.com]fantasy_(1).jpg [www.somesite.com]fantasy_(2).jpg [www.somesite.com]fantasy_(3).jpg [www.somesite.com]fantasy_(4).jpg [www.somesite.com]fantasy_(5).jpg [www.somesite.com]fantasy_(6).jpg [www.somesite.com]fantasy_(7).jpg [www.somesite.com]fantasy_(8).jpg [www.somesite.com]fantasy_(9).jpg
Next I typed this at a prompt to remove the [www.somesite.com] from each file's name:
Code:for file in \[www.somesite.com\]fantasy*.jpg do mv $file ${file#\[www.somesite.com\]} done
My files now looked like this:
Code:fantasy_(10).jpg fantasy_(11).jpg fantasy_(12).jpg fantasy_(1).jpg fantasy_(2).jpg fantasy_(3).jpg fantasy_(4).jpg fantasy_(5).jpg fantasy_(6).jpg fantasy_(7).jpg fantasy_(8).jpg fantasy_(9).jpg
Next comes this, which strips the "(" from each file's name:
Code:for file in *\(*.jpg do mv ${file} ${file/\(/} done
Yielding:
Code:fantasy_10).jpg fantasy_11).jpg fantasy_12).jpg fantasy_1).jpg fantasy_2).jpg fantasy_3).jpg fantasy_4).jpg fantasy_5).jpg fantasy_6).jpg fantasy_7).jpg fantasy_8).jpg fantasy_9).jpg
Then this, to strip the ")" from each file's name:
Code:for file in *\)*.jpg do mv ${file} ${file/\)/} done
Yielding:
Code:fantasy_10.jpg fantasy_11.jpg fantasy_12.jpg fantasy_1.jpg fantasy_2.jpg fantasy_3.jpg fantasy_4.jpg fantasy_5.jpg fantasy_6.jpg fantasy_7.jpg fantasy_8.jpg fantasy_9.jpg
Done!
Please ask questions if you're not sure what/how/why something is being done in any of the above.
My caveat, as before, is to first try this in a dummy directory that contains *COPIES* of your files. That way, if something doesn't work right, or you make a typo, or whatever, you don't risk losing anything important. Once you're satisfied that it works as expected it, do it for real.
Thanks. *I* have used sed for over 25 years. However, the point of the 'lengthy script' was to teach a new bash scripting person how to step through various operations--and learn from them, without totally confusing them with symbols and sequences they'd have NO idea about.I highly recommend you look into sed and regular expressions. You can do all that work in one line wrapped by a folder/file nested loop structure. I will leave it up to the curious to look up sed and learn regular expressions. Very powerful and concise. It was designed for exactly these sorts of purposes to avoid writing of lengthy scripts. Cheers!