Package Details: fbpad-git r271.66eb566-1

Git Clone URL: https://aur.archlinux.org/fbpad-git.git (read-only, click to copy)
Package Base: fbpad-git
Description: A small linux framebuffer virtual terminal.
Upstream URL: http://repo.or.cz/w/fbpad.git
Licenses: ISC
Conflicts: fbpad
Provides: fbpad
Submitter: Sara
Maintainer: aksr
Last Packager: aksr
Votes: 9
Popularity: 0.000000
First Submitted: 2011-10-08 12:31
Last Updated: 2018-02-21 07:00

Dependencies (3)

Required by (0)

Sources (4)

Latest Comments

1 2 3 Next › Last »

m040601 commented on 2020-07-27 21:01

@StackException

Any idea why all I see is a blackscreen when I run fbpad ?

Try first ALT-c to open a shell, and then less /usr/share/doc/fbpad/README.

Yeah, this program is very cool but doesnt include any man page. You have to read the installed /usr/share/doc/fbpad/README.

Everything is basicly controlled by the ALT key. When you start you have an empty workspace. It works a bit like dwm. What he calls "TAGS" are workspaces.

see this line in conf.h

#define TAGS        "xnlhtr01uiva-"

So ALT-x or ALT-n etc. ... switches to workspace x,n etc...

I recommend to change to

#define TAGS        "123"

otherwise this program "eats" a lot of your ALT binding.

ALT-TAB, ALT-o switches back or to the last workspace CONTROL-ALT-q quits fbpad

m040601 commented on 2020-07-27 20:25

I can't build on, Linux 5.7.10-arch1-1

==> Starting build()...
cc -c -Wall -O2 fbpad.c
fbpad.c: In function ‘directkey’:
fbpad.c:160:9: warning: null argument where non-null required (argument 1) [-Wnonnull]
  160 |    if (!strcmp(PASS, pass))
      |         ^~~~~~
cc -c -Wall -O2 term.c
term.c: In function ‘term_exec’:
term.c:344:33: error: expected ‘}’ before ‘TERM’
  344 |   char *envp[MAXENV] = {"TERM=" TERM};
      |                        ~        ^~~~
make: *** [Makefile:7: term.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: %!s(func() string=0x55c22040f410)

I then did what @StackException said and add this to conf.h

define TERM "xterm-kitty"

Pay attention, it's conf.h, not config.h. If you put it in config.h it won't compile

The config.h seems to be put there by this AUR package. There is no config.h in the original source. I find the name confusing. Should be named conf.example.h or conf.default.h

Anyway after this it compiles and seems to be working fine. Not sure if this is an Arch problem or an upstream one.

m040601 commented on 2020-07-27 20:23

A small reminder to the maintainers of this package. Keep an eye on, for possible or future canonical git repo changes.

This developer, who makes all these very interesting packages, is called Ali Gholami Rudi and his home page is http://litcave.rudi.ir/

He publishes his work in 2 different git repos, which until now seem to be in sync:

This AUR package is pulling from repo.or.cz. But on his homepage he points the links to github

StackException commented on 2020-05-23 10:52

add:

define TERM "xterm-kitty" or some other

to conf.h to fix compilation error. (thanks to https://www.reddit.com/user/pluuth ) (Upstream source doesn't have this problem, but requires font setting up to work).

Any idea why all I see is a blackscreen when I run fbpad ?

aksr commented on 2017-04-12 14:17

erez: You're right.

erez commented on 2017-04-12 09:57

bash, mutt and vim are not dependencies of fbpad and are not required by it in any sense, and should not be forced on the user.

brynr commented on 2015-11-15 23:28

make fails with the following message:

fbpad.c: In function ‘main’:
fbpad.c:337:14: error: ‘FBDEV’ undeclared (first use in this function)
if (fb_init(FBDEV)) {
^
fbpad.c:337:14: note: each undeclared identifier is reported only once for each function it appears in
Makefile:7: recipe for target 'fbpad.o' failed
make: *** [fbpad.o] Error 1

It seems that the lines defining FBDEV are not present config.h from the sources, and this incomplete config is then copied into the src directory during the prepare stage, overwriting the complete config file from fbpad.git.

karol_007 commented on 2014-09-09 01:00

==> To use fbpad, read /usr/share/doc/fbpad/README.

$ ls -l /usr/share/doc/fbpad/README
ls: cannot access /usr/share/doc/fbpad/README: No such file or directory

There is /usr/share/doc/fbpad-git/README.

Sara commented on 2012-05-02 14:00

To use italic fonts with fbpad, add the following line to the PKGBUILD after line 24:

patch -p1 -i "${_gitname}-terminfo.diff" || return 1

where fbpad-terminfo.diff can be found here: http://pastebin.com/raw.php?i=Qcw2M7KC

With my vim theme (solarized), I also had to add "export TERM_PROGRAM=fbpad" to my shellrc, and add fbpad to the terms_italic array (line 138 of the colorscheme file).

Sara commented on 2012-05-01 03:39

A "font set" consists of the regular, italic, and bold faces of a font. The latest git revision introduced font sets per terminal; [Mod]-'f i' activates the ith font set in the current term, where i in {0,..,4}. The advantage to this, as opposed to regular fonts, is that switching between fonts also changes the bold and/or italic text to match. Neat, right?

With the latest changes, the wiki is now a little outdated, but I can't get to updating it until after my finals. Let me know if issues arise.