Time Saving Linux Desktop Tips?
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?"
GNU Screen is a featured packed window manager that multiplexes a physical terminal between several processes. You can detach from remote screen sessions and the program will continue to run. You can then re-attach later; an essential feature if you use ssh alot.
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.
Widgets work wonders. You'll have all the info you need spread out before your eyes.
return 0;
Just install superkaramba, works like konfabulator with widgets and stuff. http://www.superkaramba.com/
http://hocwp.free.fr/xbindkeys/xbindkeys.html
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
I am faily new to linux, but maybe these will help...
I do everything on my Ubuntu laptop so and hibernate instead of logout... so I get lots of "personal" clutter in my "business" windows. Most flavors of Linux have 4 desktop spaces I believe. I use the desktops to sort these things. I usually have two for business stuff, the third for personal stuff, and the 4th as a "scratch" area. Aside from switching back and forth between business desktops both with IDE, shell, etc, it seems to save a lot of time.
I am not sure if it is a GNOME feature or what, but being able to easily customize panels is really handy. One of the premade panel tools you can add is the "sticky notes" which seem to save me a lot of time. Normally, I make lots of "to do" type lists and keep them in unsaved buffers in my IDE. If I let my battery die or restart without thinking, they are gone. The sticky notes thing just seems to help a lot.
I use IM for work. On windows, Trillian seemed to be very space and time efficiant. GAIM doesn't seem to be a good replacement. So... no help there.
Also, I waste lots of time getting my wireless running after switching locations (which I do a lot it seems). If that were more streamlined, I believe I would save a lot of time.
Just a thought.
alias su="xterm -fg white -bg darkred -e su" so when you su, you get a new xterm in colors to remind you that that xterm is root.
Use fluxbox. The tabs mean that you can stack up things like xterms.
If you run gnome panel, you can put drawers on it. The drawers can contain swallowed apps, such as xterms running top, tail syslog, watch processes, etc. So you can pop open a monitor drawer and xterms running text monitors emerge.
Check into 3ddesk. It's an applet that maps your desktops onto a 3d cylinder that can be rotated with the mousewheel for desktop switching. Much more useful than it sounds. The visual preview and positional awareness that it gives make it possible to use many more desktops than you ordinarily could without them becoming useless clutter like they can with traditional pagers.
I don't know why you're concerned about maximizing real estate with a dual-head display. I get by just fine with a 19 inch display.
That said, there are some technologies emerging that will allow you to use x11 functionality to use a laptop or additional workstation as a second (or third) screen controlled by the same desktop. Check into x2vnc.
Intolerance for ambiguity is the mark of the authoritarian personality.
Learn ruby/perl/python/something and automate *everything* the each time you find yourself repeating a task that could be easily parametrized. Most of this is an attitude thing. If repetitive tasks don't annoy you, then you're not going to be able to eliminate them from your life. It will never seem worth the effort.
Also, get a decent window manager like ion 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.
Try Yakuake. Its a Quake like console for KDE. The best thing it can be hidden/shown with one key ( F12 default) so it doesn't steal your screen estate and can be enabled instantly when you need it.
Never learn by your mistakes, if you do you may never dare to try again
It's quite nice to be able to have multiple terminals visible at the same time and have quick cut-and-paste.
Try using gpm and you can do a quick cut-and-paste. Just hold the mouse left button down and highlight text to copy, then just click the middle mouse button (or both left and right or the scroll on a scroll mouse) to paste.
I keep a konsole window open with 5-10 shells open. shift-left shift-right to swith between.
Stay logged in on multiple machines and it is easy to swap between.
multiple terminals visible at the same time
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.
I agree strongly with this comment. And although sibling points out that it is possible to copy and paste with gpm, I still find X useful because I can see so much more stuff (in different windows) at the same time. And if you're one of those people that uses X as an Xterm container, a tiling window manager is essential.
PS: I find that wmii isn't very mature yet; I still prefer wmi-10.
Don't you hate meta-sigs?
He already has the operating system set up... you should really read the post before replying.
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.
If you want to maximize use of screen real estate there is nothing better than the ion window manager, especially if you have multiple monitors. It's the only manager I know of that lets you have a separate set of virtual desktops for each monitor that can be switched independently of one another. You will lose a lot of time, however, reconfiguring all the keyboard commands to not suck.
The GeekNights podcast is going strong. Listen!
First find a good window manager (initially spend the time if you have some exploring gnome, kde, enlightenment, twm, fluxbox, *box, what ever). Find something you like from that. Simple is good. Bling Bling is bad. I personally choose enlightenment. Multiple desktops! Use them. I have a 3x3 array setup with edge flipping so hitting the edge of the screen would push me to the adjacent desktop and have wrapping around. So within any desktop, I can access any other. Of course this is a personal preference. (I would imagine this taking someone a long time to get used to, but once you do its like gold). Create a convention on how you would use your desktops, for example the top row for work, middle for shells/web/information, middle last for email, and bottom row for shells. Something that you will feel good with. Learn your shortcuts (either for window manager, editor, or what ever software your using). Things I find useful are scrolling through desktops, autocomplete, saving/copy/paste, locking computer, open applications, change music. Personalize your enviornment and applications. Configuration files are there for a reason. Set up shortkut keys and use them. Of course when you are customizing it, do it only once (or twice) initially not everyday tweaking more than you edit your actual work. If its a work computer, do not even think about installing games. And get rid of those bookmarks, my productivity shot up as soon as the slashdot and other bookmarks went away. Organize all the work related bookmarks in a way thats easiest for you. Lot of other things I was planning to say are already written below. Enjoy.
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.
O frabjous day! Callooh! Callay!
Can you really do this with screen?
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. 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.
"What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
/)
Yes, and it does seem to be down. Try enlightenment.org.au, enlightenment.sf.net, or http://get-e.org/ (thanks to the helpful people in ##enlightenment at freenode)
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):
Dollar Highway Financial News
Umm... Some articles posted within the 10 hours before this one include this one, this one, this one, this one, and this one.
Go Here, I think that enlightment.org is down,but definitely check it out. It's my fav. Linux. Go to EliveCd to get a nice live version that you can install to the hard drive if u like it enough. Then check out this review for some good tips. Enjoy:)
And it's rather odd that you're the first to notice, since there's clearly no way the editors could have retroactively timestamped these posts. Nice critical thinking there, buddy. Somewhat ironic a juxtaposition with your sig.
No, I will have to disagree. I don't think time is saving Linux desktop tips. Anyone care to discuss?
I recommend running Xdmx and xmove. Possibly NX as well.
Xdmx will allow you to have very, very flexible control over how your dual monitor setup works. It not only supports your local two monitors, but will allow you to strap network pc's/monitors on to your existing setup with little fuss. I ran a six induvidual laptops as my primary display at work for some time with xdmx, and it worked very well. The only downside was my desktop was not quite beefy enough to handle a display size of 3072x1536. It also handles bezel sizes, if you prefer the "looking through a window" perspective versus xinerama's standard continuous desktop. It will support just about any monitor layout you want.
xmove gives you screen-like functionality for your desktop. Get up from your workstation, jump on a laptop with wifi, and xmove will pull the display output across the network - just like screen. Send the applications back to your desktop, and shut your laptop down. Bazing!
NX suppliments this with fantastic compression and will allow you to do stupid things, like do xmove/remote x work at home. Or resume a particularly stunning game of bejewled.
Take one of your screens and rotate it 90 degrees. Then dedicate it to a full-screen web-browser. Most websites benefit from extended vertical size. I have a 1600x1024 SGI LCD that I use just that way and it is great - I rarely ever have to scroll web pages anymore because most are less than 1600 pixels tall.
The question you should ask is why the hell your company is giving you a "very high spec'd machine with dual-head 1600x1200 screens." if your work only "involves web/e-Mail/SSH access".
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!
I don't know. My tasks at work are split roughly 50/50 between serious coding and sys admin work, which I do on a medium-spec'd dual-head Linux desktop. The sys admin part alone can get pretty resource intensive, especially when using multiple terminal sessions, X11 clients, and web-based monitoring and system administration applications (some with Java, javascript, ajax, etc). I'm constantly amazed at how much resources all that takes up.
Anyway, my favorite time saving tip is to use GNU Screen, a nifty virtual terminal multiplexer. You start it from a terminal window like xterm (or rxterm, or gterm...), and it immediately gives you your regular shell prompt. With a few key combinations you can start new terminal "windows," each with a new shell prompt, then switch back and forth between them. All this within one Screen process running in xterm.
While you're viewing one "window," Screen will track any changes to the other windows, and restore their state when you switch to them. So for example, if you start Pine on one, create another window and log in to ssh, you can then switch back and forth between Pine and ssh without loosing any of the text or having to manually refresh.
Sure you can do all that with multiple xterms, but Screen gives you many extra features. Terminal names can be set for each window, which can be presented in a list. Windows can be monitored for activity or bells. A status-line can also be configured to tell you various information (i.e.: current window name, cpu load, date..).
The biggest feature for me is the ability to attach to a single Screen process multiple times from different xterms, or even disconnect from and reconnect to a Screen process. I typically ssh to a half dozen development boxes, and `tail -f` various logs on each. Then if I need to check a log quickly I switch to the appropriate screen. If I need to actively monitor one or more logs, I start up new xterms, connect to the Screen instance, and switch to different windows with logs.
Of course you can use it for more than ssh: Pine, foreground apps that log to the console, local logs, top, console based IRC or IM clients, etc. You can also connect to your Screen process remotely via ssh. Since Screen will continue to run in the background if you disconnect, you can restart or crash your window manager or X server, and reconnect to your Screen session (a bonus for some of us bleeding edge early-adopters).
BTW, I've been using Screen since the mid 90's. My last Screen process was up for almost 400 days. I modified it slightly at compile-time to support 60 windows, up from the default max of 40, and typically had almost 60 windows running at any given time. I also run it on a dedicated headless small bsd box outside my linux desktop. The system is so stripped-down and bare-bones, it will only run screen, ssh, and sshd. Still, I can connect to it using multiple xterms, remotely, etc.
_______
2B1ASK1
http://ask.slashdot.org/~Hackeron/journal/101301
Virtual desktops are pretty awesome. I've moved from minimizing programs to just leaving them where they are and switching to another virtual desktop. I've also got a 3x3 setup, but I find that using ctrl+alt+numonthenumpad is the quickest way to work with them, since the numpad positions correspond to the layout of my desktops.
I also used the Ratpoison window manager for a while. I think that, depending on your computing habits, a tiled window manager could really be productive. If I were writing more code and switching between fewer windows I would definitely consider switching back to one.
Oh, and my front page has had articles regularly, with no gap larger than four hours between. Go to Preferences, and set the front page to display all the articles, not just the "best". There were articles posted, you just didn't bother to look.
Stasis is death. Embrace change.
(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!
Lurking at the bottom of the gravity well, getting old
Google answers my own question. It's called xmove
We live, as we dream -- alone....
1) install KDE 3.4 (it's faster, it's better all-round).
/usr/lib/mozillaNNNNN and /usr/lib/kde3 to
/etc/default/rcS and replace
/etc/default/hal and make sure DROP_DAEMON_PRIVS is
/etc/hal/device.d and do this: /usr/bin/fstab-sync 50-fstab-sync.hal
/etc/profile and add this:
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.
If you want to run X programs but hate managing so-called "windows", try ratpoison, the mouse-less, window-less window manager. It's screen(1) for X. No more space lost with decorations, no more time lost resizing and moving windows.
Prescriptive grammar:linguistics
Two words: LVM snapshot
.snapshot directory in every directory, but it's still really nice.
You can even automate the snapshotting. It only keeps track of pages that differ, so it doesn't use up much disk space unless/until the writable filesystem and the snapshot diverge a *lot*. The snapshots are presented as readonly block devices that can be left mounted somewhere so you can grab older versions or deleted copies of files. It isn't quite as nice as the Veritas