Wednesday, January 30, 2013

Aptosid openbox font configuration

It is amazing what  some fonts can do for the looks of a window manager.
This is the fonts as found in obconfig, tab Appearance in my aptosid openbox install:
Active window title:    Avenir LT45  s14
Inactive window:        Title Cicle  Fina13
Menu header:             DejaVuSans ExtraLight 12
Menu Item:                  Liberation Sans 12
Active On-screen display:  DejaVuSans ExtraLight 12
Inactive On-screen display:  Sans 12
It should be added that this is shown on a 24 inch monitor, 1920x1200



Monday, January 28, 2013

Logout in openbox with keyboard keys

Sometimes I have my monitor shut down but leave my pc on for some downloading or transcoding or other job. It is nice to have a keyboard shortcut to do that, I use W+x and put this between the command bracket:

/home/user/.config/openbox/rc.xml
...
xterm -e "sudo shutdown -h +1"
...
 
Replace xterm if you are using another terminal. One minute is to give me the opportunity to have second thoughts and cancel with ctrl +t and
sudo shutdown -c.
In this post I give a solution for a better look of QT applications in an Openbx environment. Some things get easier
Adding in

~/.config/Trolltech.conf
...
[Qt]
style=GTK+
...


QT applications start to look like good looking gtk applications.

Saturday, October 6, 2012

Jpeg2pdf convert images to pdf Arch

 To install from AUR: packer -S jpeg2pdf
In terminal: jpeg2pdf -a  /home/paul/booklet  pdfbooklet.pdf

Friday, September 7, 2012

Replace systemd with patched udev

On the Archbang forums you can read a lot about the problems some of us have with the systemd replacement of initscripts in Arch.
Aline  used an forked udev script  from the gentoo community and provides more info how to remove systemd from your Arch installation without problems.
I'm quoting Aline now, whom I thank again for her contribution:
This is my PKGBUILD from the udev fork: http://pastebin.com/L5ZTkBVC
And this is the old PKGBUILD from initscripts: http://pastebin.com/LAjxTpEZ
I've installed both, rebooted. There are a lot of packages that is linked against udev libraries, so I had to rebuild all of then. For this I use yaourt + customizepkg-new from aur. For most of the packages I only had to create a empty file in /etc/customizepkg.d/. For example xorg-server, I have a empty file /etc/customizepkg.d/xorg-server
Customize-pkg you can download here:
customizepkg-new: https://aur.archlinux.org/packages.php?ID=31646
For more details see also: http://bbs.archbang.org/viewtopic.php?pid=18037#p18037


Other relevant links about alternative solutions:
about udev-lts from Jubei: https://bbs.archlinux.org/viewtopic.php?id=148429 
and http://bbs.archbang.org/viewtopic.php?pid=18160#p18160
about Ignite, asimple and robust init replacement
Allow disabling the build of all of systemd, leaving just udev: http://www.spinics.net/lists/hotplug/msg05503.html
We have to wait and see what will surface as the most easy, reliable  and  lasting solution.

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.

Blog Archive