Monday, December 28, 2009

The current gtkrc-2.0 (2)


## -----------------------------------------------
## Scrollbar configuration
## -----------------------------------------------
style "scroll"
{
GtkScrollbar::slider-width = 10
GtkScrollbar::stepper-size = 10
GtkScrollbar::fixed-slider-length = 1
GtkScrollbar::min-slider-length = 25
GtkScrollbar::has-secondary-backward-stepper = 0
GtkScrollbar::has-secondary-forward-stepper = 0
}
class "*" style "scroll"

Labels: , , , ,

Sunday, December 27, 2009

The current userChrome.css (2)


/* No "New Tab button" abomination */
.tabs-newtab-button {display: none;}

toolbarbutton.bookmark-item {
height: 0px !important;
/* font-size: small !important; */
margin-top: -3px !important;
color: black !important;
}

/* Remove the Bookmark star */
#star-button {
display: none !important;
}

/* Remove splitter between the URL and Search bars to save space */
#urlbar-search-splitter {
display: none !important;
}

/* Hide toolbar borders */
menubar,
toolbox,
toolbar {
border-style: none !important;
}

toolbar {
-moz-appearance: none !important;
}

Labels: , , , , ,

More about: config settings

network.prefetch-next > false

Disables the background downloading of websites. See the Link Prefetching FAQ

browser.backspace_action > 0

Backspace goes back on page at a time on the session history.

browser.tabs.tabMinWidth > 0

Needs Firefox restart, disables the "tab scrolling" (and the arrows at the extremes), the tabs with simply reduce their size to squeeze fit onto your screen.

Labels: , , , ,

Saturday, December 19, 2009

The current Ubuntu desktop

MurrineRounded glory
Metacity composite
GNOME-Colors beauty
Vladstudio wallpaper
Gnome desktop

The classic Ubuntu desktop

Un compressed copy on Image Shack

Labels: , , , , , , , , ,

The current userChrome.css

Fuegofox bites

Not many customizations on the file it self, since most of the Firefox tweaks I use right now, are either with Add-on or done via "about: config", but I'll post here nonetheless, so I can keep a record of what's going on around the file.

I have already posted the one on the awful "Create New Tab cross" icon... But the other entry below that one reduces over size (and increases the screen real state) for clamped resolutions.


/* No "New Tab button" abomination */
.tabs-newtab-button {display: none;}

toolbarbutton.bookmark-item {
height: 0px !important;
/* font-size: small !important; */
margin-top: -3px !important;
color: black !important;
}

Labels: , , , , ,

Thursday, December 17, 2009

The current gtkrc-2.0

My current setup, with the bold font for the Panel, and a slim scrollbar.

## ~/.gtkrc-2.0

style "modpanel"
{
font_name = "Bold"
fg[NORMAL] = "#423A2D"
}
widget "*PanelWidget*" style "modpanel"
widget "*PanelApplet*" style "modpanel"
widget "*fast-user-switch-applet*" style "modpanel"


style "scroll"
{
GtkScrollbar::slider-width = 11
}

class "*" style "scroll"

# EoF #

Labels: , , , ,

Wednesday, December 16, 2009

Empire of the Spam


Really don't know what might be the appeal, but the folks over at the East find this post rather nice to post and keep posting, and keep posting stuff... Over and over again...

"The Herculean Sony Vaio"

I simply say to them, if that is your cup of tea, then enjoy it.

Labels: , ,

iGoogle teases, simply teases me

The iGoogle weather forecast for Buenos Aires was totally and completely screwed and off the scale these last few days.
One can only dream about that marks around here...

Labels: ,

Ultra public Samba share

Create the directories first off:

mkdir /var/samba/pub
chown nobody:sambashare /var/samba/pub
chmod 0777 /var/samba/pub


And then the smb.conf file:

#== Global Settings ==
[global]

workgroup = THEGREATEST
server string = Samba server
netbios name = smbserver
security = share
encrypt passwords = yes
hosts deny = ALL
hosts allow = 10.10.2. localhost
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
time server = yes
load printers = no

#== Share Definitions ==

[comp]
path = /var/smb-files/comp
comment = Comp
public = yes
browsable = yes
printable = no
guest ok = yes
writable = yes
create mode = 0777
directory mask = 0777
force user = nobody
force group = sambashare

## EOF ##

Labels: , , , , ,

Sunday, December 13, 2009

Sunday de-gunk & HDD bump

It was yet another episode of the weekend de-gunk around here...
This time my beloved PowerBook got the cleaning ax, and on top of that, I have upgraded the HDD form the stock 80 GB, to a new 160 GB one.

  

No problem at all opening it up, and replacing the HDD, the "scariest" part of the whole process is pulling the HDD connector from the Logic Board, other than that, the thing it is a picnic.

Labels: , , ,

Wednesday, December 02, 2009

Ubuntu: Logwatch & RootKit Hunter on a workstation

On all my Linux servers I get a daily Logwatch report, so, since I'm using my Ubuntu laptops almost on a 24x7 basis, I would like to know what I have done in the past 24hrs, and how their are performing, so I have installed Logwatch on Karmic, but, since I don want to install and configure a lot of stuff, I have installed ssmtp as well, so the box can send emails without problems and without configuring a full blown MTA.

So here it goes.

$ sudo aptitude install ssmtp rkhunter logwatch

As usual, the logwatch needs a couple thing to get it up & working normally...
Create the missing directory:

$ sudo mkdir /var/cache/logwatch

And copy the default installation configuration file to its correct directory:

$ sudo cp /usr/share/logwatch/default.conf/logwatch.conf /etc/logwatch/conf/

And then edit the file '/etc/logwatch/conf/logwatch.conf', for the moment, the options that needs to be enabled are these:

Output = email
Detail = High


Later on, when everything is setup correctly and working, there is one last thing to edit on the configuration file, if you want to, and that is the detail, the amount of data that it will send on its daily reports; but for the moment, it is good enough to leave it with the default settings, so the test emails (and the CPU involved to create those reports) it is not wasted.

Then, onto the ssmtp stuff... Copy the original, and then edit the configuration file:

sudo cp /etc/ssmtp/ssmtp.conf /etc/ssmtp/ssmtp.conf.ORIG
sudo emacs /etc/ssmtp/ssmtp.conf


This file is super easy to configure, basically needs five configuration options, refer to this setup guide, Sending Email From Your System with sSMTP, you'll be sending emails with ssmtp in a jiffy.


EDIT:
January 29th 2010

Changed the Detail to High, it was on Low, the default.
Added a cp to the command:
sudo /etc/ssmtp/ssmtp.conf /etc/ssmtp/ssmtp.conf.ORIG

Labels: , , , , , ,

Tuesday, December 01, 2009

Bash (not) completion

Disabled the Bash Tab completion on Karmic -not the built in, but the extra chunky cheese version that comes default with Ubuntu- to see if it helps a bit with the freaking annoying freezes...

Commented on the file '/etc/profile':
  if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
## if [ -f /etc/bash.bashrc ]; then
## . /etc/bash.bashrc
## fi

And on my ~/.bashrc file:

## if [ -f /etc/bash_completion ]; then
## . /etc/bash_completion
## fi

Labels: , , ,