Simples dialog script para escolha de gerenciador de janelas
Publicado por Flavio Pereira de Oliveira 27/11/2004
[ Hits: 7.346 ]
Homepage: http://www.goblinx.com.br
Este é um script simples usando shell e dialog para ser usado antes do usuário iniciar o ambiente gráfico. Ele permite a escolha de qual gerenciador de janelas o usuário deseja utilizar.
#!/bin/bash # Xes - Escolha para inciar o X # Simples dialog script para escolha de gerenciador de janelas a iniciar # Modifique as opções de gerenciadores de acordo com os que você possuir # # Autor: Grobsch [Flavio de Oliveira] > flavos@terra.com.br dialog --title "Escolha um Gerenciador de Janelas" \ --menu "Escolha o gerenciador de janelas para iniciar o ambiente gráfico:" 13 70 6 \ "1" "FLUXBOX" \ "2" "KDE" \ "3" "WINDOWMAKER" \ "4" "GNOME" \ "5" "XFCE" \ "0" "SAIR" 2> $HOME/escolha retval=$? option=`cat $HOME/escolha` if test "$option" = 0 then exit 1 fi if test "$option" = 1 then xinit /etc/X11/xinit/xinitrc.fluxbox fi if test "$option" = 2 then xinit /etc/X11/xinit/xinitrc.kde fi if test "$option" = 3 then xinit /etc/X11/xinit/xinitrc.wmaker fi if test "$option" = 4 then xinit /etc/X11/xinit/xinitrc.gnome fi if test "$option" = 5 then xinit /etc/X11/xinit/xinitrc.xfce fi
Buscar conteúdo digitado em sites de busca
Instalar e ativar o tema aero-aio do superkaramba
InstallTXZ - converte e instala pacotes do Slackware no Debian
Script para escrever uma palavra em ASCI
Como gerar um podcast a partir de um livro em PDF
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Como Instalar o Microsoft Teams no Linux Ubuntu
Músicas de Andrew Hulshult no DOOM (WAD)
Instalar o Apache, MySQL e PHP no Oracle Linux 8
Bloqueando telemetria no Deepin 23.1
Como converter imagens PNG/JPEG para SVG em linha de comando
Qual é o verdadeiro diferencial de um profissional especialista em Lin... (0)
Java é uma linguagem de brinquedo? (10)