Archive for January, 2012

How to add repository manually from command line in Ubuntu Linux

Sunday, January 8th, 2012

I'm on a way trying to install Free Mega Games Pack and I'm facing troubles in following the instructions to add a the latest development wine version described on http://www.winehq.org/download/ubuntu
The guys from WineHQ has to update the wine install instructions, since the instructions are targetting older versions of Ubuntu which are not compatible with newer Ubuntus which comes natively with Unity
In order to complete the step in adding the WineHQ Ubuntu PPA development repository my only way was to add it using command line.
Here is how:

root@ubuntu:~# apt-add-repository ppa:ubuntu-wine/ppa
You are about to add the following PPA to your system:
Latest official WineHQ releases
Welcome to the Wine Team PPA. Here you can get the latest available Wine betas for every supported version of Ubuntu. This PPA is managed by Scott Ritchie, and is a replacement for the WineHQ budgetdedicated.com repository used for Jaunty and earlier.
More info: https://launchpad.net/~ubuntu-wine/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.bvo21sFWKG --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 883E8688397576B6C509DF495A9A06AEF9CB8DB0
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: key F9CB8DB0: public key "Launchpad PPA for Ubuntu Wine Team" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

Similarly adding a PPA repository on Debian is also possible by using a little shell script add-apt-repository.sh . add-apt-repository.sh simulates what ubuntu's apt-add-repositry python script does.

It is educative to mention PPA stands for (Personal package Archive) and the difference between normal repository and PPA is mainly in the fact that PPA repositories makes a package distributed by the repository like the native Ubuntu packages issued by Canonical.
Once for example a new version of a file is placed in PPA deb package repository, the newer package will be automatically installed to the system using it.

Kill everything that Moves (KETM) an arcade spaceship Tyrian GNU / Linux game

Saturday, January 7th, 2012

I always love so much to go back to the times, when games were games and people had still valued words like moral and respect.
In that great days of old school computing, we used to play the awesome old schools Tyrian and the Nintendo 1941 game (hopefully some still remember).

KETM Tyrian like Old School 2d Spaceship shooter awesome

For all who don't Tyrian is one of the best Spaceship Arcades of all times!, and especially for DOS operating system the best I've personally seen.

Recently I was checking the arcade games available for install on my Debian GNU / Linux and happily come across a game called KETM.

KETM acronym stands for the memorizable KILL EVERYTHING THAT MOVES and is free software distributed game under GPL.
The original creation idea was probably to resemble the so famous in the '90s spaceshooter games.

KETM is pretty addictive just like tyrian and has santimental meaning for me since it brings me memories for my arcade gaming years 😉

The game is easy to play and has a feeling of "diversity" especially in type of weapons your ship can obtain and use against enemies.

The powerups you get is quite plenty compared to the enemy ship types you should destroy 😉 In overall the game is quite easy to play, this however is also a good thing, as you can play more smoothly without dying every few secs like it is in so many arcade games…

The game has only 4 game levels and on each level end there is a big spaceship "the boss" which is the last in line to destroy in the tradition of the 2d arcade games.

KETM Tyrian like Linux Debian arcade game

Kill Everything That Moves is available for Debian and Ubuntu as a deb installable with apt. To install the game on Debian and Ubuntu

debian:~# apt-get install ketm
...

ketm's official latest available source and binary of time of writting this article is at version 0.6 and as far as I checked it unfortunately seems like the game development is stucked and the code seems a unmaintained.
I'm sure ketm has a lot of potential en hope somebody will adopt the code and will push further its development.
The game runs by default in the annoying windowed mode, I don't like this so I always run it fullscreen:

Kill Everything that Moves Tyrian like arcade game for Debian Ubuntu Linux

debian:~# ketm -f

KETM also reminds a bit on GEKI 2 / 3, which I have previously blogged about but I found KETM to be more enjoyable than gekis.
I've seen KETM has RPM ports as well so installing the game on fedora will be probably as easy as downloading the respective RPMs fulfilling the RPM package requirements and installing with rpm -i. I would be glad to hear from people who had succesfully run the game on Fedora and other RPM based Linux distributions?

