Monday, April 20, 2020

Redirect blogspot to other site

I am on find a free domain name for lifetime. oh why not redirect a blogspot to my localhost. and find a usefull artikel.
this post is here


  1. Sign in to Blogger and choose the blog that you want to redirect.
  2. In the left menu, click Theme.
  3. Under "Live on Blog", click Edit HTML.
  4. Copy the following code and paste it right after the opening <head> tag:
    <meta charset='utf-8'/>
    <meta content='0;url=https://www.yournewsite.com/' http-equiv='refresh'/>
    <b:if cond='data:blog.url == data:blog.homepageUrl'>
      <link href='https://www.yournewsite.com/' rel='canonical'/>
    </b:if>
  5. Replace URLs in the newly added code (https://www.yournewsite.com/) with your new site URL.
  6. Also in the <head> tag, find and comment out the following line, if any.
    <b:include data='blog' name='all-head-content'/>
    The line should look like this after commented.
    <!-- <b:include data='blog' name='all-head-content'/> -->
    
  7. Click Save theme.
SHARE

Thursday, April 9, 2020

Loggout Command not set - LXPANEL

I am using debian with rox and jwm, but removed jwm panel, because not all menu come out when install an aplication, so the lightweight panel is lxpanel.

When clicked buuton logout on lxpanel menu. come out dialog "Logout Command not set". This is happening when using lxpanel standalone without lxde-core or lxde full just instaled lxpanel only, with other window manager.

To fix this thing, we must create file /home/your_user/.config/lxpanel/default , or simply open home folder and create /.config/lxpanel/default.
because this file create at home, we can create it without super user (root or sudo)

nano /.config/lxpanel/default

and  fill it with :

[Command]
Logout=lxde-logout

ctrl+o then ctrl+x

make sure you already istaled lxsession-logout. if you just change windows manager without remove lxde, this step is not necessary.

sudo apt install lxsession-logout

now logout icon on lxpanel should working properly