• GEdit FTP browsing / editing under KDE
    (using GNOME bookmarks without Nautilus)

    Problem with using GEdit (v2.30.4 in the moment of writing this post) for FTP browsing/editing under KDE (if you don’t have Nautilus installed in your KDE) is that since it is a GNOME app – you need a way to somehow manage your connections which is usualy done through Nautilus by using GNOME bookmarks (the ones you would create by going to Places -> Connect to Server) and at the moment there is no way to create this bookmarks from within GEdit.

    Anyway, you can do the same thing by editing .gtk-bookmarks file located in your home folder even if you don’t have Nautilus installed. Here’s a few examples of what you can put inside:

    ftp://[email protected]/ bookmark_name
    ftp://[email protected]/:3322 bookmark_name
    ftp://username%[email protected]/ bookmark_name
    ftp://[email protected]/folder_path_option/ bookmark_name
    sftp://[email protected]/ bookmark_name

    The first one is just a regular FTP login bookmark. The second one uses a different port than the default one. The third one is for usernames containing @ (like in the image below) which you have to replace with %40 to differentiate them from @ for domain association. The fourth one uses the folder_path_option like in picture below and the fifth one is for using sFTP. Of course, you can combine all this together depending on your needs…

    Browsing/editing directly from GEdit is much faster than using Filezilla which prompts for uploading every time after you edit and save the file which is kinda annoying, or for example using Krusader which works well with FTP, but if you use sFTP – then it edits files localy instead of online so you have to save them as a new file and upload them again… You get the drift.

  • GDM keyboard layout change

    Here’s a solution on how to use a different keyboard layout in GDM (different then the default en). The problem was that if you wanted to use any special character (that i.e. needs alt gr) or any other character specific to your keyboard layout (in my example čćžšđ), you couldn’t do it even though you already set locales globaly on your machine. I did this on arch distro but my guess is that it will work on any other too.

    Execute the following in your terminal as root:

    cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi

    and then replace “en” layout with the one you need (in my example hr):

    <merge key="input.xkb.layout" type="string">en</merge>
  • Places -> Home = opens Amarok?! O.o


    I got this wired bug after I updated my arch linux. Each time I would click on “Places -> Home”, it would run Amarok and start playing music… Some kind of a bug I guess… To solve this problem type the following into your terminal (works for other distros as well I guess):

    $ sudo nano ~/.local/share/applications/mimeapps.list

    and then edit the line contaning “inode/directory=” into:


    So, enjoy your favorite music player… =)

Back to top