Showing posts with label hacks. Show all posts
Showing posts with label hacks. Show all posts

Tweetdeck on xfce / ubuntu

  • 1
If you're a twitter fan new to xfce or (x)ubuntu, attracted to the efficient and fast environment, you will notice tweetdeck is useless. The buttons show up, but nothing else.


Unfortunately it seems tweetdeck only knows how to store username/password information on Gnome and KDE. When you start tweetdeck from the terminal you are given: "Unknown desktop manager, only Gnome and KDE are supported".

Fortunately there is a way around this with a little bash script.
First make sure 'launch gnome services on start up' - option found in session and startup - is ticked. It should already be ticked if your an ubuntu user - if your not I'm guessing you need the Gnome keyring service installed for this to work.



Next, the script. For (x)ubuntu users you can simply use this:

#!/bin/bash
GNOME_DESKTOP_SESSION_ID="gnomeisgo" /opt/TweetDeck/bin/TweetDeck

Copy the above into your favourite text editor and save as "tweetdeck.sh". Once saved, right click the file, and open properties. Look in permissions and tick "allow this file to run as a program" to give it permission to run. Now click the script to run tweetdeck. Done.

For other distributions try this:

#!/bin/bash
GNOME_KEYRING=`ps x | grep gnome-keyring | awk '$5 ~/^gnome-keyring/ {print $1}'
`
DIRNAME="`dirname $0`"

GNOME_DESKTOP_SESSION_ID=$GNOME_KEYRING $DIRNAME/TweetDeck


From www.mindby.com. I'm sure it works for openSuse.

Happy tweeting.

Facebook chat with Pidgin

  • 0
While msn was (and still is) not working I started using facebook chat. I had the idea why not use pidgin? After I goooooogled it I found this code.google.com/p/pidgin-facebookchat. No messing around api keys. Just install the deb or exe. It works on ubuntu fine.

Once you install it add a new account. Find facebook chat (has the facebook icon). Enter details and it should log you in. It even pulls photos of friends. Neat.

Update facebook status using twitter

  • 0
You can use the twitter application on facebook to update your status.
In its settings you will find status update option. Enabling it allows anything you post on twitter to automatically be set as your status.



Once you have twitter and facebook connected you can start using your terminal to update your status. Using curl of course. (sudo apt-get install curl for ubuntu users)
curl -u username:password -d status="Your Post" http://twitter.com/statuses/update.xml
Change user name and password obviously.

Coordinates from Google maps

  • 0
Google keeps the coordinates, latitude and longitude in one of their API's. You can pull the coordinates of a location by running a short javascript line.

Just put this in the address bar while on google maps
javascript:void(prompt('',gApplication.getMap().getCenter()));

Open links in a tab with a left click

  • 0
A little hack for firefox with greasemonkey.
If you want to open a link in a new tab on a laptop you may find it hard. No middle button! You have to spend time right clicking and going to 'open link in a new tab'. However there is a simple greasemonkey script to open links in a new tab with a short half a second hold. You can also hold control + left click.

To download the greasemonkey add on visit:
addons.mozilla.org/en-US/firefox/addon/748

For the script visit userscripts at
userscripts.org/scripts/show/3458

Resize images from nautilus

  • 1
This is already popular with ubuntu blogs however theres no harm blogging it. It adds a image resize and rotator to the right click menu.

Install:
sudo apt-get install nautilus-image-converter
Restart gnome (log out and then log back in).
Use by right clicking a image and then select resize or rotate.

The Magic SysRq key

  • 0
I read an article on fosswire about reisub via digg. Refreshing my memory on this kernel trick. The Magic SysRq key allows you to input basic low level commands. So if somehow your desktop froze you don't need to hit the power button. The kernel will still be alive under all those programs/processes. By holding Alt and SysRq, thats the print screen button, and typing REISUB. You can restart your pc.

REISUB is actually several low level commands:
  1. Alt + SysRq + R – takes the keyboard out of raw mode.
  2. Alt + SysRq + E – terminates all processes (except init).
  3. Alt + SysRq + I – kills all processes (except init).
  4. Alt + SysRq + S – synchronizes the disk.
  5. Alt + SysRq + U – remounts all filesystems read-only.
  6. Alt + SysRq + B – reboots the machine.
For other low level commands have a look at Magic SysRq key on wiki. Some of them I didn't even know.

Set Firefox as the default browser in Kubuntu (KDE)

  • 0
If you dont like to use Konqueror for web pages then you can use this:
  1. Open Konqueror
  2. Go to Settings > Configure Konqueror
  3. Go to file associations
  4. Find Text in the 'Known type' box, expand and click html
  5. You will see in 'Application preference order' that Konqueror is above firefox. Change it so that firefox is above (or add firefox if its not there and put it above Konqueror).
Website links in applications such as gaim or kmess will now load firefox instead of Konqueror.

"This APT has Super Cow Powers."

Easter egg in APT, used in debian based linux (that includes ubuntu) Advanced Packaging Tool.
  1. Type 'apt-get help' (don't need to be root). Will return with a line saying "This APT has Super Cow Powers."
  2. Type 'apt-get moo' will return with a cow drawn in ascii and message "have you mooed today?"

A cow in the terminal.

T610/T630 Hacks

  • 1

The t630 is a great phone. I use it daily so I want to try out hacks and get the most out of it.


SONYERICSSON T630 - HOW TO REMOVE ONLINE BUTTON TO NEW SMS BUTTON
-----------------------------------------------------------------

A. First, configure a dummy WAP Profile:
----------------------------------------
1. Connectivity
2. WAP Options
3. WAP Profiles
4. Add profile
5. Name: "SMS" (whatever you like)
6. OK
7. Connect using: press Edit
8. New Account
9. GSM data
10. Name: "SMS" (again, whatever you like)
11. OK
12. Phone No: "+" (hold 0) as in your text box should only display a plus ''+'' sign(without the '')
13. OK
14. SAVE
15. IP address: 192.192.192.0 (or whatever you like)(any no. will do just fill up all the spaces)
16. Press SAVE
17. Select the profile you have just created (SMS)
18. Exit to your main screen after selecting your sms profile

B. Now, configure the WAP button to write a new SMS:
----------------------------------------------------
1. Connectivity
2. WAP Options
3. WAP Profiles
4. "SMS" should be selected. Press Edit.
5. Advanced
6. Change Homepage
7. Name: "SMS"
8. Change Homepage Address: "mailto:" (without the "")[REMEMBER TO WRITE -M-A-I-L-T-O-:- WITH THE ':' ][without the - and '']
9. OK


SONYERICSSON T630 - MEMORY FUNCTION IN CALCULATOR
-------------------------------------------------
If u have save a number in memory when using the calculator, press the Volume button +


SONYERICSSON T630 - HOW TO GO TO SERVICE FUNCTIONS
--------------------------------------------------
When you are in standby press: >*<<*<* For unlock press: <**<

source:
http://burne.org/files/documents_sonyericsson_t630.txt

Bluejacking guide for T610/T630 here
The service menu is usefull for running tests (if you think you phones faulty)

***update 8th feb 07***
The service function hack works with most of Sony Ericsson's if not all that (that i'v came across)
********
Tags: , ,