Git Product home page Git Product logo

dot_debian's Introduction

NOTE

This repo is out of date. I'm use only for historical reasons and one old machine with kodi.

At the moment i'm using archlinux in my principal desktop PC. here the repo.

Thanks for the interest.

E7 OLD dotfiles

Config files for a minimalist X desktop; i3wm & lemonbar, rxvt, bitlbee & weechat, vim, git, cnmpcpp...

Last screenshot

Change every day. Something like this:

last screenshot

I3 LemonBar

lemonbar full

Config files and help here

Clean install (debian strech 9.3):

  • Install debian base (without X desktop).

  • Install required packages:

    $ apt-get install i3 rxvt-unicode-256color lightdm x11-xserver-utils
    $ apt-get install *git* vim
    $ apt-get install conky curl alsa-utils
    $ apt-get install mpd mpc ncmpcpp
    $ apt-get install notification-daemon xinput
    
  • Delete all files in $HOME and clone git:

    $ git clone https://github.com/electro7/dotfiles.git .
  • Install vim plugins:

    $ git clone https://github.com/gmarik/Vundle.git ~/.vim/bundle/Vundle.vim
    $ vim +PluginInstall +qall
  • Install lemonbar:

    $ mkdir tmp; cd tmp
    $ git clone  https://github.com/LemonBoy/bar.git
    $ apt-get install build-essential checkinstall
    $ apt-get install libxcb1-dev libxcb-xinerama0-dev libxcb-randr0-dev
    $ cd bar; make
    $ checkinstall -D make install
  • Restart lightdm.

dot_debian's People

Contributors

bbuyukguzel avatar electro7 avatar senchopens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dot_debian's Issues

Can't create clickable areas

I'm having troubles creating clickable areas on the bar. I've tried placing them in multiple places in the parser file, to no avail.

Are you still around/available to chat about this?

English translation

Your setting is so amazing but i cant understand your language. Can you translate it into English, thanks so much.

multiple monitors

Cannot get the bar to work for multiple monitors. There needs to be a place to enable this for multiple monitors.

font issues & workspace names

Seems like the main gripe with this great i3 theme/layout is the fonts.
Every start up we need to issue:

xset fp+ $HOME/.fonts/misc
xset fp+ $HOME/.fonts/ohsnap
xset fp+ $HOME/.fonts/terminesspowerline
pkill i3_lemonbar.sh
then restart i3

placing the above in the config does not work

also to compound things further I have issues with my workspace names.
I use unicode fonts that are found in the "Private use area" of many popular fonts:

, , , , , , , , , 

It would appear that the parser, config font or something else is not liking these & the workspaces just remain blank:

screenshot_2016-03-10_21-56-00

other than using 1-0 a-z I don't know how to fix this.

Please help

Problems installing fonts [LemonBar]

Current distribution: ArchLinux

Tried:
-Installed powerline to get fonts
-Installed terminus
-Installed terminusicons2

I'm surprised that I'm the first having problems with the fonts, I tried installing terminus, terminusicons2, and many many more, but I cant make the icons and some other features in lemonbar work.

2015-09-08-23 49 57_1366x768_scrot

Im not very good in eyecandy topics, so I don't know if its important that I can't see the icons in the github code as you can see in the picture.

Powerline font not working (Icon is working however)

Hi.Hi.

I'm having some trouble setting up the config file for powerline font.
(Icon font is working perfectly)

Below is a sample (condensed) output of fc-match powerline

$ fc-match -s powerline
    FuraMono-Regular Powerline.otf: "Fira Mono for Powerline" "Regular"
    fontawesome-webfont.ttf: "FontAwesome" "Regular"
    DejaVu Sans Mono for Powerline.ttf: "DejaVu Sans Mono for Powerline" "Book"
    NotoSansArmenian-Regular.ttf: "Noto Sans Armenian" "Regular"
    Hack-Regular.ttf: "Hack" "Regular"
    Roboto Mono for Powerline.ttf: "Roboto Mono for Powerline" "Regular"
    Literation Mono Powerline.ttf: "Liberation Mono for Powerline" "Regular"
    ter-powerline-x12n.pcf.gz: "Terminess Powerline" "Regular"
    7x13.pcf.gz: "Fixed" "Regular"
    8x13.pcf.gz: "Fixed" "Regular"
    ter-112n.pcf.gz: "Terminus" "Regular"
    ter-x12n.pcf.gz: "Terminus" "Regular"

And my config file has line

