Wednesday, August 1, 2012

Savedefault option leads to error 15 file not found

We are talking her about a known grub bug, well at least in Arch
The savefault means that when you boot into Windows for example, the next time the default booted OS will be Windows again.
It is the savedefault flag that causes the bug, the "file not found error 15" and also "filesystem unknown type 0x7".

It can be solved by doing as root in terminal:
#grub-set-default 0

Tuesday, July 17, 2012

Adapt colours in gtk-theme

For years I adapted a Madbox theme to a Madpablo theme.
Today I changed some colours in that theme. Themes can be installed system wide in usr/share/themes or locally in /home/username/.themes. In the theme folder you will find the files you will need to edit. In line 8 of the gtkrc you will find the gtk_color_scheme:
I changed;
 nbase_color to #A9A28F (from warm yellow to olive),
nbg_color to #E4DDCB (was #D8D8D8, GREY)
and nselected_fg_color to #F8CCAC (salmon).

In index.theme I changed  bg_color to #E7DECF.
I use gcolor2 to pick and find the colours I want to use.

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.

Blog Archive