When not actually reading on the computer screen, I like to have the UI as tiny as possible so it won't consume all that precious working space.
On kde and Gnome applications I do that using their respective theme configuration files (eg. ..gtkrc-2.0).
One of the biggest annoyances on Blender, for me, was that the UI, especially text, take up too much space and I was unable to resize it to a more comfortable – read small – size.
Searching the web I found the answer at georgik's blog:
Menu → File → User Preferences.
In the System tab, which is the one that opens by default, change the DPI value at the General settings.
Wednesday, September 21, 2011
Friday, June 17, 2011
conditional authentication in apache
Just so I can find it later..
AuthType basic
AuthName "Sub Domain authentication"
AuthUserFile /var/www/virtual/.passwd
Require valid-user
Satisfy any
Order deny,allow
Deny from all
Allow from 192.168.100.0/24
Wednesday, May 25, 2011
ssh port forwarding
At home I have dnated port ssh to my trusty old PC. From time to time, while at work, I need to access services I run on that machine. For a while I used to use a OpenVPN vpn to gain access but lately I've had some forewall issues.
So I went back to the good old openssh. To bind port 8080 at my notebook to port 8080 at home I just run the following command:
ssh artista@frustrado.no-ip.org -L 8080:127.0.0.1:8080
So I went back to the good old openssh. To bind port 8080 at my notebook to port 8080 at home I just run the following command:
ssh artista@frustrado.no-ip.org -L 8080:127.0.0.1:8080
Saturday, April 16, 2011
Xorg + Wacom Tablet - configuring dual monitor with tablet working on only one
I must admit: I love my dual display setting, a 2880x900 virtual display composed of 2 19" monitors alamost as much I love sketching with my tablet. If you have seen any recent posts at pincel quebrado (broken brush) you can see how much I've been toying around with my tablets and Gimp and Krita.
But dual display and tablet configurations always had one huge problem: the x-server only uses half of the height of the tablet so it can set the right width. It is a pain to use only half of the tablet so for many years I've disabled dual head and lately created a user for only this purpose that I'd start in another x-session.
Digging through the piles of senseless info available in the web I finally found the solution to the problem, which now seems stupidly obvious: xsetwacom
For setting dual display on my desktop I use:
Which puts my DVI monitor at the right of my VGA monitor. Then use xset wacom to restrict my tablet to my DVI, right, monitor:
But dual display and tablet configurations always had one huge problem: the x-server only uses half of the height of the tablet so it can set the right width. It is a pain to use only half of the tablet so for many years I've disabled dual head and lately created a user for only this purpose that I'd start in another x-session.
Digging through the piles of senseless info available in the web I finally found the solution to the problem, which now seems stupidly obvious: xsetwacom
For setting dual display on my desktop I use:
xrandr --output DVI-0 --right-of VGA-0
Which puts my DVI monitor at the right of my VGA monitor. Then use xset wacom to restrict my tablet to my DVI, right, monitor:
xsetwacom set "Wacom Intuos2 9x12 stylus" "MapToOutput" DVI-0
xsetwacom set "Wacom Intuos2 9x12 eraser" "MapToOutput" DVI-0
xsetwacom set "Wacom Intuos2 9x12 cursor" "MapToOutput" DVI-0
Thursday, March 17, 2011
reset redmine password throught the commmand line
Copied and pasted form http://bitnami.org/forums/forums/redmine/topics/lost-redmine-adminstrator-password
$ cd ${installdir}
$ ./use_redmine
$ cd ${installdir}/apps/redmine
$ ruby script/console production
>> u = User.first
>> u.password = u.password_confirmation = "newpassword"
>> u.save
>> exit
$ cd ${installdir}
$ ./use_redmine
$ cd ${installdir}/apps/redmine
$ ruby script/console production
>> u = User.first
>> u.password = u.password_confirmation = "newpassword"
>> u.save
>> exit
Subscribe to:
Posts (Atom)