Monday, October 31, 2011

How to Make openbox menu transparent -Arch

Remove xcompmgr
#pacman -R xcompmgr

Install xcompmgr-dana:
$packer -S xcompmgr-dana

Add to /home/username/.config/openbox/autostart.sh:
xcompmgr -fF -t-5 -l-5 -r4.2 -o.55 -D2 -m.83 &

Thanks Dana for your work on Openbox!!

Sunday, October 30, 2011

Free ebook for self-service Linux Problem Solving

Read more here: http://www.debianadmin.com/self-service-linux-mastering-the-art-of-problem-determination.html

Educational software

Good introduction article about educational software on the Linux desktop.
Some essential links from it:
The KDE Education Project

Schoolforge.net : To find Linux software check under Education Software on the left side of the page and select the GNU/Linux operating system at the top of the list.

Tux4Kids

and a link to a pdf file
Kids's Software for Linux

What this article leaves out of its focus is the incredible amount of cross platform educational pages on the web. Many use Java, youtube or flash content. I would like to mention the khanacademy.org site as a great example of youtube based content.
JClic as an example as community driven java software.

Thursday, October 27, 2011

Copy partitions and correct partition size and empty space

Copied partition sda 11 (30 gb) to a bigger partition sda15 (43gb), both are ext4
using

#dd if=/dev/sda11 of=/dev/sda15

You have to be patient because dd soesn't give feedback until finished whict took me nearly 56 minutes.


Using sdd -t if=/dev/sda11 of=/dev/sda15 will report total time and show progress.

The bigger partition sda15 is shown with the size of sda11.

Gparted shows the partition with the right total size.
But used 33.75 gb and unused 9.34 gb which is not correct.
The file managers show wrong total size (that of sda11) and the wrong free space too.


I did this:

Solution

After shrinking the partition with gparted with 1 gb and then resizing it to its original size the problem is solved and the right information is there for the filemanagers and gparted: 42.4 gb total size and 20.1 gb free.


But the better and easier solution is :

After using dd to clone smaller partition to larger partition:
Run in root term:

resize2fs /dev/sda15


Thanks Kruppt

see: http://bbs.archbang.org/viewtopic.php?pid=6320#p6320

Saturday, October 15, 2011

daa to iso conversion

Checkout AcetoneISO - a GUI utility for Linux and the disk image emulator that mounts images of DVD and CD media. It can open your .daa file.


Friday, October 14, 2011

When updating to xorg-server 1.11 leads to problems with Nividia driver

For being able to prevent this problem:

First remove all unnecessary video drivers: http://wiki.archbang.org/index.php?title=Xorg_Desperate_Mode_Guide


Add this line in /etc/pacman.conf:
IgnorePkg = xf86-input-evdev xf86-input-mouse xf86-input-aiptek xf86-input-synaptics xorg-server xorg-server-common xorg-apps xorg-xkb-utils xorg-server-utils xorg-utils synaptics libgl libdrm xorg-res-utils xf86driproto xf86-input-keyboard xkeyboard-config
And update.

When you are too late to prevent it.
When you have to recover do the same with ect/pacman.conf
Move in terminal to /var/cache/pacman/pkg
and do:
pacman -U xorg-server-1.10.4-1*
I do * because I don't know if you have a 64 bits system or not
and reinstall nvidia.

Friday, October 7, 2011

Create Move to Trash for pcmanfm-mod

People who get the creeps if their files are deleted permanently by deleting in a file manager can choose for a right click option Move to Trash folder in the pcmanfm-mod context-menu.

First step: create the script
It is a modification of a volume aware delete script from here
To spare you the work of the modification I put the modified script here: http://pastebin.com/XRmmKr7R
Copy it to a text editor and save it as del, make it executable
chmod -v 755 /path/tofolder/del

and move it to /usr/bin/.

Second step
Now we can create the right click Move to trash option for pcmanfm-mod

First copy the file /usr/share/applications/pcmanfm-user-f6.desktop to ~/.local/share/applications/
Edit this file in second and third line to:
Name=Move to Trash
Exec=del
Save. Done. When restarting pcmanfm-mod and you right click on a file or folder you want to delete you see the option Move to Trash
Use it and your file will be save in the HOME/.local/share/Trash/files folder.

Thursday, October 6, 2011

When sandfox doesn't close well


  1. Hi I have created the sandfox script in etc/rc.d. And added sandfox as daemon.
    The problem I have is that the sandbox isn’t deleted when shutting down. I have to do it by hand. How could I solve this?

    It is a firefox sandbox and an Arch installation

  • Not sure why it won’t close the sandboxes for you – make sure you close all programs using the sandbox, but during shutdown I would think that would happen already. Sometimes a process will hang on too long.

    You might try adding the close command to /etc/rc.local.shutdown:

        sandfox --closeall --user myuser

    You could run

        lsof | grep sandfox > somefilesomewhere

    in the shutdown script and see if anything is reported running in the sandbox. You might also try logging sandfox with ––verbose enabled and see if that gives any clues. Try to determine a) if the closeall command is executed, b) if any error is given by it.

Blog Archive