$ cat i3_lemonbar_config | grep font=
    font="-xos4-terminesspowerline-medium-r-normal--12-120-72-72-c-60-iso10646-1"
    iconfont="-xos4-terminusicons2mono-medium-r-normal--12-120-72-72-m-60-iso8859-1"

(icon font is working fine)

Licence is missing

Could you add a licence to your project? I would like to use a few lines of the lemonbar script in my project but I am not sure if you are ok with it. Thanks!

Trouble with 'make' in instructions

Hello,
Thank you for putting together such a lovely i3wm arrangement.

I'm new to using i3wm although I've followed a few tutorials.

For some reason when I get to the tail end of the lemonbar installation as per your instructions, the make command returns the following:

lilqueen@dutyqueen:~/tmp$ make
make: *** No targets specified and no makefile found. Stop.

Any help would be greatly appreciated.

Thanks,

_S

Padding the network values to prevent the bar changing sizes

Hi,

Recently I've added blank space padding to the network throughput values and cpu usage to stop the bar from changing sizes when the number of digits in these values change (eg changing from 100K down to 1000K down). This has caused a strange error where upon starting lemonbar both manually or from the window manager init, will occasionally produce a lemonbar that has no padding in any of the fields. This is fixed by simply pkilling the lemonbar process and restarting, although this can take multiple tries. Picture of what I mean below:

Correct:
alt-text

Incorrect:
alt-text

I've added the padding to the network setting in the i3_lemonbar_parser.sh file. It was mildly changed to reflect the values of only one interface at a time preferring the ethernet over wifi. The core of this was taken from Demures fork. (https://notabug.org/demure/dotfiles/src/master/i3/lemonbar) The relevant code is as follows:

if [ "${sys_arr[10]}" == "down" ]; then
    if [ "${sys_arr[8]}" == "down" ];then
              nets_dv="×"; nets_uv="×";
              nets_cback=${color_sec_b1}; nets_cicon=${color_disable}; nets_cfore=${color_disable};
          else
              nets_dv=${sys_arr[8]}K; nets_uv=${sys_arr[9]}K;
              if [ ${nets_dv:0:-1} -gt ${net_alert} ] || [ ${nets_uv:0:-1} -gt ${net_alert} ]; then
                  nets_cback=${color_net}; nets_cicon=${color_back}; nets_cfore=${color_back};
              else
                  nets_cback=${color_sec_b1}; nets_cicon=${color_icon}; nets_cfore=${color_fore};
              fi
          fi
      else
          nets_dv=${sys_arr[10]}K; nets_uv=${sys_arr[11]}K;
          if [ ${nets_dv:0:-1} -gt ${net_alert} ] || [ ${nets_uv:0:-1} -gt ${net_alert} ]; then
              nets_cback=${color_net}; nets_cicon=${color_back}; nets_cfore=${color_back};
          else
              nets_cback=${color_sec_b1}; nets_cicon=${color_icon}; nets_cfore=${color_fore};
          fi
      fi
      nets_dv1=$(printf "%5s" $nets_dv);
      nets_uv1=$(printf "%5s" $nets_uv);
      nets_d="%{F${nets_cback}}${sep_left}%{F${nets_cicon} B${nets_cback}} %{T2}${icon_dl}%{F${nets_cfore} T1} %{4i}${nets_dv1}"
      nets_u="%{F${nets_cicon}}${sep_l_left} %{T2}${icon_ul}%{F${nets_cfore} T1} ${nets_uv1}"

nets_d and nets_u are equivalent the wlan_u or wlan_d values in the default files. The padding is done at the "nets_dv1=$(printf "%5s" $nets_dv);". Am I missing something here that causes this to fail only part of the time?

Something else worth noting is that whenever lemonbar is started it has two instances of the i3_lemonbar.sh running (process ids 4574 and 4597 here).

ps aux | grep lemonbar
cory      4574  0.0  0.0  11636  3112 ?        S    16:42   0:00 /bin/bash /home/cory/.i3/lemonbar/i3_lemonbar.sh --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-socket.1908
cory      4592  0.0  0.0  46564 10768 ?        S    16:42   0:00 perl /home/cory/.i3/lemonbar/i3_workspaces.pl
cory      4595  0.0  0.0 362020  6884 ?        Sl   16:42   0:00 conky -c /home/cory/.i3/lemonbar/i3_lemonbar_conky
cory      4597  0.0  0.0  11768  2024 ?        S    16:42   0:00 /bin/bash /home/cory/.i3/lemonbar/i3_lemonbar.sh --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-socket.1908
cory      4599  0.0  0.0   6192   764 ?        S    16:42   0:00 cat /tmp/i3_lemonbar_cory
cory      4601  0.0  0.0  11636  3092 ?        S    16:42   0:00 /bin/bash /home/cory/.i3/lemonbar/i3_lemonbar_parser.sh
cory      4608  0.1  0.0  41748  5244 ?        S    16:42   0:00 lemonbar -p -f DejaVu Sans Mono for Powerline-13 -f FontAwesome-13 -g 1920x20 -B #FF1D1F21 -F #FFC5C8C6
cory      8958  0.0  0.0  10872  2124 pts/1    R+   16:54   0:00 grep --color lemonbar

