Thursday, January 27, 2011

Compiz/Emerald AutoStart In Xfce 4 --SalineOS


Add the following to autostarted applications:

compiz --replace


Go to Compiz Settings Manager and click on 'window decorations'.  Change window manager from:


usr/bin/xfwm4


TO:


usr/bin/emerald


EDIT:  I'm researching a better way at the system level to start Compiz in the first place where xfwm4 never loads.  Please check back, but the above is generally recommended.







Wednesday, January 26, 2011

Xfce Menu: Patching it for Crossover Office

CrossOver Office 9.x doesn't play well with the Xfce menu'ing system (Xfce =< 4.6) therefore it is necessary until Xfce 4.8 to patch the menu.  Here is how to do it:

Patch the following in /etc/xdg/menus/xfce-applications.menu under "Accessories".  Following the format you see there:


    <Menu>
      <Name>CrossOver</Name>
      <Directory>.directory</Directory>
      <DirectoryDir>/opt/cxoffice/support/desktopdata/cxoffice-0/cxmenu/xdg-applications/CrossOver</DirectoryDir>
      <AppDir>/opt/cxoffice/support/desktopdata/cxoffice-0/cxmenu/xdg-applications/CrossOver</AppDir>
      <Include>
        <Filename>Install+Windows+Software.desktop</Filename>
        <Filename>Manage+Bottles.desktop</Filename>
        <Filename>User+Documentation.desktop</Filename>
        <Filename>Terminate+Windows+Applications.desktop</Filename>
        <Filename>Run+a+Windows+Command.desktop</Filename>
        <Filename>Register+and+unlock+this+demo.desktop</Filename>
        <Filename>Uninstall.desktop</Filename>
      </Include>
    </Menu>


The main CrossOver Office Menu will now show up after refreshing the Xfce Menu.  Adding Windows Apps can easily be done by examing the Menu'ing options in CrossOver Office and making links.  I launch MS Office 2007 apps from my AWN Dock for example.



Emerald Install for 64 Bit SalineOS Xfce or Gnome

install the key and repo, go into Synaptic and install Emerald. I comment out the repo after install:

CODE: SELECT ALL
deb http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/ ./
wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -


To make it stick at every login: Go into Compiz Settings|Window Decoration and set the window manager to /usr/bin/emerald. Log out, log back in and you'll be greeted with a gorgeous default Emerald windowed desktop.

XFCE4 - Enable Multimedia Keys

If your mulitmedia keys are not working on  your laptop, go into Synaptic Package Manager and install:

xfce4-volumed

This is a volume keys daemon that watches the key inputs and your keys 'should' start working.

Sunday, January 23, 2011

LMDE x64, latest Liquorix Kernel & Suspend/Hibernate

I use LMDE 64 bits on a Dell Precision M6500 Laptop with the following specs:

i7-820QM w/USB 3.0, 8.0GB DDR3-1333, Intel x-25M 160 G2 + 500GB 7200.3, nVidia Quadro FX 3800M 1.0GB DDR3, RGBLED, Intel 6300

The Liquorix Kernel fixed my internal microphone and suspend/hibernate problems.  The following grub boot option also enables suspend/hibernate with my laptop:

 GRUB_CMDLINE_LINUX="intel_iommu=on"

This is an experimental linux kernel option that enables dma remapping per the developer of the Liquorix Kernel.  It goes under the other grub boot cmds in /etc/default/grub.  If you are having problems with suspend/hibernate and have a similar laptop, give it a try!

Friday, January 21, 2011

Grub 2: General Information Linked

Here is a link that is generally:

Pertinent to SalineOS/Debian for general information only.

Worst Hardware for your Linux Desktop !

Courtesy of Madpenguin.org 5/14/2008, and I fully agree!

(Column) – I have been asked this over and again – which hardware should be avoided before installing Linux? The list is actually smaller than you might expect, but it is helpful if you would like to remain in a headache-free zone.
Broadcom Wireless Products: Despite efforts by well-intentioned developers, seeing successful wireless with anything based on these chipsets is not an easy task, despite the hogwash you will read elsewhere. Linux wireless is doable, and generally speaking, you are best off to ask what those not using these chipsets are having success with. In general, you will likely find this is the best path, although you can also check your distro’s HCL (hardware compatibility list) for more information.
ATI Video Cards: Despite recent improvements, I cannot see a single reason to use their products for desktop Linux. Unless you already own an ATI card, you will find NVIDIA or Intel graphics to be more than adequate for daily use.
To be fair, I have found that most problems with ATI cards are only becoming apparent with restricted drivers to power the cards. So sticking with open drivers will generally not lead to issues.

Seagate: This hard drive company has made their point-of-view very clear. Not as much with words, as with their FreeAgent drives. It is truly sad when something OS independent like a hard drive force users to consider an alternative to the otherwise well designed Seagate hard drive.
I would snub Seagate in response to this. Unfortunately, most people will settle for workarounds, instead.
Winmodems: To be clear, I’m not saying that the software modem cannot work with Linux, rather that Linux users should not use them. Despite fantastic efforts like the Linmodem project, I prefer using other options if I’m bound to a dial-up only connection.
I have long since been a fan of external modems myself, but that was a long time ago. These days most people are on broadband connections, so I guess this is a non-issue now.
Final Considerations. As a rule, I recommend being careful and proactive when looking to turn any built-for-Windows computer into a Linux box. Use a LiveCD whenever possible to make sure the distro and the computer you plan on using are a good match.
- Check to see if you are seeing the kind of resolution support you need (widescreen users) and that the sound is working properly. I’m not saying either of these cannot be overcome, but there is little reason to buy a new computer that will translate into a weekend tweaking project.
- Consider buying from vendors that support your preferred distro. It may cost a little more, but it is always refreshing to put your money where your passion is.
This covers our list of compatibility problems that face Linux users who are just starting out. Hopefully, by avoiding this hardware products, you’ll save yourself a lot of trouble early in the process.