Pular para o conteúdo

Gente me ajuda por favor sou novo no linux resolvi usar pq o windows ta muito lento kk.

Responder tópico
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.
  • Denunciar
  • Indicar

1. Gente me ajuda por favor sou novo no linux resolvi usar pq o windows ta muito lento kk.

Enviado em 14/08/2018 - 16:04h

Tinha um programa no windows chamado btnx que ele configurava botoes extras do mouse eu ja vi ele existe para ubunto o s.o que estou a usar o problema é que tentei algumas formas de instalaçao e nao da ele nao abre preciso muito da ajuda de vcs esse programa é essencial para minha tarefa no ubunto..

Responder tópico

O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

2. Re: Gente me ajuda por favor sou novo no linux resolvi usar pq o windows ta muito lento kk.

Enviado em 14/08/2018 - 19:23h

sudo apt install build-essential git

git clone https://github.com/cdobrich/btnx
cd btnx/
./configure
make
sudo make install

git clone https://github.com/cdobrich/btnx-config
cd btnx-config/
./configure
make
make check
sudo make install

3. primeiro obrigado por responder mas ta dando esse erro aki :

Enviado em 14/08/2018 - 21:18h

Ryuk escreveu:

sudo apt install build-essential git

git https://github.com/cdobrich/btnx
cd btnx/
./configure
make
sudo make install

git https://github.com/cdobrich/btnx-config
cd btnx-config/
./configure
make
make check
sudo make install


git https://github.com/cdobrich/btnx
git: 'https://github.com/cdobrich/btnx'; não é um comando git. Veja 'git --help'.

4. Re: Gente me ajuda por favor sou novo no linux resolvi usar pq o windows ta muito lento kk.

Enviado em 14/08/2018 - 22:24h

tenta git clone http...


------------------------------------------------------------------------
Arch

6. obrigado aos dois passou dessa etapa mas apareceu isso daki

Enviado em 15/08/2018 - 11:46h

Ryuk escreveu:

tigormaster escreveu:
git https://github.com/cdobrich/btnx
git: 'https://github.com/cdobrich/btnx'; não é um comando git. Veja 'git --help'.


Ah, foi mal... faltou colocar "clone":
git clone https://github.com/cdobrich/btnx
git clone https://github.com/cdobrich/btnx-config




igor@Tigor:~$ sudo apt install build-essential git
[sudo] senha para igor:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
build-essential is already the newest version (12.4ubuntu1).
git is already the newest version (1:2.17.1-1ubuntu0.1).
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
libgtkmm-3.0-1v5 linux-image-4.13.0-46-generic
linux-image-extra-4.13.0-46-generic
Utilize 'sudo apt autoremove' para os remover.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
igor@Tigor:~$ git clone https://github.com/cdobrich/btnx
Cloning into 'btnx'...
remote: Counting objects: 81, done.
remote: Total 81 (delta 0), reused 0 (delta 0), pack-reused 81
Unpacking objects: 100% (81/81), done.
igor@Tigor:~$ cd btnx/
igor@Tigor:~/btnx$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... no
checking for LIBDAEMON... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBDAEMON_CFLAGS
and LIBDAEMON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>;.
See `config.log' for more details.
igor@Tigor:~/btnx$ make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
igor@Tigor:~/btnx$ make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
igor@Tigor:~/btnx$ git clone https://github.com/cdobrich/btnx-config
Cloning into 'btnx-config'...
remote: Counting objects: 272, done.
remote: Total 272 (delta 0), reused 0 (delta 0), pack-reused 272
Receiving objects: 100% (272/272), 1016.39 KiB | 1.00 MiB/s, done.
Resolving deltas: 100% (56/56), done.
igor@Tigor:~/btnx$ cd btnx-config/
igor@Tigor:~/btnx/btnx-config$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for scrollkeeper-config... no
checking for gksu... no
checking for kdesu... no
checking for tar... /bin/tar
checking for pkg-config... no
checking for GTK... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>;.
See `config.log' for more details.

