Showing posts with label Productivity. Show all posts
Showing posts with label Productivity. Show all posts

Lock Your Screen with Hotkeys in Lubuntu

Posted: Wednesday, August 1, 2012 | Posted by Unknown | Labels: , 0 comments
You can bind the screensaver lock command to CTRL+ALT+L by editing your Lubuntu keyboard & mouse configuration file. In the terminal, paste:
leafpad ~/.config/openbox/lubuntu-rc.xml
Find a spot where you see a lot of "keybind" words. Directly after a </keybind >, paste the following block:
<keybind key="C-A-L">
    <action name="Execute">
    <command>xscreensaver-command -lock</command>
    </action>
</keybind>
It should look similar to this:
Again, in the terminal, type
openbox --reconfigure
for changes to take effect.

Source: r/Lubuntu
Keep Reading...

LxScreenshot and LxFind: A review

Posted: Monday, May 28, 2012 | Posted by Unknown | Labels: , 0 comments
These little guys are getting a bit more stable. And it's nice to see some Lubuntu specific development occurring. So, here's what we've got:

LxFind is an app to locate files and documents on your hard drive.
It's a good start. I love how fast it is. And it locates my documents as advertised. However, I was disappointed. This app was billed as "simple" and "efficient", but I have to disagree. Most of the time I search for files, I look in one specific directory. It's called Documents.

The default directory for LxFind is set to the Desktop. Who searches the Desktop? And why can't LxFind save a default location? Not very "efficient" in my opinion.

Also, for such a simple app, why is there so much clutter on the window? There should be one text input box; the rest should be hidden in a drop-down options button.

Finally, it's not quite stable. When using it, openbox crashed on me.
LxScreenshot is also off to a nice start.
Like LxFind, it's not much to look at, but it gets the job done. However, I kept asking myself why it was important. In Lubuntu, the PrtScr button works well for entire desktop shots. My only need for a program like LxScreenshot is to capture active windows. Yet, the active window shots don't include the title bar (see below). This is a deal-breaker for me.
For now, I think I'll stick with my home-grown screenshot app.

So, all-in-all, a good start. But far from perfect.
Keep Reading...

Dual Monitors in Lubuntu

Posted: Wednesday, May 23, 2012 | Posted by Unknown | Labels: , 0 comments
If you want dual monitor functionality in Lubuntu, you have limited options. The following will show you how to enable and disable dual monitors "on the fly" using aRandR as help. These directions are a bit complicated, but trust me: they are not dangerous. This is a SAFE operation.

First, get aRandR from Synaptic or by opening the terminal and pasting:
sudo apt-get install arandr
You can find your new application under Menu -> Preferences
What you see is a virtual setup of your monitor arrangement. You will almost certainly have different names for your monitor, but here is what mine looks like.
Although you haven't really done anything at this point, save this configuration.
It will automatically create a new hidden folder called .screenlayout in your home directory. I would encourage you to not change the file location to help with later steps. I would also encourage you to use my file names as well. This one should be called "single"
Now add your second monitor. It should be hooked up to your computer at this point, of course. I added mine by scrolling through the only other monitors that allowed activation and selected it.
Position the monitors however you like. I prefer side-by-side, but you may also put one above the other. It doesn't matter which one is on the left (or the top). It's all up to you! Here's what I like:
Once you have your desired configuration, save it again. This time, name the file "dual".

The last step in this whole process is creating hotkeys to switch monitor on the fly. You may want to read this post first to give you an idea of what we're doing here. In the terminal type in the following:
sudo leafpad ~/.config/openbox/lubuntu-rc.xml
Scroll down to a place where you begin to see a lot of words that say <keybind>. You don't need to know what's happening here. Simply find a place after a </keybind>, but before the next <keybind> and paste the following:
<keybind key="W-2">
<action name="Execute">
<command>sh ~/.screenlayout/dual.sh</command>
</action>
</keybind>

<keybind key="W-1">
<action name="Execute">
<command>sh ~/.screenlayout/single.sh</command>
</action>
</keybind>
Your code should look a little like this:
Save. Close. Logout.

If you did everything right, you should be able to press Super-2 to activate dual monitor mode. To go back to one monitor, such as your laptop, press Super-1.

One final note about the lxde panel. When I switched into dual mode, my panel looked a little funny. If you experience this problem, open up your files you created with aRandR in the .screenlayout directory. Add the following lines to the bottom of the files:
lxpanelctl restart
Credit for much of this comes from this official Lubuntu screencast. If the method above doesn't work for you, the screencast give some other methods for achieving a dual monitor setup. Good luck.
Keep Reading...

