Showing posts with label Configuration. Show all posts
Showing posts with label Configuration. Show all posts

Modifying Borders in Lubuntu's Theme

Posted: Friday, August 10, 2012 | Posted by Unknown | Labels: , , 0 comments
One of the small things that annoys me about the default Lubuntu theme is the black border around windows (below, left).
Instead, I prefer the lighter border (above, right). It looks more nuanced and sophisticated, especially on lighter backgrounds.

Here's a screenshot of the new theme as part of the entire desktop.
To get that look, one option is to download my altered openbox theme and replace the themerc file inside:
/usr/share/themes/Lubuntu-default/openbox-3
Remember, to paste a file into a root directory, you will need root access (Tools -> Open Current Folder as Root).
Download Theme! If you want to change the borders manually, you will still need root access to the themerc file. Edit it by searching for border.color and change the values to #CCCCCC. There will be a few of them.
Restart and enjoy your new theme.
Keep Reading...

Lubuntu Login Screen: Changing the LightDM Background

Posted: Thursday, July 26, 2012 | Posted by Unknown | Labels: , 0 comments
When Ubuntu changed to the LightDM display manager, the desktop background was configured to change based on the user's configurations. However, this never made it into Lubuntu 12.04. So if you want a seamless look between your desktop and your login screen, or if you have some atrocious image you want all users to view before logging in, read on...

The first thing is to locate your background image and place it in the root directory. (Obviously, if it's in your home folder, this is inaccessible once you log out.) I suggest you place it where the other root background images are located.
/usr/share/lubuntu/wallpapers
Open this location with root access (Tools -> Open Current Folder as Root)
Paste in your new login background image or drag-and-drop.
In the same root-access window, open the LightDM configurations:
/etc/lightdm
Open the file named lightdm-gtk-greeter.conf
Finally, change the background option. Because the image should be in the same directory, simply change the file name.
Logout and enjoy the new eye-candy.
Keep Reading...

Moving Close, Maximize, and Minimize Buttons in Lubuntu

Posted: Sunday, July 22, 2012 | Posted by Unknown | Labels: , , 0 comments
Those who come to Lubuntu from Mac OSX may like their window buttons on the left side of the title bar rather than the default settings (right).
To accomplish this, you need to open the lubuntu configuration file and edit one line. In the terminal, copy-paste in the following line:
leafpad ~/.config/openbox/lubuntu-rc.xml
The file will open in the text editor. At this point, search for the following line of code (it will be about 45-50 lines from the top):
<titleLayout>NLIMC</titleLayout>
The order in which you list the N, L, I, M, and C in the line above dictates the order your buttons appear.
To get the order of the first picture above, I used the settings:
<titleLayout>CMILN</titleLayout>
As listed in the comments of the file, here are the available characters. Each can occur at most once:
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).
Logout. Login. Enjoy your new button positions.
Keep Reading...

Lubuntu Screensaver Lock

Posted: Friday, June 15, 2012 | Posted by Unknown | Labels: , 0 comments
If you want to remove the lock on your display after your screensaver comes on or during a suspend, you must disable the "lock" in two different places.

First, open the power manager. You can click on the power icon in the panel and select "preferences"

or it should also be in Menu -> Preferences -> Power Manager.
De-select "Lock screen...." under the "Extended" menu tab as shown in the picture above.

Second, open screensaver preferences. Menu -> Preferences -> Screensaver.
Again, de-select "lock screen..." at the bottom of the window.

Let me know in the comments if that helped!
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 Panel Location

Posted: Tuesday, May 22, 2012 | Posted by Unknown | Labels: , 0 comments
If you are using docky and want to move the Lubuntu Panel to the top of the monitor, here's how.

First, secondary-click (left-click) the panel at any location and chose "Panel Settings."
Second, click on the "top" edge radio button.
If you want to change the color of your panel, click on the appearance tab and select the "solid color" option.
I use the following options WITH approximately 50% opacity. If you want to see my entire desktop, click here.
Finally, if you're using docky and want applications to minimize to the dock rather than the panel, remove the "Task Bar" applet from the "Panel Applets" menu. Here's my setup:
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 Sound on MSI X370

Posted: Sunday, May 6, 2012 | Posted by Unknown | Labels: , , 0 comments
I had trouble getting sound to work on my MSI X370 after loading both Lubuntu 11.10 and 12.04. If you're having similar issues, here's what I did to get it working.
First, I installed pulseaudio and alsamixer from the Synaptic Package Manager. Open Synaptic, and search for the two items.

Pulseaudio got sound working again, but I was still having trouble binding my audio keys to the sound card because it wasn't treated as the default card. To change the default card, I entered the following into the terminal
sudo leafpad /etc/modprobe.d/alsa-base.conf
and added this line to the bottom of the file:
options snd_hda_intel index=1
Reboot and crank it loud!
Keep Reading...

Lubuntu Hotkeys / Keybindings

Posted: | 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...

Lubuntu: gconf-editor

Posted: Wednesday, December 28, 2011 | Posted by Unknown | Labels: , 0 comments
Lubuntu 10.04-11.10
There are times when editing the configuration files of a particular app is done most easily using a tool like gconf-editor.
This editor ships by default with Ubuntu, but not Lubuntu. If you want it, here's how to get it:

First, open up LXTerminal. Then type/paste in the following code.
sudo apt-get install gconf-editor
Done. To use the editor: Applications -> System Tools -> Configuration Editor
Keep Reading...