The only thing that prevents the game to feel a bit more awesome (in my view) is the missing sound & music … Even though in the game settings inside the main menu there is an option for Sound On / Off the game runs by default without any sound or music (at least on my Debian).
I hope you will have some fun with KETM just I like I did! 😉
Also if you haven't played Tyrian yet, then I strongly advice you download Tyrian from here and try it out with dosbox (a dos gnu linux / bsd game emulator)

Absolute Game Classics Tyrian native game play with dosbox Linux screenshot

Interesting fact to mention here,  while looking for the native tyrian game info , I found tyrian has an open source version under development called OpenTyrian . I'll check the game and write on it when I have time.

Theophany (Jesus’s baptizm in Jordan) feast in Bulgarian Orthodox Church on 6th of January

Saturday, January 7th, 2012

Baptism of Christ Theophany Old Orthodox icon

On 6th of January in our Bulgarian Orthodox Church just like in the most Christian realm, we celebrate the great feast of Theophany / Epiphany (Baptizm of our Saviour Jesus Christ in Jordan).

What exactly we celebrate is the Baptizm of our Saviour Jesus Christ in Jordan by st. John the Baptist (John the Forerunner as we call him in the church). This day is very important for us as Christians and this is why the holy fathers in the church has ordered this feast to be among the 12 most important feasts in our Church, the so called (Lords feasts).

On Theophany's day it is a rule in orthodox Church that the Great Blessing of Water is performed. The Blessing of the water and the preceding holy water from the priests blessing is taken by Church layman and we bring a little of this water to our homes to bless through that our homes.

In our Church belief the Holy Water from the Theophany feast is considered the most powerful in spiritual sense holy water as this water is the same water with which our sinless Saviour and lamb (Son) of God Jesus Christ was baptized in Jordan.

The reason why we call the feast Theophany is because God in his essence of Holy Trinity appeared clearly to mankind for a first time in Human history. Our Holy Trinity (3 essence God in one indistructable and insaparatable God – one God as God said for himself in the beginning of writtings) has revealed himself in front of all the people gathered along John the Baptist in Jordan waiting to be baptized in his three essences:

1. God the Father spoke from heaven manifesting and testifying about Jesus Christ being his beloved and only son and saviour of mankdin
,br />2. God the Son (Jesus Christ), has physically appeared to receive the baptizm to fulfill all righteousness and (the old testemential prophecies) and to begin his 3 years mission on earth.

3. God Holy Spirit) has descended from heaven on Jesus Christ in a publicly observable form of a dove

Theophany's feast is called by some english speaking orthodox christians Epiphany, but this is a term less used in orthodox christendom and much more spread in Roman Catholic one.

The Gospel readings in the church tell of the Lord's baptism by John in the Jordan River. The epistle reading of the Divine Liturgy tells of the consequences of the Lord's appearing which is the divine epiphany.

After the end of the st. Basil the Great Holy Liturgy served, the Great Blessing of Water is performed by one or more priests (depending on the number of present priests). The meaning of the blessing of the waters meaning is to show that mankind and all of God's creation, were created to be blessed and filled with the sanctifying of God's presence.

A very local unique bulgarian tradition on this number is that if the great blessings of water is performed by a priest near a river or a sea shore the cross be thrown in the water in order to bless the waters. Pulling out the holy cross from the Sea Bulgarian local Tradition on Theophany feast

Then a number of brave man jump in and do a race swimming aiming to pull out the crucifixion of the water. It is believed that the one who could pull out the cross will get God's great blessings through the upcoming church year.A person who pulled out the cross on Theophany Bulgarian tradition

Let us pray trust and hope on God to also appear to us who seek him, and show us his Holy Trinity wholeness mercies just like he did himself to the people waiting for Baptizm from John the Baptist by the holy prayes of the Theotokos and his holy saints and all heavinly hosts. Amen

How to change GNOME Resolution with a command using terminal or console on Debian GNU / Linux and FreeBSD

Friday, January 6th, 2012

I'm testing some old school arcade games, available from Debian's package repositories and quitting one of the games ended me up with a GNOME Screen Resolution of 640×480 pixels.

I wanted to revert back to the Classics resolution, so what I would normally do to do that is use >GNOME menus:

System -> Preferences -> Monitors