RESUMINDO o que entendi : ele passou da parte http após acrescentar / copiar e colar o novo codigo que vcs me enviaram, mas ele deu erro em baixo eu tentei com as duas tanto o "btnx normal , quanto btnx config" ambos deram erro dizendo sobre

" configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config."

-------&-----

"checking for LIBDAEMON... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config."

ambos foram as opcoes cd normalmente eu "entrei na pasta" pelo cd, baixou os arquivos corretamente o problema foram as mensagens citadas cima entre "aspas" que eu coloquei eu vou pesquisar na net sobre libdaemon e os erros mas fico na esperança de ajuda obrigado desde já!

7. Novidades

Enviado em 15/08/2018 - 12:20h

parece ter ido com sucesso o "btnx" após eu instalar esse comando

apt-get install -y pkg-config

"parece q baixou o pkg e foi"

agora estou na segunda etapa do "btnx config" que apresentou erro

-------------------------------
"configure: error: Package requirements (gtk+-2.0 >= 2.10.4)"

estou a pesquisar qlq coisa aviso aqui.

creditos de onde retirei: https://stackoverflow.com/questions/23202146/cannot-find-pkg-config-error

8. Resolvendo o erro "btnx config"

Enviado em 15/08/2018 - 12:37h

utilizei esse comando ele baixou sudo apt-get install gtk+2.0
(retirado do site : https://askubuntu.com/questions/765526/how-to-install-gtk2-0 )


------------e após esses comandos aqui foi pra frente ------------

$ sudo apt-get install libglade2-0

$ sudo apt-get install libglade2-dev
(retirado do site : https://askubuntu.com/questions/336940/how-do-i-install-libglade2-0)

assim que eu finalizar e der certo eu aviso aqui ^_^

9. entao kk..

Enviado em 15/08/2018 - 12:55h

o "btnx config" parece ter ido ate o fim { vou ate verificar denovo kk}

o "btnx" apresentou um erro no final do comando pra terminar: sudo make install
dando o erro abaixo:


root@Tigor:/home/igor/btnx# sudo make install
Making install in src
make[1]: Entering directory '/home/igor/btnx/src'
make[2]: Entering directory '/home/igor/btnx/src'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
/usr/bin/install -c 'btnx' '/usr/local/sbin/btnx'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/igor/btnx/src'
make[1]: Leaving directory '/home/igor/btnx/src'
Making install in data
make[1]: Entering directory '/home/igor/btnx/data'
make[2]: Entering directory '/home/igor/btnx/data'
test -z "/etc/init.d" || /bin/mkdir -p "/etc/init.d"
/usr/bin/install -c 'btnx' '/etc/init.d/btnx'
make install-exec-hook
make[3]: Entering directory '/home/igor/btnx/data'
Registering init script
update-rc.d btnx start 49 2 3 4 5 . stop 49 0 1 6 .
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
make[3]: Leaving directory '/home/igor/btnx/data'
test -z "/etc/btnx" || /bin/mkdir -p "/etc/btnx"
/usr/bin/install -c -m 644 'events' '/etc/btnx/events'
make[2]: Leaving directory '/home/igor/btnx/data'
make[1]: Leaving directory '/home/igor/btnx/data'
make[1]: Entering directory '/home/igor/btnx'
make[2]: Entering directory '/home/igor/btnx'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/igor/btnx'
make[1]: Leaving directory '/home/igor/btnx'



[Registering init script
update-rc.d btnx start 49 2 3 4 5 . stop 49 0 1 6 .
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
make[3]: Leaving directory '/home/igor/btnx/data'
test -z "/etc/btnx" || /bin/mkdir -p "/etc/btnx"]

vamos que vamos ... se alguem souber da um help ai tmj

10. fiz ate um pequeno video pra mostrar que estou fazendo como pedido.

Enviado em 15/08/2018 - 14:41h



se for assistir ver em HD pra poder ler é rapidinho e talvez passe alguma coisa despercebido abraços.

Responder tópico

O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

Responder tópico

Entre na sua conta para responder.

Fazer login para responder