Lubuntu Office

Posted: Thursday, May 17, 2012 | Posted by Unknown | Labels: , , 0 comments
Lubuntu ships with Abiword and Gnumeric as the default office programs. Don't get me wrong, I'm a big fan of both of these apps. But I've found certain parts of LibreOffice Writer to be essential. Although it is not as light as Abiword, writer is still snappy and the extra options are extremely useful.
If you're not familiar with LibreOffice, it's a fork of OpenOffice, and is considered by many to be hold the brightest future of the two. It is now the default office suite in Ubuntu.

To install the whole suite, paste the following into the terminal.
sudo apt-get install libreoffice
To only install the writer:
sudo apt-get install libreoffice-writer
This past week, after a software upgrade, the entire office suite got a nice visual upgrade. That is, it no longer looks like it runs on Windows, circa 1995.

I can't fail two mention two more essential (in my opinion) add-ons to LibreOffice Writer.

The first, is the Faenza icon theme. It's not colorful, but I love the minimalist, crisp feel. You can download it here with install directions.

The second add-on is the TexMaths extension.
It's an insanely fast, Latex editor for equations. Once you get hooked, MS word equation editor will seem incredibly dated.
Keep Reading...

Lubuntu Digital Clock

Posted: | Posted by Unknown | Labels: , 0 comments
Editing the digital clock in the Lubuntu panel is always one of my first tweaks after a fresh install.
To edit The format of the clock, secondary-click the clock text and select "digital clock settings."
However, I always forget which letters correspond to which date format. I've posted some of them below, but this tool will solve all your problems with a simple drag and drop web interface.
%a - The abbreviated weekday name (Sun)
%A - The full weekday name (Sunday)
%b - The abbreviated month name (Jan)
%B - The full month name (January)
%d - Day of the month (01..31)
%e - Day of the month (1..31)
%H - Hour of the day, 24-hour clock (00..23)
%I - Hour of the day, 12-hour clock (01..12)
%l - Hour of the day ()
%j - Day of the year (001..366)
%m - Month of the year (01..12)
%M - Minute of the hour (00..59)
%p - Meridian indicator (AM or PM)
%S - Second of the minute (00..60)
%w - Day of the week (Sunday is 0, 0..6)
%y - Year without a century (00..99)
%Y - Year with century
%Z - Time zone name
%% - Literal % character
Keep Reading...

Lubuntu Autostart Programs

Posted: Tuesday, May 15, 2012 | Posted by Unknown | Labels: , , 0 comments
Lubuntu 11.04+
If you need an application or process to automatically start at login in Lubuntu, you simply need to copy and paste applications from your applications folder into your autostart folder.

In your file browser, navigate to the applications folder:
/usr/share/applications
Find your targeted autostart program and copy it by secondary-clicking or CNTRL-c.
Next, navigate your file manager to the autostart folder:
~/.config/autostart
Paste your application by secondary-clicking or CTRL-v.
That's it! This can be used to autostart Dropbox, Docky, etc.

If you want to autostart a process instead, you'll need to create a separate .desktop file that executes the process you want. A simple file that opens alsamixer looks like this:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Alsa Mixer
Exec=alsamixer
You can change the Name and Exec to whatever you want. Save it as filename.desktop.

Keep Reading...

Lubuntu Hotkeys / Keybindings

Posted: Sunday, May 6, 2012 | Posted by Unknown | Labels: , 0 comments
Lubuntu 11.04 onwards.
There is no easy GUI shipped with Lubuntu for editing hotkeys. The easiest way to create key bindings for Lubuntu is by opening the terminal and pasting in the following code.
sudo leafpad ~/.config/openbox/lubuntu-rc.xml
This will open the hotkey configuration editor. At this point, you will need to search for the item you wish to edit. The following will help with some of the key codes:
C - Control Key
A - Alt Key
S - Shift Key
W - Super/Windows Key
Tab - Tab
Up - Up Arrow
Down - Down Arrow
Left - Left Arrow
Right - Right Arrow
Here's an example which binds Firefox to the key SUPER+f:
<keybind key="W-f">
    <action name="Execute">
        <command>firefox</command>
    </action>
</keybind>
Have fun...
Keep Reading...

Docky + Lubuntu