I cannot find where two would be started anywhere in the files. Two of these are started regardless of where it is from the window manager's init or manually from ./i3_lemonbar.sh. Is this a possible race condition with two seperate lemonbars running on top of each other? Thoughts are appreciated.

100% CPU on i3_workspaces.pl [LemonBar]

After some time (30min/1hour) i3_workspaces.pl uses 100% of CPU. My computer is not that fast but my previous configuration using conky was working fine.

The xsession_errors log contains some repeated errors, no idea if it's related:

Wide character in print at ~/bin/lemonbar/i3_workspaces.pl line 130

bincode explanation

I'm unable to map bin codes to keys.
I'm suing UK key board but I could not understand what the bincodes mean.

I was able to figureout $mod+24 -> q (quit) but other I'm not.
Could you tell me how I can find the mappings

Bar was ommited on laptop monitor

Lemonbar was cut by haft on laptop monitor, and show full stuff when change to external monitor. What can i do to make it show full stuff on laptop monitor, please help me ?

On Ubuntu xset failed path

I'm seeing the following message in .xsession-errors

xset: bad font path element (#0), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

I tried searching for solutions but couldn't find one
fonts.dir and fonts.scale are present under the directory and rwx permissions were there.
Also tried after deleting /etc/fonts/conf.d/70-no-bitmaps.conf

Fonts+LemonBar not Working

The custom lemonbar is not working for me. I added the fonts and have the correct commands in my i3 configuration to add the fonts, yet the bar keeps on looking weird. It also doesn't show any of my workspaces.

Here is what it looks like: Screenshot

Does anyone else have this problem or have a solution?

Battery Indicator

Does anyone know how I can add a battery indicator to the lemonbar? What files do I need to edit?

Lemonbar weird characters?

Trying to get it running on i3 and it looks like i am missing a font of some sort and i just can't figure this out.

i3 config file:

bar {
i3bar_command ~/eletro7/.i3/lemonbar/i3_lemonbar.sh
}

Im getting this weird characters:
https://ibb.co/etTj7z

Would anyone shed some light on it?

Lemonbar disappears after logout and login

Hello,

Thanks for amazing dotfiles. I've problem with lemonbar. Whenever I logout and relogin lemonbar disappears. A couple of i3_lemonbar.sh processes are listed as running however no other processes called by the script runs. I found out that whenever i3 runs the bar command 2 instances of i3_lemonbar.sh is listed under running processes. If I kill the second i3_lemonbar.sh process nothing happes to the bar however when I logout and log back in lemonbar appears and works as expected. How can I solve this problem? Thank you!

urxvt shortcuts not working

I managed to get it working and it's looking beautiful and the setup was more or less ready in a matter of minutes. Awesome!

But I can't seem to get urxvt shortcuts and vim powerline-features working. I haven't used urxvt before, so I don't know where to look. I tried using terminator, but powerline is not working there (prompt looks like: "--[user]-[computer]..", colors work). While vim is not that much of a problem, I don't need a fancy setup; copy/paste is a must for me.

The colors are loaded, and I tried manually loading the .xresources file in case it didn't load on start up, but shortcuts still don't work.

I had to add the font-paths from .i3/config, that might be a hint?

Any idea where the problem lies?

Title in the bar does not update automatically.

The title in the powerline bar isn't updating automatically. For example: When I open a tab in Firefox, say, archlinux.org, it shows me the title correctly, but the title isnt updated when I open another tab and naviagte to a website. It does update when i switch to it again from another window. I hope I made my situation clear.

Icon font not working?

I finally got Lemonbar to work, but the icons aren't working correctly. I tried (with same structure as the one here)

xset fp+ $HOME/.fonts/misc
xset fp+ $HOME/.fonts/ohsnap
xset fp+ $HOME/.fonts/terminesspowerline

then

fc-cache -v

but it didn't seem to work, even after a reboot.. Do I need to do anything else?

ALSO: How do I change the colors for workspace and/or time? I don't like the greenish color and can't find it in the configs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.