In that huge screen resolution on my 14 inch lenovo notebook screen, however the System menu cannot fit in 640×480 resolution. You can see the non-screen fitting System on the screenshot below:

Screenshot Debian GNU / Linux Squeeze GNOME Desktop 640x480

Having this situation, I needed a way to change back to my normal daily used 1024x768px screen resolution to continue my daily work by some other way.
One possible solution I thought of was Logging Off Gnome and logging again. Loggig off and log on again would usually restart the initiated GNOME session and therefore will reset the screen resolution to my default 1024×768 / 32 bit color.

Having the unobservable System gnome panel menu on my screen however made using the usual Log off procedure via System -> Log Out myusername impossible…

Another possible way to actually restart my screen and hence revert back to my original resolution is achiavable using the classical restart X server key switch CTRL + ALT + backspace (bckspc) . Though this was a possible approach to the situation, I had a bunch of programs already running on my desktop and I did not wanted to interrupt my desktop session, what I was looking for is simply change the screen resolution size .

With all said I had to look up for alternative way (preferably easy) way, to revert back my screen resolution to my desired 1024×768.

As a console guy, I was interested if there is some kind of possibility to change my GNOME resolution directly using xterm or gnome-terminal , after a bit of check up online, I've found few threads started by people who were looking just like me for a way to change GNOME / KDE screen resolution size on various distributions Linux desktops as well on Free/Net/Open/BSDs. The answer to the question on few places was the command xrandr which I had used some few years ago to initiate remote X server connections via SSH

xrandr is actually a great tool part of the x11-xserver-utils

Actually xrandr is capable of doing a few things besides setting the screen resolution size, just to name a few it supports change the screen orientation, reflection of the output of the screen, adjust brightness, set color gamma etc. etc.

It is good to mention that xrandr changes the resolution not on a GNOME level but on Xorg server level.

Using xrandr to change the screen resolution appeared to be very easy.

1. First I issued xrandr to check all the supported xrandr resolutions by my X server hipo@noah:~/Desktop$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192VGA1 disconnected (normal left inverted right x axis y axis)LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm 1024x768 60.0*+ 50.0 800x600 60.3 56.2 640x480 60.0 59.9 TV1 disconnected (normal left inverted right x axis y axis)hipo@noah:~/Desktop$

From the output you can see I have 3 basic resolutions configured in my Xorg, I can switch between.

2. To switch to my previous default screen resolution

hipo@noah:~/Desktop$ xrandr -s 1024x768

After using xrandr command to revert back to my default screen size, I realized there is two other (partially command line partially gui) way to change to 1024×768 pixels.3. Through launching gnome Control Center and searching for Monitors menu.

If one prefers this way he can;

i) press ALT+F2 to invoke Gnome's Run Application dialog

ii) issue gnome-control-center command:

GNOME run application Dialog GNOME Control Center cmd debian GNU / Linux

GNOME Control Center search Monitors menu debian GNU / Linux

4. By invoking gnome's Control Panel -> Monitors settings window by a command

hipo@noah:~/Desktop$ gnome-display-properties

GNOME display properties command to launch monitors screen resolution settings
 