Posted: Monday, March 26, 2012 | Posted by Unknown | Labels: , 0 comments
Lubuntu 10.04, onward
There are a lot of dock options available: Cairo, wbar, etc. But my favorite is Docky.
To install docky, copy-and-paste into the terminal:
sudo apt-get install docky
Under Docky setting, click on the option to "Start when user logs in." Easy.

However, Docky will look very strange without composting. To enable composting, look here.
Keep Reading...

Lubuntu Quick Launch: Synapse

Posted: Tuesday, December 27, 2011 | Posted by Unknown | Labels: , 0 comments
Lubuntu 10.04 onwards.
I came to Linux/Ubuntu from OSX after falling in love with spotlight. To scratch your quick-launcher itch, there's a lot of options, but my favorite has become Synapse.
Synapse uses the hotkeys CTRL+SPACE to summon the launcher.
To install Synapse, open up LXTerminal and type/paste in the following:
sudo add-apt-repository ppa:synapse-core/ppa
sudo apt-get update
sudo apt-get install synapse
Finally, let's talk appearance. I used Synapse for about 5 months without compositing, but I finally took the plunge. If you want full aesthetic functionality, install a composite manager like xcompmgr. You can find instructions HERE.
Keep Reading...

Lubuntu Screenshots

Posted: Friday, December 23, 2011 | Posted by Unknown | Labels: 0 comments
The quick way to take a screenshot on Lubuntu is simply hitting the PrtSc button. It saves your file to your home folder.
However, certain actions can't be captured using the PrtSc button. Sometimes a time delay is required in order to begin a specific function. In cases like these, I use mtPaint. It comes default on Lubuntu. In the menu, there's a timedelayed screenshot option.
Although this is an easy solution, I found I wanted a way to shorthand the process even more. It's a small script/application that will appear in your menu. Here's how I accomplished it.
Step One. Open up Leafpad, copy in the following code, and save the file to your home directory as "screenshot.sh"
sleep 5; mtpaint -s
Step Two. Create an application that runs your shell script. First, you need root access of your applications file. Direct your file manager to:
/usr/share/applications
Now open the location as root.
Now, secondary-click -> create blank file.
Save as screenshot.desktop. Find your newly created file, secondary-click, and open with leafpad.
Paste the following code into the document and click save. Be sure to insert your username where it's appropriate.
[Desktop Entry]
Encoding=UTF-8
Name=Grab Screenshot
Exec=sh /home/YOUR_USER_NAME/screenshot.sh
Icon=gthumb
Type=Application
Categories=Application;Graphics;
The icon option can be set to any icon. You can view acceptable icons by looking through
/usr/share/icons
Keep Reading...

Lubuntu Composite Manager: xcompmgr

Posted: | Posted by Unknown | Labels: 0 comments
Lubuntu 11.04, 11.10. Will probably work for almost all flavors of Ubuntu.
In order to get apps like Docky and Synapse to work on Lubuntu, you will need a composite manager to handle window transparency. This doesn't ship by default in Lubuntu.

First, let's install the light-weight composite manager called xcompmgr. In the terminal, type:
sudo apt-get install xcompmgr
Enter your password and you're done.

However, installing xcompmgr is useless unless you set it to autostart at login. This part is a bit trickier. The simple method is to download the following .desktop file xcompmgr.desktop and place it in the directory:
~/.config/autostart
Hint: if you don't know how to show hidden files, simply press "[CONTROL]+h".

When you're finished, you should have something that looks like this. You might have other items or less items in this directory, but you should at least see the xcompmgr file.
Restart your system and you're compositing!
Keep Reading...

Bookmark Apps

Posted: | Posted by Unknown | Labels: , 0 comments
Lubuntu 11.04, 11.10. Will probably work for almost all flavors of Ubuntu.
Because I use the gmail web interface as my email client, I was looking for a way to create a "gmail.com" application/icon on my desktop. There are certainly "easier" ways to do this, but most beginers don't like using the terminal. Here's a GUI approach.

First, you need root access of your applications file. Direct your file manager to:
/usr/share/applications
Now open the location as root.
Now, secondary-click -> create blank file.
Save as gmail.desktop.
Find your newly created file, secondary-click, and open with leafpad.
Paste the following code into the document and click save.
#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Gmail
Exec=chromium-browser http://gmail.com
Terminal=false
Type=Application
Icon=gmail
Categories=Network;WebBrowser;
If you use Firefox, simply replace "chromium-browser" with "firefox". Also the icon option can be set to any icon. You can view acceptable icons by looking through
/usr/share/icons
Keep Reading...