Friday, June 29, 2012

An image_desklet on your desktop above your wallpaper

Somewhere else I already put forward ADComps changing wallpaper: http://bbs.archbang.org/viewtopic.php?pid=10436#p10436
This is about a smaller image as part or above your wallpaper.
The best way to describe it is a rotating image desklet.
It was put forward here by ADComp: http://crunchbanglinux.org/forums/post/20061/#p20061
I always found it a great little script but it seems to be forgotten and had to be a little bit updated: http://pastebin.com/Ggs57V59
What you need to edit: link to image directory: line 12
Time to change image: line 15: in the script I have opted for 100000 seconds, so for a hardly rotating image (especially when you only have one image in the folder); just to make clear you also can choose for that, a non rotating image for a while.
Save the script as image_desklet and make it executable.
Put it in /home/user/.scripts with a symbolic link to /usr/bin
ln -s /home/paul/.scripts/image_desklet /usr/bin/image_desklet
Or directly in /usr/bin.
And put
image_desklet &
as a separate line in /home/user/.config/openbox/autostart.sh.

Wednesday, June 27, 2012

Voyagers Conky Control in Arch

 Conky Control is a very nice config tool for conky that you can find shipped with Voyager Linux, an Xubuntu based distro with  a very beautiful configuration, themes etc. : http://voyager.legtux.org/

See conky control in action here: http://www.youtube.com/watch?v=XelYd66FE0s from 1:45
You need to have conky-lua installed: https://aur.archlinux.org/packages.php?ID=31589
packer -S conky-lua
You can download the conky scripts here: http://ompldr.org/vZWoxMA
Put the extracted Conky folder in /home/user/.scripts

Backup your old folder/home/user/.conky.
Download the second folder (.conky)  from here and extract it and put it in /home/user/
http://ompldr.org/vZWoxYg
Create a symbolic link (adapt username):
sudo ln -s  /home/paul/.scripts/Conky/conky /usr/bin/conkycontrol
Now all you have to do is create a menu item in your OB menu or/and a keyboard shortcut to rc.xml
Menu, place it under:
menu id="preferences" label="Preferences"
 
See also for more code:here

If you have trouble getting ConkyCircle, option 14 right, look at this post: http://bbs.archbang.org/viewtopic.php?pid=16237#p16237

Monday, May 21, 2012

Trash plug-in for SpaceFM

For people who like to use a trash can in their file manager: there is a (Corbeille=) Trash plug-in developed for Spacefm:
Download it here.
Install it by opening Spacefm and going to Plugin section, install file, go to download folder and file and give root password.

Usage

Corbeille-SpaceFM consists of 9 commands (available in the SpaceFM menu Plugins | Trash if installed with root protection). Note that there's no command confirmation dialog before proceeding to the selected action.

    Move to Trash: you must select at least one file outside the trash directory to have this command enabled. Selected files will be moved to the trash.

    The keyboard shortcut Shift+Delete moves to the trash the selected files.

    Restore: you must select at least one file in the trash directory to have this command enabled. Selected files will be moved to their original location. If the original location already exists, the file won't be moved and an error will be displayed.

    Delete Permanently: you must select at least one file in the trash directory to have this command enabled. Selected files will be deleted permanently, so they will no longer be recoverable in the trash.

    Go to Trash: this command is always enabled. It will open the trash directory in a new tab in the current SpaceFM window. Also, if top directory trashes are detected (for example, a trash in a removable device), they will be open each in a new tab.

    Display Properties: this command is always enabled. It will open a pop-up dialog displaying the number of files in the trash and the total size of the trash.

    Empty Trash: this command is always enabled. It's just a convenient way to delete permanently all files in the trash. You can get the same result by selecting all files in the trash and choose to delete them permanently.

    Limit the Size of the Trash: this command is always enabled. It allows to reduce the trash to a given size. The files are deleted in ascending order of date of trashing (older trashed files are deleted first).

    Delete Old Files: this command is always enabled. It allows to delete files moved to the trash for a given number of days.

    Delete Big Files: this command is always enabled. It allows to delete files moved to the trash and whose size is greater than or equal to a given size.