How to solve “[crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/lib/ejabberd/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://jabber.mydomain.com/” – Error Cause and Solution

Thursday, January 5th, 2012

While configuring JWchat domain, I've come across around an error:

pcfg_openfile: unable to check htaccess file, ensure it is readable

The exact error I got in /var/log/apache2/error.log looked like so:

[crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/lib/ejabberd/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://jabber.mydomain.com/

The error message suggested /var/lib/ejabberd/.htaccess – is missing or not readable, however after checking i've seen .htaccess existed as well as was readable:

debian:~# ls -al /var/lib/ejabberd/.htaccess
-rw-r--r-- 1 www-data www-data 114 2012-01-05 07:44 /var/lib/ejabberd/.htaccess

At first glimpse it seems like the message is misleading and not true, however when I switched to www-data user (the user with which Apache runs on Debian), I've figured out the error meaning of unreadability is exactly correct:

www-data@debian:$ ls -al /var/lib/ejabberd/.htaccess
ls: cannot access /var/lib/ejabberd/.htaccess: Permission denied

This permission denied was quite strange, especially when considering the .htaccess is readable for all users:

debian:~# ls -al /var/lib/ejabberd/.htaccess
-rw-r--r-- 1 www-data www-data 114 2012-01-05 07:44 /var/lib/ejabberd/.htaccess

After a thorough look on what might go wrong, thanksfully I've figured it out. The all issues were caused by wrong permissions of /var/lib/ejabberd/.htaccess .You can see below the executable flag for all users (including apache's www-data) is missing :

debian:/var/lib# ls -ld /var/lib/ejabberd/drw-r--r-- 3 ejabberd ejabberd 4096 2012-01-05 07:45 /var/lib/ejabberd/

Solving the error, hence is as easy as adding +x flag to /var/lib/ejabberd :

debian:/var/lib# chmod +x /var/lib/ejabberd

Another way to fix the error is to chmod to 755 to the directory which holds .htaccess:

From now onwards pcfg_openfile: unable to check htaccess file, ensure it is readable err is no more 😉

IE PassView – View stored Microsoft Internet Explorer passwords program

Thursday, January 5th, 2012

While checking a friend of mine's blog, I've seen a reference to a Windows program capable of revealing stored website passwords.
Check stored internet explorer passwords in plaintext with IE PassView

IE PassView is a small password management utility that reveals the passwords stored by Internet Explorer Web browser, and allows you to delete passwords that you don't need anymore. It supports all versions of Internet Explorer, from version 4.0 and up to 9.0.
Ie PassView is quite a good one for crackers, who would like to steal some lame poor Windows IE user facebook,gmail, yahoo etc. passwords 😉 here is a link to IE Passview's download page

Install jwchat web chat jabber interface to work with Debian ejabberd jabber server

Wednesday, January 4th, 2012

JWChat ejabber jabber Ajax / HTML based client logo
 

I have recently blogged how I've installed & configured ejabberd (jabber server) on Debian .
Today I decided to further extend, my previous jabberd installation by installing JWChat a web chat interface frontend to ejabberd (a good substitute for a desktop app like pidgin which allows you to access a jabber server from anywhere)

Anyways for a base of installing JWChat , I used the previously installed debian deb version of ejabberd from the repositories.

I had a lot of troubles until I actually make it work because of some very minor mistakes in following the official described tutorial ejabberd website jwchat install tutorual

The only way I can make jwchat work was by using the install jwchat with ejabberd's HTTP-Bind and file server method

Actually for quite a long time I was not realizing that, there are two ways to install JWChat , so by mistake I was trying to mix up some install instructions from both jwchat HTTP-Bind file server method and JWchat Apache install method

I've seen many people complaining on the page of Install JWChat using Apache method which seemed to be experiencing a lot of strangle troubles just like the mines when I mixed up the jwchat php scripts install using instructions from both install methods. Therefore my guess is people who had troubles in installing using the Apache method and got the blank page issues while accessing http://jabber.servername.com:5280/http-poll/ as well as various XML Parsing Error: no element found errors on – http://ejabberd.oac.com:5280/http-poll/ is most probably caused by the same install instructions trap I was diluted in.

The steps to make JWChat install using the HTTP-Bind and file server method, if followed should be followed absolutely precisely or otherwise THEY WILL NOT WORK!!!

This are the exact steps I followed to make ejabberd work using the HTTP-Bind file server method :

1. Create directory to store the jwchat Ajax / htmls

debian:~# mkdir /var/lib/ejabberd/www
debian:~# chmod +x /var/lib/ejabberd
debian:~# chmod +x /var/lib/ejabberd/www

2. Modify /etc/ejabberd/ejabberd.cfg and include the following configs

While editting the conf find the section:

{listen,
[


Scrolling down you will fine some commented code marked with %% that will read:

{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},

Right after it leave one new line and place the code:

{5280, ejabberd_http, [
{request_handlers, [
{["web"], mod_http_fileserver}
]},

http_bind,
http_poll,
web_admin
]}
]}.

Scrolling a bit down the file, there is a section which says:

%%% =======
%%% MODULES

%%
%% Modules enabled in all ejabberd virtual hosts.
%%

The section below the comments will look like so:

{modules, [ {mod_adhoc, []},
{mod_announce, [{access, announce}]}, % requires mod_adhoc
{mod_caps, []},
{mod_configure,[]}, % requires mod_adhoc
{mod_ctlextra, []},
{mod_disco, []},
%%{mod_echo, [{host, "echo.localhost"}]},
{mod_irc, []},
{mod_last, []},

After the {mod_last, … the following lines should be added:

{mod_http_bind, []},
{mod_http_fileserver, [
{docroot, "/var/lib/ejabberd/www"},
{accesslog, "/var/log/ejabberd/webaccess.log"}
]},

3. Download and extract latest version of jwchat

Of the time of writting the latest version of jwchat is jwchat-1.0 I have mirrored it on pc-freak for convenience:

debian:~# wget https://www.pc-freak.net/files/jwchat-1.0.tar.gz
….

debian:~# cd /var/lib/ejabberd/www
debian:/var/lib/ejabberd/www# tar -xzvf jwchat-1.0.tar.gz
...
debian:/var/lib/ejabberd/www# mv jwchat-1.0 jwchat
debian:/var/lib/ejabberd/www# cd jwchat

4. Choose the language in which you will prefer jwchat web interface to appear

I prefer english as most people would I suppose:

debian:/var/lib/ejabberd/www/jwchat# for a in $(ls *.en); do b=${a%.en}; cp $a $b; done

For other languages change in the small one liner shell script b=${a%.en} (en) to whatever language you will prefer to make primary.After selecting the correct langauge a rm cmd should be issued to get rid of the .js.* and .html.* in other language files which are no longer needed:

debian:/var/lib/ejabberd/www/jwchat# rm *.html.* *.js.*

5. Configure JWChat config.js

Edit /var/lib/ejabberd/www/jwchat/config.js , its necessery to have inside code definitions like:

/* If your Jabber server is jabber.example.org, set this: */
var SITENAME = "jabber.example.org";

/* If HTTP-Bind works correctly, you may want do remove HTTP-Poll here */
var BACKENDS =
[
{
name:"Native Binding",
description:"Ejabberd's native HTTP Binding backend",
httpbase:"/http-bind/",
type:"binding",
servers_allowed:[SITENAME]
}
];

6. Restart EJabberd server to load the new config settings

debian:~# /etc/init.d/ejabberd restart
Restarting jabber server: ejabberd..

7. Test JWChat HTTP-Bind and file server backend

I used elinksand my beloved Epiphany (default gnome browser) which by the way is the browser I use daily to test that the JWChat works fine with the ejabberd.
To test the newly installed HTTP-Bind ejabberd server backend on port 5280 I used URL:

http://jabber.mydomain.com:5280/web/jwchat/I had quite a struggles with 404 not found errors, which I couldn't explain for half an hour. After a thorough examination, I've figured out the reasons for the 404 errors was my stupidity …
The URL http://jabber.mydomain.com:5280/web/jwchat/ was incorrect because I fogrot to move jwchat-1.0 to jwchat e.g. (mv jwchat-1.0 jwchat) earlier explained in that article was a step I missed. Hence to access the web interface of the ejabberd without the 404 error I had to access it via:

http://jabber.mydomain.com:5280/web/jwchat-1.0

JWChat Ejabber webchat Epiphany Linux screenshot

Finally it is handy to add a small index.php redirect to redirect to http://jabber.mydomain.com:5280/web/jwchat-1.0/

The php should like so:


<?
php
header( 'Location: http://jabber.mydomain.com:5280/web/jwchat-1.0' ) ;
?>

Pingus – A Lemmings like arcade game for GNU / Linux and FreeBSD (Free Lemmings Clone)

Monday, January 2nd, 2012

Some might remember Psychosis Lemmings that we used to enjoy back in the glorious days of DOS 😉 I remember Lemmings used to be among the played game in one line with other top arcades like Dangerous Dave, Commander Keen, Xenon etc.
The game used to be quite unique for the time and it was quite cool that it worked on quite old machines lime my old 8086 XT with 640kb of memory. It even supported two player mode! 😉

Lemmings arcade screenshot

I was happy to find out actually Lemmings remake is available in the Free Software OS realm . These Lemmings clone game is called Pingus
Instead of governing a group of lemmings which had to move to an exit door by making a save path using various tools and combination of team member character skills, the main heroes in Pingus are cute little penguins 😉

Screenshot Pingus, Lemmings game clone for Linux and FreeBSD

Pingus is built on TOP of SDL libraries and has a combination of awesome graphics and enjoyable music soundtrack and as a game play is a way better than its original predecessor.
If i have to to rank this game I would put it among the best 20 free software games ever produced for Linux / BSD.

ScreenShot Pingus on Debian Linux

pingus is available for almost all kind of Linux distritubions as well as is included in the FreeBSD port tree:

On Debian its available as a package ready to be installed with aptitude or apt by issuing:

debian:~# aptitude install pingus

For FreeBSD pingus is installed via ports tree, by running cmds:

freebsd# cd /usr/ports/games/pingus
freebsd# make install && make install clean

By default pingus will run in a Windowed mode, to run the game in fullscreen you will have to run it with the -f switch via terminal, or by pressing ALT+F2 in GNOME and typing:

$ pingus -f

The game is quite hard to complete in that resembling the lemmings. It has an embedded Mapeditor , by which new levels can be easily constructed and sent to the game developers (in that way helping the game development).

Pingus is also multi-platform, licensed under GPL2 and is also ported for Mac OSX and MS Windows, allowing others non free software users enjoy.
Pingus Windows and MacOS X binary as well as source can be downloaded here

Pingus Lemmings like Free Software Game for Linux BSD level screenshot

Playing Pingus has few benefits, one is it can be nice to kill some boredom (for sysadmins) or / and bring some good past gaming memories. It's also good for developing some elder people strategic thinking as well as very suitable for little children to help develop their intellectual (thinking) in solving complex consequential tasks. Pingus could also be beneficial for teens to develop organizational and math skills.

Happy New 2012 Year, few Bulgarian New Year traditions / customs

Sunday, January 1st, 2012

Happy 2012 New Year . Wish to everyone best of luck, good health and best of success in the new upcoming year!
There is few customs, which are very typical for Bulgarian Christmas and New Year.
As I'm so keen on tradition and I'm sure many non-bulgarians are not aware of the Bulgarian custom, I'll try to name few of them and shed some light for foreigners who are about to celebrate the Christmas or New year eve in Bulgaria.

One is the back (spine) tapping, done by youngsters to elders with a stick made of cornel-tree and decorated in a very special beautiful way.

Here is how the stick the youngsters use to wish happy new year in a traditional bulgarian custom way.Survaknica Bulgariar New Year (Survane) new year custom
The back tapping to the elder is accompanied by famous words in Bulgarian saying:

Surva, Surva Godina!
Chervena Qbylka v Gradina,
edyr klas na niva,
golqm grozd na loza,
jylt mamul na lesa,
pylna kyshta s deca!
Jivo-zdravo do godina,
do godina do Amina!

This translated to english says something like:

Healthy (Complete), Healthy Year!
Red Apple in a Garden,
Large grapes in the vineyeard,
Yellow corn in the field,
full house with children!
Living-healthy until next year
in these year until the next one.

Actually this New Yearly wishings had different minor text variations in different regions of Bulgaria, but the main meaning is anyhow preserved.

Surva Surva Godina, Vesela Godina kid back tapping an older man Bulgaria
Kid using Survaknica to back tap some older man according to our tradition

You can see how simple and the same time meaningful those wishings are. They accent to the main things which were important for our forefathers. The things on which the yearly daily life depends.

Here is a video of some children in the kinder garden reciting the Surva, Surva wishing holding Survaknici

I've seen for the last 10 years these tradition as a consequence of the internationalization is starting to disappear. Now most of the times only in villages and some small regions these tradition is still practiced.
In cities gipsys are going in the early morning of the New Year morning and knocking on each apartment door offering a back tapping. Once they back tap you with Survaknica and wish you good things you're supposed to give them some food, candies and / or money 😉

Its also common that in the morning of the New Year a lot of folklore ensambles dance on the centers of cities and villages or sing Bulgarian folklore songs.

Bulgarian Folklore Choire

Some of the other things which are a kind of traditional on New Year is to go out on the city center and fire up some fires and dance some traditional dance we call Horo near the camping fire.