Here's how to make brightness keys (eg. F1 and F2) to work on Mageia 2 on Gnome 3.
Add this line to the Device section of the xorg.conf (after you configured the proprietary drivers under Mageia control center):
Option "RegistryDwords" "EnableBrightnessControl=1"
Here's the page that helped me.
Edit: note that this configuration may lead to X11 crashes as well as the same configuration with noveau (which does not need any Option in x.org.conf).
2012/06/06
2012/05/26
Mageia 2
It's out. It's amazing. It works on the macbook pro. Enough said.
Go update or install NOW!.
Go update or install NOW!.
2012/05/21
2012/05/15
Fixin a form PDF saved with Mac OSX Preview
Working with tax forms, this year I found the form as an editable PDF.
Unfortunately I had the bad idea of editing e saving it with preview, rendering t unusable with Adobe Reader, which I had to use to print with a windows machine.
Google came to my rescue.
http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
So this is what I have done:
Unfortunately I had the bad idea of editing e saving it with preview, rendering t unusable with Adobe Reader, which I had to use to print with a windows machine.
Google came to my rescue.
http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
So this is what I have done:
- I installed the javascript in my linux box (in ~/.adobe/Acrobat/version/JavaScripts)
- This as per the documentation add a new option to the file menu, so you have to open the file which does not display the edited items and use " Fix Field Appearances"
- Now you can't save the PDF, but you can print it to a PS file
- run ps2pdf on the ps file and enjoy your pdf ready to be transferred to your windows box.
- Profit... :)
2012/03/21
Mageia 2
Mageia 2 Beta2 is out.
The main new features from Mageia 1 are:
Sadly, NetworkManager still fails me (fortunately, Mageia includes Mageia Control Center so network configuration is still a breeze, even if there's no connection monitor on Gnome3).
Currently, I'm using the Gnome3 desktop as main environment on this installation and the only complaint I can think of is lack of customization possibilities.
The main new features from Mageia 1 are:
- Kernel 3
- Systemd
- KDE 4.8
- GNOME 3 (currently 3.3, 3.4 is planned for release)
- Many updated browser versions (Firefox, Chromium, Opera)
Sadly, NetworkManager still fails me (fortunately, Mageia includes Mageia Control Center so network configuration is still a breeze, even if there's no connection monitor on Gnome3).
Currently, I'm using the Gnome3 desktop as main environment on this installation and the only complaint I can think of is lack of customization possibilities.
2011/02/09
Fixing click to focus problem on Gimp-X11 on MacOS X
If you try to use gimp on MacOS X, you'll find that all the clicks in the tool window needs to be repeated twice, once to select the window and once to select the tool.
If you don't like this beaviour, I stealed from this site the solution:
1. Open a terminal
2. Write
4. Enjoy
If you don't like this beaviour, I stealed from this site the solution:
1. Open a terminal
2. Write
defaults write org.x.X11 wm_click_through -bool true3. Restart X11 if you have it open
4. Enjoy
2010/11/19
Fix MSN certificate problem with Pidgin
To make a long story shot, grab the certificate (here) and install under Pidgin.
Screenshots here.
Update: Of course the update to Pidgin has been issued and all. Just a reminder.
Screenshots here.
Update: Of course the update to Pidgin has been issued and all. Just a reminder.
2010/10/15
Come utilizzare Time Machine su share Samba (non supportato)
Eccomi con la versione italiana del mini-howto. È probabile che aggiunga degli screenshot non appena rimetto le mani sul MacBookPro.
Ieri mi sono cimentato nel convincere TimeMachine a utilizzare una share di rete samba come disco di backup, dato che ho completato la configurazione del mio MSI Wind Box con dual Atom.
Così, dopo un po' di prove, controprove, smanettamenti e ricerche su Google, ho trovato questo post sul forum di macrumors, che mi ha fatto risolvere tutti i problemi.
ATTENZIONE: Questa modalità d'uso di TimeMachine non è supportata da Apple, quindi usatela a vostro rischio... eccetera.
Richiede l'uso del terminale.
Ieri mi sono cimentato nel convincere TimeMachine a utilizzare una share di rete samba come disco di backup, dato che ho completato la configurazione del mio MSI Wind Box con dual Atom.
Così, dopo un po' di prove, controprove, smanettamenti e ricerche su Google, ho trovato questo post sul forum di macrumors, che mi ha fatto risolvere tutti i problemi.
ATTENZIONE: Questa modalità d'uso di TimeMachine non è supportata da Apple, quindi usatela a vostro rischio... eccetera.
Richiede l'uso del terminale.
2010/10/14
Using (unsupported) SMB shares for Time Machine
Yesterday, after setting up my Samba NAS based on a dual-Atom MSI Wind Box, I fought against Time Machine, which refuses to use a shared folder as a backup disk.
So after a long struggle, I found this forum post which make everything work.
DISCLAIMER: this use of Time Machine will be unsupported by Apple, so use it at your own risk, warranty is void, and so on.
Terminal access is required.
So after a long struggle, I found this forum post which make everything work.
DISCLAIMER: this use of Time Machine will be unsupported by Apple, so use it at your own risk, warranty is void, and so on.
Terminal access is required.
2010/09/21
About Mandriva
This post is about my own opinion on the whole Mandriva issue.
(for the Italian version, keep scrolling)
I think that putting up a forked project for the "community" edition of Mandriva (Mageia) is good. This should become what Fedora is for Redhat, a community-driven distribution, high on Mandriva standards and willfull to embrace new technologies in Cooker.
The company should leverage Mageia by producing a derived distribution from the stable version, including former One live editions, and selling powerpacks. From the solid base, they should expand and integrate the Enterprise Editions
Having both Mageia and Mandriva, the community should try to integrate both distribution to work with binary packages in the contrib, plf and mib repositories, so you should have binary compatibility in the stable Mageia version and in Mandriva. Projects like Codeina should go on and simply just work.
We will see if the sinergy will work correctly as I hope. In the meantime, having a backup project like Mageia, will easy the transition for many users, including myself. For now, I'm postponing the migration to CentOS as it seemed so obvious to do it just a few days ago.
(for the Italian version, keep scrolling)
The Fork
I think that putting up a forked project for the "community" edition of Mandriva (Mageia) is good. This should become what Fedora is for Redhat, a community-driven distribution, high on Mandriva standards and willfull to embrace new technologies in Cooker.
The Company
The company should leverage Mageia by producing a derived distribution from the stable version, including former One live editions, and selling powerpacks. From the solid base, they should expand and integrate the Enterprise Editions
The Community
Having both Mageia and Mandriva, the community should try to integrate both distribution to work with binary packages in the contrib, plf and mib repositories, so you should have binary compatibility in the stable Mageia version and in Mandriva. Projects like Codeina should go on and simply just work.
The Future
We will see if the sinergy will work correctly as I hope. In the meantime, having a backup project like Mageia, will easy the transition for many users, including myself. For now, I'm postponing the migration to CentOS as it seemed so obvious to do it just a few days ago.
2010/09/20
File versioning
I wrote a small script to do file-level backup/versioning of a single file or group of files as a whole, without resorting to anything beyond basic cp, tar and rm.
Basically it works like this:
Basically it works like this:
2010/08/23
How to write accented (capital) letters on MACOSX
It's usually not a problem for me to input accented letters directly with a 1-key press. But I'm used to capitalized accented letters correctly at the beginning of phrases, since in gnome or kde you must simply hit CAPS-LOCK and the accented letter key to get something capitalized (eg. È which is third person present for the verb to be in Italian). But MacOS does not change the capitalization this way.
So I had to watch out for alternatives: compositing keyboard. In Snow Leopard (at least) you can use ALT+8 or ALT+9 and the a vowel key to get respectively an acute or grave accent. Just before pressing the vowel key you'll get the accent alone underlined (as a prompt to press a letter key).
In addition, you can user ALT+O to generate german umlauts (eg. ü) or ALT+N to generate tilded characters (eg. ñ).
So I had to watch out for alternatives: compositing keyboard. In Snow Leopard (at least) you can use ALT+8 or ALT+9 and the a vowel key to get respectively an acute or grave accent. Just before pressing the vowel key you'll get the accent alone underlined (as a prompt to press a letter key).
In addition, you can user ALT+O to generate german umlauts (eg. ü) or ALT+N to generate tilded characters (eg. ñ).
2010/08/11
Ext3 Under OSX
I recently got a replacement notebook, since my favourite MSI s271 presented quite a few disk errors on smart, and it's a while that this one has the usb nonfunctional.
After looking for a new notebook, in the 12"-13" range, I found with some disappointment that those niceties come at a premium price, and most of the time they are built on cheaper consumer-level standards.
So, after some research, I went for a refurbished MacBookPro, the newest model with a 13" screen.
Now the challenge is, reading all those external disks (or internal slices/partitions) which are unfortunately ext3 formatted.
I tried not to choose the straightforward path which leads to Paragon software, and instead go the MacFuse way. This post helps a lot and basically it's all you need: http://forum.archosfans.com/viewtopic.php?f=47&p=220020
The modification to the script is really needed only if you require r/w, which is basically not advised from the authors of fuse-ext3, my tests say they are quite ok.
Now I need a way to bypass the default users and permissions that macosx uses to be able to write/read the data both under linux and under osx without touching sudo or becoming root.
After looking for a new notebook, in the 12"-13" range, I found with some disappointment that those niceties come at a premium price, and most of the time they are built on cheaper consumer-level standards.
So, after some research, I went for a refurbished MacBookPro, the newest model with a 13" screen.
Now the challenge is, reading all those external disks (or internal slices/partitions) which are unfortunately ext3 formatted.
I tried not to choose the straightforward path which leads to Paragon software, and instead go the MacFuse way. This post helps a lot and basically it's all you need: http://forum.archosfans.com/viewtopic.php?f=47&p=220020
The modification to the script is really needed only if you require r/w, which is basically not advised from the authors of fuse-ext3, my tests say they are quite ok.
Now I need a way to bypass the default users and permissions that macosx uses to be able to write/read the data both under linux and under osx without touching sudo or becoming root.
2010/07/22
Mutt and Imap
Yesterday I was having problems using the corporate webmail (yes, the one with three letters in the acronym), and lacked the chance to use a full-featured mail user agent.
So i remembered the old days :) when I used mutt and fetchmail to read my personal mail... and recalled mutt supported IMAP too. I started googling to find a tutorial and read a couple of nice pages (see below). In a pinch I was able to read imaps mailboxes in the console.
So i remembered the old days :) when I used mutt and fetchmail to read my personal mail... and recalled mutt supported IMAP too. I started googling to find a tutorial and read a couple of nice pages (see below). In a pinch I was able to read imaps mailboxes in the console.
2010/07/15
Linux with no primary partitions left
I got a new company PC, an Acer Aspire 5372ZG, nothing to say about it, just yet another consumer notebook with a 15.6" 16/9 gloss display, very big and quite heavy, nice keyboard if you don't mind having the home and end key on the keypad only.
The problem is, the 320GB HD is partitioned into three partitions, two of them are hidden. All are primary partitions. No primary partition left to install linux. So I did my homework and discovered that unlike the lilo of old, Grub is able to boot quite nicely from any filesystem it is compiled to support.
The problem is, the 320GB HD is partitioned into three partitions, two of them are hidden. All are primary partitions. No primary partition left to install linux. So I did my homework and discovered that unlike the lilo of old, Grub is able to boot quite nicely from any filesystem it is compiled to support.
2009/10/12
Ext2 under Windows
I finally had the definitive data loss on my (historical) FAT32 partition that I used to share between Linux, Windows and the odd other OS (sometimes FreeBSD, sometimes OpenSolaris). So I was looking for a way to share those data without the hassle of a yesterday filesystem. I was rather disappointed with the status of NTFS under linux, both native and under FUSE, not to speak about my mascotte ZFS.
Finally, I found this Ext2 driver with finely works under Windows, reaching near NTFS native speed, so I adopted it on the pc I switch OSes more, currently the Asus EEEPC 1101HA (yes, I finally got one).
The driver is nice, if you don't mind using your favourite ext3 filesystem in compatibility mode, which only means under Windows there's no journal, and you must bear the casual fsck when windows hangs, and the fact that you can't access your filesystem under windows if it has a dirty status on linux (the journal needs to be replayed). Of course you can simply make this filesystem a simple ext2 and get on with it.
By the way, you find everything here: http://www.fs-driver.org/
Note: remember to create the ext2/ext3 filesystem with the option -I 128, which means an inode size of 128, most moder distribution set this value to 256 which is not compatible with these tools.
Update: It works under Windows 7 too with some quirks. The first is that the installation requires Windows Vista compatibility mode (not an issue for me). The second is that the drive letter utility seems not to stick with the configuration done upon reboot. I'll investigate this further.
Finally, I found this Ext2 driver with finely works under Windows, reaching near NTFS native speed, so I adopted it on the pc I switch OSes more, currently the Asus EEEPC 1101HA (yes, I finally got one).
The driver is nice, if you don't mind using your favourite ext3 filesystem in compatibility mode, which only means under Windows there's no journal, and you must bear the casual fsck when windows hangs, and the fact that you can't access your filesystem under windows if it has a dirty status on linux (the journal needs to be replayed). Of course you can simply make this filesystem a simple ext2 and get on with it.
By the way, you find everything here: http://www.fs-driver.org/
Note: remember to create the ext2/ext3 filesystem with the option -I 128, which means an inode size of 128, most moder distribution set this value to 256 which is not compatible with these tools.
Update: It works under Windows 7 too with some quirks. The first is that the installation requires Windows Vista compatibility mode (not an issue for me). The second is that the drive letter utility seems not to stick with the configuration done upon reboot. I'll investigate this further.
Subscribe to:
Posts (Atom)