More info on the plug-in: http://www.jpfleury.net/en/software/corbeille-spacefm.php

Saturday, May 12, 2012

fortune zippy


Yow!  Now I get to think about all the BAD THINGS I did to a BOWLING BALL when I was in JUNIOR HIGH SCHOOL!
OK, I  admitted it; Zippy the Pinhead is my only guru.
Gotta get your guru, guru (Eric).
So install
pacman -S fortune-mod
and ask the WISE MAN, our oraclae for your instant enlightenment.
And type once: fortune zippy
and contemplate and then arrow up and enter and contemplate and arrow up, enter and comntemplate and so on, ad infinitum.
Toes, knees, NIPPLES.  Toes, knees, nipples, KNUCKLES ...
Nipples, dimples, knuckles, NICKLES, wrinkles, pimples!!
Could we understand that life is meaningless and life is beautiful at the same head moment.
 I have a TINY BOWL in my HEAD


Wednesday, May 9, 2012

Opening Firefox maximized using rc.xml

Just add some lines to the application section in your /home/user/.config/rc.xml file; it is at the end of the file.
For code look here. post18.

Sunday, May 6, 2012

LVM logical volume manager

This post raised my interest in knowing more about LVM.

The whole concept of partitioning is changed to another level, with different keywords and rules. What is important of LVM is its flexibility that it provides to the user.

From the Arch Wiki:
With LVM you can more easily handle your partitions (logical volumes) than normal hard drive partitions. For example, you can:
  • Use any number of disks as one big disk(VG)
  • Have partitions(LV) stretched over several disks (they can be as big as all of your disk storage together)
  • Resize/create/delete partitions(LV) and disks(VG) as you like (it does not depend on position of the logical volumes within volume groups as with normal partitions)
  • Resize/create/delete partitions(LV) and disks(VG) online (filesystems on them still need to be resized, but some support online resizing)
  • Name your disks(VG) and partitions(LV) as you like
  • Create small partitions(LV) and resize them "dynamically" as they get more filled (growing must be still done by hand, but you can do it online with some filesystems)
So this is a very interesting offering.
Also taking snapshots of your system can be done in a much more space efficient way. The obvious disadvantage that it makes things more complex. If you want grub legacy you need to make a separate /boot partition as it cannot read from LVM volumes. And:
When choosing mountpoints, just select your newly created logical volumes (use: /dev/mapper/Volgroup00-lvolhome).
Do NOT select the actual partitions on which logical volumes were created (do not use: /dev/sda2). 
Details on the necessary configuration you can read on the wiki page. But it is definitely good to know what LVM has to offer because it offers solutions in all kind of situations and scenarios.

Sunday, April 22, 2012

Openbox resources are already mentioned before.
Today I found an old list on the Crunchbang forums.
This one is a classic: the Urukrama guide.
What I notice in a lot of descriptions of Openbox (an example) of new users of it, that its true power, the extensive use of the keybindings is not realy discovered and exploited; the true productivity power of Openbox is negated because most Windows educated pc users  are people, that are disabled by the crippling mouse use they are accustomed to. They even don't realize they have to unlearn certain bad habits to become an real openbox power user.
You leave out the best part of Openbox.
What you forgot to mention is the most important way to start programs in openbox; it is with keybindings that you define in one rather simple rc.xml file.
For instance Super+w start webbrowser; Super+t starts terminal etc.
I also use keybindings to manipulate my windows:http://stillstup.blogspot.com/2010/06/keybindings-to-manipulate-windows.html
Dmenu is my second program starter; its advantage compared to gmrun is that you get a list with all the installed programs and if you don’t know the name exactly you can select it from the list.
This all together makes you super productive as you don’t have to use your mouse anymore like before. Not only will that reduce RSI risk but you will notice how disabling the mouse use is compared to keyboard driven pc use.

Blog Archive