Slashdot Log In
Time Saving Linux Desktop Tips?
Posted by
Cliff
on Sun Nov 27, 2005 10:32 PM
from the a-more-comfortable-GUI-experience dept.
from the a-more-comfortable-GUI-experience dept.
dan_polt asks: "I currently use a Linux desktop system, at work. One of the great things about the Linux desktop is that there are lots of ways to save a lot of time from useful widgets and configuration to minimize the pain of repetitive tasks. Most of my work involves web/e-Mail/SSH access, and I have a very high spec'd machine with dual-head 1600x1200 screens. What software or configuration tips might Slashdot have for me to: make better use of my time; make the most of my screen real estate; and make my use of the desktop more effective?"
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Outsource (Score:5, Funny)
2. You have more free time.
3. ???
4. Profit!
Re:Outsource (Score:5, Informative)
Parent
I'd recomend root-tail (Score:5, Informative)
About: root-tail is a program that allows printing of text directly to the X11 root window wherever you choose, much like running rxvt with a pixmap background but without the hassle and with more features.
Some code I use with it (there's TONS of options):
Parent
Enlightenment == simple?! (Score:5, Funny)
You just literally made me choke on my breakfast. Bad!
Well, choke laughing, so it's not all bad.
Parent
My advice... (Score:5, Insightful)
That'll save you a ton more time than any of the advice given here
Personally, I have tried to use as much as I can via Putty (SSH+screen) and keep everything I do in one window. It cuts down on how much I have taking up my real estate and it seems to make me more productive.
Even with a 23" LCD it's nice to have everything in one place.
The one useful script (Score:5, Funny)
rm -f
Parent
Re:The one useful script (Score:5, Funny)
Parent
Re:The one useful script (Score:5, Funny)
apt-get install pr0n;
Parent
Re:My advice... (Score:5, Informative)
putty is not a linux program, it's only for ms windoze - it's not needed on linux though, we just use ssh.
Putty is actually available for both Linux and Windows (even NT on Alpha!).
While it probably is overkill for just 'ssh hostname.tld', it is useful if you need to use features like port-forwarding and want to use a saved profile instead of supplying command-line options or hand-editing ~/.ssh/config, or for migrating from Windows while keeping the same SSH client.
Parent
Two 1600x1200? (Score:5, Funny)
Time saver (Score:4, Funny)
Quit f-ing around on Slashdot and get back to work!
Re:Time saver (Score:5, Funny)
In
127.0.0.1 www.slashdot.org
127.0.0.1
Helps me at work...
Parent
Re:Time saver (Score:5, Informative)
Parent
This is like setting your clock fast (Score:5, Interesting)
The problem I have with these tactics is that obfuscation strategies don't work against a sufficiently clever and determined opponent. And I'm very clever and determined when it comes to avoiding work.
No, the important thing to do is to sap your determination for wasting time. The reason people waste time is that they have so many commitments they can't keep them straight, although they're rattling around somewhere in their head.
The mind is like a thick, opaque stew -- you can only be aware of what happens to boil to the surface at the moment. We toss all the commitments we make to ourselves and others into the pot, and pretty soon its beyond us to know all the things that are in there. It's very common to harbor a unnamed suspicion that that something nasty like a severed human finger could surface at any second. This creates a tremendous resistance to even looking at the stew, much less stirring it up to find something important you've lost.
The secret to productivity is to change your mind from stew to consommé. To do this, you have to find some place other than your mind to put all your commitments. Then you have to look at all those things on a regular basis, because they'll sneak into your head if you don't. That's what people miss when they "get organized".
Simple program to clear your mind of frightening junk:
Parent
Turn it off (Score:5, Insightful)
Then, open a web browser in one window and a terminal in the other and get to work you slacker!
Linux Desktop (Score:5, Interesting)
Re:Linux Desktop (Score:4, Insightful)
It's quite nice to be able to have multiple terminals visible at the same time and have quick cut-and-paste. I like X a lot, mostly as a way to hold many xterms.
I do find, though, that as everyone writing for the web expects you to have a GUI browser, firefox is quicker than elinks for most things.
Parent
Re:Linux Desktop (Score:5, Informative)
The utility screen will let you split your terminal space between an arbitrary number of applications (and each one recognizes that it has its own tty).
quick cut-and-paste
Once again, screen has you covered, and will allow you to transport text between hosted applications; it even provides a spiffy vi-like interface for selection, and freezes the program output (no, it doesn't suspend) while you're doing this.
Parent
Re:Linux Desktop (Score:5, Informative)
Of course! Screen can do anything!
I'm not sure exactly what you're shooting for, but you can "split" a screen session like this:
In a console, run screen. This will create a new session inside screen. Tell screen to split the window by sending the keystrokes CTRL+a S (that's a capital 's'. If you send a lowercase 's' you will freeze the display. Resume it by sending CTRL+a q).
The screen should split into two vertical windows. Tab into the lower window by sending CTRL+a <TAB> . Now create a new shell by sending CTRL+a c. You can go back and forth using CTRL+a <TAB> . Once you have a shell running in each you can do and/or run anything you want to. To close a split session, give it focus and send CTRL+a X (note the capital 'x').
Gentoo's Wiki site has a nice writeup of screen [gentoo-wiki.com]. It makes it real easy to get up and running with screen. It includes the above example as well as instructions on how to resize the split and do many other things.
Parent
Re:Linux Desktop (Score:4, Informative)
PS: I find that wmii isn't very mature yet; I still prefer wmi-10.
Parent
The /. effect (Score:4, Insightful)
Term Productivity (Score:4, Informative)
Mount remote filesystems in KDE via ssh (Score:5, Informative)
Just enter in Konqueror
fish://user@yourdomain.com
(yes that is fish) and you will be asked for your ssh password.
Your remote files appear in Konqueror & you can then copy/paste etc to your local filesystem.
Re:Mount remote filesystems in KDE via ssh (Score:5, Informative)
And for the flamebait part, why is kde so unloved here in the USA?
Parent
Re:Mount remote filesystems in KDE via ssh (Score:5, Informative)
Parent
Re:Mount remote filesystems in KDE via ssh (Score:4, Interesting)
sshfs and smbfs work like a charm, although they have some...amusing "file systems" listed as well. (Such as a representation of a relational database as directories and XML files....)
Parent
Bind everything to a key combination (Score:5, Informative)
http://hocwp.free.fr/xbindkeys/xbindkeys.html [hocwp.free.fr]
Some good ones from my .xbindkeysrc:
"xmms --stop" Mod4 + Up
"xmms --play-pause" Mod4 + Down
"xmms --fwd" Mod4 + Right
"xmms --rew" Mod4 + Left
"emacs" Mod4 + e
"firefox" Mod4 + m
"oocalc ~/aspreadsheet.sxc" Mod4 + c
Depends (Score:5, Insightful)
Keeping in mind that these tips might not be at all applicable to you, here are a few things I've found that help me to be more efficient.
When doing software development, I like to keep code open in one window and documentation open in another. This is much more useful if your working with an unfamiliar language or API.
When I'm doing web design or coding in PHP I like to keep code open in one window and a web browser open in the other for testing.
Avoid keeping email or IM clients open at all times one one monitor. Even if you are in regular communication with co-workers having these things open all the time is a great distraction.
Choose a good Desktop Environment. While I like KDE for regular non-work stuff, I find that I'm often a lot more productive using WindowMaker, not really sure why this is though to be honest.
A few things you're bound to figure out over time (Score:4, Insightful)
2) Just like your desk, find out what needs to be where by trying new things. I find that email needs to be full-screen on a second monitor, and 'everything else' belongs on my l arger primary. I keep a few SSH terms open in virtual desktops so that I can have an open console when the poop hits the fan, but they're out of the way the rest of the time.
3) Use rsync or tar to backup your home directory frequently, because when you need to restore, you'll be glad you did. Most programming conventions in Linux make this much easier than in (say) Windows, as you don't have to worry about app config stored in weird places (registry), but you still need to be anal about backups.
4) Turn off the silly services to save CPU and Memory. 'chkconfig' in many modern distros (primarily redhat-based) will show you what's going to start at boot - turn off telnet, ftp (if you can use sftp), and the nfs daemons if you won't be serving NFS. Defaults suck, spend a few minutes tweaking these things and it'll help you much in the future.
5) Learn your favorite window manager well. If it's Gnome, or KDE, or whatever, learn it. Those of us who have been using Windows for a decade know the ins-and-outs of the Explorer interface, and it really saves us time - learning their equivalents in Linux will also save you time.
Wrong question (Score:5, Insightful)
Really; is your company's IT department stupid? Is your company run by dot-com-bubble-wanna-be's who want to repeat the past? When your tasks are so system-resource-undemanding, why did they pay for that machine for you? You could do your work on a 486! Literally!
Automation (Score:5, Informative)
Also, get a decent window manager like ion [cs.tut.fi] and learn its shortcuts. Developing more than a passing knowledge of Ion and Vim has doubled my productivity when debugging code. Ion makes one monitor feel like two, so I can imagine that on two it would be pretty damn good.
Three Words... (Score:5, Funny)
Two more letters... (Score:5, Funny)
Parent
Some simple things (Score:5, Insightful)
Let me explain your *BIG* mistake: (Score:5, Interesting)
Making better use of your desktop real estate means getting rid of a lot of junk. If you haven't already, I'd try saying goodbye to KDE/Gnome and getting the lightest possible window manager for the job: That's Fluxbox, ICEwm, Fvwm, or the desktop environment Xfce. (I'm low on sadism, so I won't recommend TWM. Anybody that 1337 wouldn't be posting this question.) This doesn't sound like much, but trust me, when you do away with that extra time waiting for KDE to load, you'll be faster and only have (in Fluxbox's case) a tiny slit in your way. No icons cluttering things up (yeah, we need a home directory icon on the desktop when it's in our menu, too! Sheesh!). Every Linux program on your system can be started from any window manager's menu, it's just a matter of editing the menu to launch the program. Too bothered to edit text menus? Then from the console, try "kicker" for KDE's panel, "gnome-panel" for Gnome's, and "xfce4-panel" for Xfce's, depending on what you have installed. I've tried them all and they work even from TWM!
As for time-saving: the key here is "automate". Anything you type in a terminal more than once is grounds for automation. Simply take the same commands you type and save them on a line each in a plain text file with the line "#!/bin/bash" at the top and the line "end" at the bottom. Save that file somewhere in your executable path (type "echo $PATH" if you don't know), and type "chmod +x [name of your program]". You can now execute it just like any other system program.
The next level of automation is programs that require interaction. Two work-arounds exist for this: "Here" documents are little scriptlets you can slip into Bash scripts to do simple keyboard commands for interacting with command-line programs that insist on recieving input. The more sophisticated approach is Tcl/Tk's "expect", which can be used to script damn-near anything (take a command-line web browser like lynx and feed it an expect script with the right instructions, and you can auto-post B1FF comments to Slashdot, even! (Provided you had a nick signed in.), sorry, guys, the secret's out!) I can't think of anything having to do with ssh and email accounts that couldn't be handled with all of the above.
This might be overkill, but anybody who's read "Beginning Linux Programming" by Neil Matthew and Richard Stones, courtesy of www.wrox.com, wouldn't have to post this question. I promise you could skip the GTK and Qt parts and brush up on Bash, at least, which is easier than BASIC on the Apple ][.
Doubtless, part of the indiference/hostility in here is because this is also the kind of question spammers ask, and you wouldn't find any people on Slashdot who deal with too much spam, now would you? I don't mind answering because, if you're a *good* wizard, you deserve to know this stuff as well as I do, and if you're a *bad* wizard, I haven't given you a damn thing you couldn't have gotten from a few hours of Googling.
My best (Score:5, Informative)
Control-R (Score:4, Informative)
If you crank up your history list to a few thousand entries and set it to forget dupes, you can recall any command you've issued in the last couple of months with just a couple of keystrokes.
Stop Trying to Save Time (Score:5, Insightful)
Of course that wouldn't be anywhere near as much fun. That's what you should do if you are really interested in saving time. If you just want to have the enjoyment of knowing your machine is optimally set up to do whatever it is you do then follow the other suggestions you find here.
Fix Less and vim (Score:5, Informative)
(whomever caused this behavior to be default; a pox on you)
p.s. Some bonehead in Usenet advises frobbing your terminal type to vt100 to get the same result. Do not do this. If you don't know why then especially don't do this!
Configuration and useability tips: (Score:5, Informative)
2) run prelink -v --conserve-memory -q -a
but first add
prelink.conf (and any other software such as openoffice)
3) on debian, edit
FSCKFIX="n" with FSCKFIX="y"
4) on debian, install hal, dbus-1 and udev, and then edit
commented out (this will make it possible for you to
mount auto-detected USB drives etc.)
5) cd to
ln -s
5) edit
export KDE_IS_PRELINKED="1"
these simple things will make your system faster, more robust in the face of complete technically incompetent blithering idiots who would otherwise blindly press ctrl-d when faced with a prompt saying "your filesystem is corrupted. give root password for maintenance or press ctrl-d", and also provide automatic access to USB devices that is otherwise bloody inconvenient.
Re:10 hours and 26 minutes? (Score:5, Funny)
Back to the drawing board...
Parent
Re:10 hours and 26 minutes? (Score:5, Interesting)
Parent
Re:10 hours and 26 minutes? (Score:5, Insightful)
Parent
Reasons not to implement this (Score:5, Insightful)
Parent
Re:10 hours and 26 minutes? (Score:5, Interesting)
Given a choice between a few articles of high quality and many articles of low quality, I'd take fewer articles.
Of course, that's a false choice, in two senses. First, there's no correlation between the number of articles and the quantity of articles. Second, it's not a choice Slashdot offers.
Parent
Re:10 hours and 26 minutes? (Score:5, Funny)
Actually you were right both times. Posting the same article 6 times (as was done a few days ago) shows there is no correlation betwen the number of articles posted and the quantity. It was 1 article (number) posted 6 times (quantity). It's slash-math. Don't try to understand it - it'll give you a brain aneurism :-)
Parent
Re:10 hours and 26 minutes? (Score:5, Interesting)
Some of the ads are actually useful. My business partner's going to get a gift from ThinkGeek (better not say what it is here since he might be watching!) And it looks like I'll be using ServerBeach for my next venture. So I wouldn't give up on ads, and as you say I like supporting Slashdot.
As for your substantiative criticisms, are we really bleeding users? I certainly haven't noticed any lack of comments. In fact, it might not be so bad if we did. It sure was nice when I could actually read every comment on the articles that interested me. Now I'm lucky if I can finish the first page of ten!
Digg is so different from Slashdot in my experience that I don't see them as competitors. I visited there, didn't see what the fuss was about, and came back here.
That being said, to me it's always been about the comments, and the rich experience they bring us here. For example, I've wanted to learn about on-demand water heaters for some time, and all someone had to do was post an article about some bogus new on-demand technology, and whammo! I found out pretty much everything a person could conceivably want to know about them.
The moderation system is clever, and really works, and that seems to be the main value added that Slashdot's founders have created. Other than that, it's been being in the right place at the right time and having the right idea.
As long as there's a good and active user community here, I'm still loyal to it. The founders aren't the most literate bunch in the world, and they make all kinds of silly mistakes, but this place seems to work and generate interesting stuff, and for that I'm happy.
D
Parent
Re:10 hours and 26 minutes? (Score:4, Insightful)
As for your substantiative criticisms, are we really bleeding users?
Yes. Six to twelve months ago, there were a few news stories about the Slashdot effect losing its power, and since then, the traffic analyses a few companies do have shown Slashdot to be receiving less traffic. To add my own anecdote, I've noticed a number of the smarter users who used to contribute here no longer do, and I've certainly been coming less often.
The type of users that are staying is of crucial importance. I've noticed the same thing happen to quite a few Usenet newsgroups. A bunch of newbies come in and annoy people, the signal:noise ratio goes down, the regular contributers/experts leave, and a year later, the place is full of newbie noise and no real answers.
Slashdot can survive pretty much anything, except for one thing: losing the smart contributors. In the past year or so, I've noticed the quality of comments declining rapidly, and if this continues as it has been, I fully expect Slashdot to be a complete joke a year from now.
Parent
Re:Quicksilver (Score:5, Funny)
sounds pretty good but typing all of those commas would just frustrate me.
Parent
Re:Switch... (Score:4, Informative)
Parent