Wallpaper no Fluxbox
Publicado por Rick 24/01/2007
[ Hits: 5.206 ]
Script que muda o wallpaper no Fluxbox, você coloca ele na mesma pasta onde armazena seus wallpapers e daí basta executá-lo.
#!/usr/bin/perl #script pra mudar wallpaper no fluxbox. #Coloque ele na mesma pasta onde você armazena seus wallpapers e execute: perl wall.pl minutos #por optimal, optimal2600@yahoo.com.br if (@ARGV > 0) {$time = @ARGV[0] * 60;} else { $time = 600; } print "$time\n"; print "Wallpaper Automatico no Fluxbox\n"; print "Use: perl $0 minutos\n\n"; system("ls *.jpg > file.txt"); system("ls *.jpeg >> file.txt"); system("ls *.png >> file.txt"); open(IN, "<file.txt"); $x = $y = 0; while(<IN>){ $wall[$x]= $_; chomp($wall[$x]); $x++;$y++; } close(IN); $x = 0; for(;;) { sleep($time); system("fbsetbg $wall[$x]"); $x++; if($x==$y) { $x = 0; } }
Verificação se utilizador existe ou não
Atenção a quem posta conteúdo de dicas, scripts e tal (6)
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
O mínimo que você precisa saber sobre o terminal (parte 2)
O mínimo que você precisa saber sobre o terminal (parte 1)
Como iniciar uma máquina virtual do VirtualBox automaticamente no boot do LUbuntu 18 LTS
Mudar o gerenciador de login (GDM para SDDM e vice-versa) - parte 2
Como deixar as abas do Firefox mais fininhas
Mudar o gerenciador de login (GDM para SDDM)
"Tentando" fazer com que programas rodem no Wayland e no X11
Como baixar os drivers de áudio no linux mint? (7)
Como posso localizar o arquivo HTML da página inicial do GLPI dentro d... (2)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta