513 reputation
210
bio website sourceforge.net/projects/…
location Northeast
age
visits member for 3 years
seen Aug 24 at 16:48

Long time Linux user (currently kubuntu). Use Windows 98, and 7 when I have to. Programmed in many languages, currently using bash and awk for most things. Learning Python.

Have one project on sourceforge:

Duplex printing emulator for non-duplex printers (Linux)


Aug
24
comment How to change my own home directory?
I've never tried anything like this, but I would suspect you could boot from a live CD, move any directories/files, change the entry in /etc/passwd for the new home directory for your user and be good to go. Make backups of everything you intend to modify so you can put things back if it doesn't work as desired.
Aug
23
comment rsync copies files from working directory in addition to the requested ones
+1 for the useful coding method. You're right that I could have just eliminated the quotes - but only after I knew that that was the problem. The point that I wanted to leave readers with is that if you accidentally provide rsync with a null parameter like I did, it causes unexpected behavior. Apparently, several other Linux shell commands do the same thing.
Aug
16
comment No sound in any music player I choose in ubuntu 12.04
Glad it works! I really dislike that when it happens to me because I don't know if it will come back. Still, don't look a gift horse in the mouth! Sometimes, seemingly unrelated updates and upgrades will reinitialize things and make problems go away.
Aug
12
comment No sound in any music player I choose in ubuntu 12.04
Just saw your comment under the question. If your overall audio is OK, then the most likely thing is that your volume is turned all the way down or muted somewhere for the apps that have the problem.
Aug
12
comment No sound in any music player I choose in ubuntu 12.04
OK. Does anything else make sound on your computer (under Linux)? Do you hear a sound when the desktop manager starts? I know KDE plays one, so maybe your desktop does too. Can you play some audio/videos like those on YouTube in your browser? Usually, sound works as a whole. Either everything or nothing has sound - except for some players that have their own volume controls which can be muted. If I accidentally switch my sound profile to use HDMI output when HDMI isn't connected, then I have no sound. It may be something like that or having Mute selected somewhere.
Aug
6
comment Auto-switch audio to HDMI when HDMI monitor/receiver plugged into laptop
For another solution for this, see: askubuntu.com/questions/458194/…
Aug
3
comment No sound in any music player I choose in ubuntu 12.04
I know you don't want to use the command line, but ... If you (install and) run alsamixer from the command line, it brings up a primitive (curses based) graphical display which lets you see and adjust all your audio inputs and outputs. Once you get used to the keyboard shortcuts the program uses, it's really quick and easy. I use it whenever my audio isn't working the way I want it to as one of the first steps in finding out what's wrong. It's also the only way I've found that I can adjust the balance between my speakers when they aren't placed ideally for where I'm listening from.
Jul
23
comment Make a custom Compose Key for normal characters
Although this is the best, simplest answer, it's worth noting that almost any time you want to have your keyboard do something special for you, it's worth taking a look at AutoKey. It's a a full keyboard macro processor that can do almost anything when you type a trigger phrase or press a hotkey.
Jun
18
comment What does “TTY” stand for?
@JonathanLeffler There were ttys based on the IBM Selectric typewriter which used a ball for a print head. It rotated to position the correct letter for the hammer to hit, but it didn't actually "spin". They were nicer than ASR-33s. As you say, no matrix, just metal molds of characters on hammers that would strike an ink ribbon to print the letter on the page or roll of paper. They were an incredible advance over submitting a box of 80 column cards and waiting for an operator to load them.
May
25
comment xdotool does not type for me
@MinimusHeximus - Thanks! I posted an answer there.
May
24
comment xdotool does not type for me
xdotool is very cool, but you may want to consider trying autokey-qt. It does a lot of what xdotool does, but lets you configure everything in a gui. It's a full keyboard macro system with phrases and scripting in Python. Find info at https://code.google.com/p/autokey/w/list. It installs best from its ppa - ppa:cdekter/ppa.
May
24
comment What is a good GUI file renamer that takes files from command line URIs?
krename accepts file names on the command line, but will require a number of libraries (qt ...) which may not be installed by default on your system.
May
16
comment Where should I put my script so that I can run it by a direct command?
@Sparhawk - It's a personal preference. The reasons I advise against it are (only if you use custom programs with names of existing commands): 1) you get used to it and then it doesn't work when you are on another system and 2) if anyone else uses your system (e.g. to help you debug a problem), then they get unexpected behavior for commands with the same names. If you don't use the same names, then it's just faster to prepend the path as you do.
May
15
comment Where should I put my script so that I can run it by a direct command?
Adding $HOME/bin to the start of your path will make sure your scripts get seen before any elsewhere on the system. While this is convenient, it opens you up to all sorts of unexpected behaviors if one or more of your scripts has the same name as a command somewhere else in your path. This could potentially open security vulnerabilities as it it is much easier to gain access to a user account than one with elevated privileges. E.g. someone adding a script named ls to your bin directory that really runs an rm -rf * . Adding your $HOME/bin to the end of your path avoids most such problems.
May
15
comment How can I create a wget GUI with multiple progress bars?
@Glutanimate - If you haven't already posted this on the yad list, it's a great example to add. I know I'm going to study it. I've been using yad for a couple of years and love it. The developer is very responsive and helpful too.
May
15
comment Piping with Moreutils ts
awk is particularly well suited for things like this. awk code is generally a lot less dense and much more readable than sed and you can throw in as many print statements as you want to view partial results while debugging. You can put a whole awk program into a here document to avoid using a separate file and if you put quotes around the here document terminator string, then bash will ignore all the embedded tokens it would normally try to interpret.
May
15
comment Piping with Moreutils ts
I'm sure there's a better way, but try tail -f /dev/ttyUSB0 instead of cat or echo. It will keep running. I didn't know how to test this on my system.
May
8
comment How can I fetch lyrics for all my music and store them within the files?
Amarok and Clementine have an option to edit the lyrics which are fetched. I haven't tried it, but it must store them somewhere local and then retrieve them for you. Doing this on a song by song basis would be really tedious, but it would probably work.
May
8
comment Cannot change Wifi settings, stuck on WEP Security
You may have to go into network manager and delete the connections which use WEP. While you're connected via Ethernet (cable), go into your router's home page (usually with an IP address like 192.168.1.1, but it varies by brand) and make sure it is setup (under Wireless Connections) to use WPA with the password of your choice. Copy that password by selecting it and copying it into your clipboard. Disconnect the cable and try to connect wirelessly, paste the password in so no possibility of typos, etc. I have had problems like this a few times. I just keep trying and eventually it works.
May
8
comment Cannot change Wifi settings, stuck on WEP Security
What device (and model) is providing your wifi (your router or gateway)? I used to have this problem. When I got it to work, I went into the wifi manager and got the hex version of the password and used that on subsequent logins. For some reason, that worked. You may be able to get this from one of your other computers that can login.