Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.



mega boss




Ja nie mam wygórowanych wymagań byle żeby było szybkie, funkcjonalne i czytelne. Nie chcę żadnych wodotrysków czy nawet tapety. Chciałbym aby menu było na dole w rogu i na pasku jakieś ikonki podstawowe. Nie wiem czy okna automatycznie "pływają" , albo coś mi grafika nie hula w fluxsie. Prędkość myszki
Ostatnio edytowany przez tajwan (2014-03-03 10:42:03)
Offline







Palacz





Szczawiożerca






Chyba trzeba wtedy wyłączyć standardowy panel Fluxboksa w ~/.fluxbox/init?
Offline



mega boss




Mała pomoc
# Debian-local change:
# - fbautostart has been added with a quick hack to check to see if it
# exists. If it does, we'll start it up by default.
which fbautostart > /dev/null
if [ $? -eq 0 ]; then
fbautostart
fi
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec fluxboxGdzie
fbpanel&
http://fluxboxpl.org/portal/Instalacja_i_konfiguracja_Fluxboksa
Autostart
Polecenia i aplikacje które maja być uruchamiane przy starcie Fluxboksa można zdefiniować na dwa sposoby.
W pierwszym, starym sposobie aplikacje startowe dodajemy do pliku /home/user/.fluxbox/startup. Przy dodawaniu kolejnych poleceń należy na ich końcu zamieścić znak "&", w przeciwnym wypadku kolejne polecenia nie zostaną wykonane, a Fluxbox nie uruchomi się.
Na końcu winno znajdować się polecenie uruchamiające Fluxboksa exec fluxbox.
Jeżeli do polecenia exec fluxbox z pliku startup dodamy opcje -log ~/.fluxbox/log, utworzony zostanie plik dziennika o nazwie "log", w którym oprócz informacji o wersji i ustawieniach Fluxboksa zapisywane są również ewentualne błędy.
Offline







Palacz








W pliku
~/.fluxbox/startup
Offline



mega boss




root@tajwan:/home/tajwan/.fluxbox# nano startup
Nie uruchomił się żaden panel.
$ fbpanel& [1] 3529 tajwan@tajwan:~$ volume: can't open /dev/mixer HINT: Do you have ALSA-OSS emulation loaded? HINT: Check out for 'snd-mixer-oss' kernel module loaded. HINT: Or disable 'volume' plugin at ~/.config/fbpanel/default. fbpanel: can't start plugin volume [1]+ Exit 1 fbpanel
Ostatnio edytowany przez tajwan (2014-03-03 11:39:28)
Offline







Palacz








To ma być w katalogu domowym użytkownika a nie roota.
/home/tajwan$ nano ~/.fluxbox/startup
EDIT:)Edytowałeś post.
Pokaż config fbpanel.
Offline



mega boss




NIe ma panelu :P
GNU nano 2.2.6 Plik: /home/tajwan/.fluxbox/startup
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/tajwan/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
#
# Debian-local change:
# - fbautostart has been added with a quick hack to check to see if it
# exists. If it does, we'll start it up by default.
which fbautostart > /dev/null
if [ $? -eq 0 ]; then
fbautostart
fi
fbpanel&
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log "/home/tajwan/.fluxbox/log"Offline







Palacz








Masz pokazać config fbpanelu a nie startup fluxboxa.
Tam trzeba jeden plugin wyrzucić aby odpalił.
Pewnie nie wiesz gdzie go szukać :)
~/.config/fbpanel/default
Offline



mega boss




########################################
## fbpanel configuration file ##
########################################
# DESCRIPTION
# Configuration file consists of mandatory 'Global' block that MUST come first,
# and optionally one or more 'Plugin' block.
# Lines having '#' as first non-blank char or blank lines are ignored
# Keywords are not case-sensitive
# Values are case-sensitive
# Value of variable is a text from first non-blank char after '='
# till the last non-blank char. '#' is NOT treated as coment in this context
# 'Global' block describes global parameters like position, size and
# some NETWM settings
# Global {
# # screen edge
# # legal values are: left, right, top, bottom
# edge = bottom
# # allignment of a panel
# # legal values are: left, right, center
# allign = left
# # length of margin (in pixels)
# # legal values are numbers
# margin = 0
# # widthtype specifies how panel width is calculated
# # legal values are: request, pixel, percent
# # request - follow widgets' size requests. can shrink or grow dynamically
# # pixel - occupy fixed number of pixels, then 'width' variable holds a number
# # percent - be 'width' precent of an edge.
# widthType = percent
# legal values are: left, right, top, bottom
# edge = bottom
# # allignment of a panel
# # legal values are: left, right, center
# allign = left
# # length of margin (in pixels)
# # legal values are numbers
# margin = 0
# # widthtype specifies how panel width is calculated
# # legal values are: request, pixel, percent
# # request - follow widgets' size requests. can shrink or grow dynamically
# # pixel - occupy fixed number of pixels, then 'width' variable holds a number
# # percent - be 'width' precent of an edge.
# widthType = percent
# # numerical value of width (not applicable for 'request' widthtype)
# # legal values are numbers
# width = 80
# # heighttype specifies how panel height is calculated
# # legal values are: pixel
# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
# heightType = pixel
# # numerical value of height (if applicable)
# # legal values are numbers
# height = 28
# # Identify panel window type as dock
# # legal values are boolean
# setDockType = true
# # Reserve panel's space so that it will not be covered by maximazied windows
# # legal values are boolean
# width = 80
# # heighttype specifies how panel height is calculated
# # legal values are: pixel
# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
# heightType = pixel
# # numerical value of height (if applicable)
# # legal values are numbers
# height = 28
# # Identify panel window type as dock
# # legal values are boolean
# setDockType = true
# # Reserve panel's space so that it will not be covered by maximazied windows
# # legal values are boolean
# # setPartialStrut = true
# # Transparency stuff:
# # tintColor is a color to composite on root background given as #RRGGBB or as name
# # alpha is transparency of the tint color.
# # transparent = true
# # tintColor = #FFFFFF
# or
# # tintColor = white
# # alpha = 127
# # Autohide
# # autoHide = false
# # heightWhenHidden = 2
# }Offline



Też człowiek :-)




A co do startupu fluxboxa to:
!/bin/sh # # fluxbox startup-script: # # Lines starting with a '#' are ignored. # Change your keymap: xmodmap "/home/piotrek/.Xmodmap" compton -c & fbsetbg -l & conky & # Applications you want to run with fluxbox. # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END. # # unclutter -idle 2 & # wmnd & # wmsmixer -w & # idesk & . . . . . . . . . . .
To należy dopisywać tak jak jest w opisie configu, a nie na końcu. Wyżej masz wycinek z mojej konfiguracji.
Offline







Palacz








Tajwan nawet nie chciało Ci się przewinąć dalej tego pliku.
To tylko nic nie mówiący fragment.
A kit.
Taki ma być aby odpalił.
########################################
## fbpanel configuration file ##
########################################
# DESCRIPTION
# Configuration file consists of mandatory 'Global' block that MUST come first,
# and optionally one or more 'Plugin' block.
# Lines having '#' as first non-blank char or blank lines are ignored
# Keywords are not case-sensitive
# Values are case-sensitive
# Value of variable is a text from first non-blank char after '='
# till the last non-blank char. '#' is NOT treated as coment in this context
# 'Global' block describes global parameters like position, size and
# some NETWM settings
# Global {
# # screen edge
# # legal values are: left, right, top, bottom
# edge = bottom
# # allignment of a panel
# # legal values are: left, right, center
# allign = left
# # length of margin (in pixels)
# # legal values are numbers
# margin = 0
# # widthtype specifies how panel width is calculated
# # legal values are: request, pixel, percent
# # request - follow widgets' size requests. can shrink or grow dynamically
# # pixel - occupy fixed number of pixels, then 'width' variable holds a number
# # percent - be 'width' precent of an edge.
# widthType = percent
# # numerical value of width (not applicable for 'request' widthtype)
# # legal values are numbers
# width = 80
# # heighttype specifies how panel height is calculated
# # legal values are: pixel
# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
# heightType = pixel
# # numerical value of height (if applicable)
# # legal values are numbers
# height = 28
# # Identify panel window type as dock
# # legal values are boolean
# setDockType = true
# # Reserve panel's space so that it will not be covered by maximazied windows
# # legal values are boolean
# # setPartialStrut = true
# # Transparency stuff:
# # tintColor is a color to composite on root background given as #RRGGBB or as name
# # alpha is transparency of the tint color.
# # transparent = true
# # tintColor = #FFFFFF
# or
# # tintColor = white
# # alpha = 127
# # Autohide
# # autoHide = false
# # heightWhenHidden = 2
# }
# 'Plugin' block specifies a plugin to load. It has same syntax for both
# builtin and external plugins.
# First parameter is 'type'. It's mandatory and must come first
# Legal values are plugin names. Names of builtin plugins are:
# separator - visual separator
# wincmd - 'show desktop' button
# taskbar - lists all opened windows (tasks)
# launchbar - bar with launch button
# image - just shows an image
# dclock - digital clock
# space - just seize space
# pager - thumbnailed view of the desktop
# tray - tray for XEMBED icons (aka docklets)
# expand - specifies if plugin can accomodate extra space or not [optional]
# padding - extra padding around plugin [optional]
# config {} - block of plugin's private configuration.
# This part is plugin dependant
#
# Plugin {
# type = wincmd
# config {
# image = ~/.fbpanel/images/Desktop2.png
# tooltip = Left click to iconify all windows. Middle click to shade them.
# }
# }
Global {
edge = bottom
allign = center
margin = 0
widthtype = percent
width = 86
height = 24
transparent = true
tintcolor = #ffffff
alpha = 28
setdocktype = true
setpartialstrut = true
autohide = false
heightWhenHidden = 2
roundcorners = true
roundcornersradius = 7
layer = none
MaxElemHeight = 32
}
Plugin {
type = space
config {
size = 2
}
}
Plugin {
type = menu
config {
IconSize = 22
#icon = start-here
# Use a nice Debian logo for the menu list ;-)
image = /usr/share/pixmaps/debian-logo.png
systemmenu {
}
separator {
}
menu {
name = Computer
icon = computer
item {
name = Terminal
icon = terminal
action = x-terminal-emulator
}
item {
name = Lock Display
icon = gnome-lockscreen
action = slock
}
separator {
}
item {
name = Reboot
icon = gnome-session-reboot
action = sudo reboot
}
item {
name = Shutdown
icon = gnome-session-halt
action = sudo shutdown -h now
}
item {
name = logout
icon = gnome-session-logout
action = /usr/lib/fbpanel/fbpanel/xlogout
}
}
}
}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = launchbar
config {
button {
icon = file-manager
tooltip = File Manager
action = x-file-manager
}
button {
icon = terminal
tooltip = Terminal
action = x-terminal-emulator
}
button {
icon = web-browser
tooltip = Web Browser
action = x-www-browser
}
}
}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = wincmd
config {
icon = gnome-fs-desktop
tooltip = Left click to iconify all windows. Middle click to shade them.
}
}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = taskbar
expand = true
config {
ShowIconified = true
ShowMapped = true
ShowAllDesks = false
tooltips = true
IconsOnly = false
MaxTaskWidth = 150
}
}
Plugin {
type = space
config {
size = 15
}
}
Plugin {
type = pager
config {
showwallpaper = true
}
}
Plugin {
type = space
config {
size = 10
}
}
Plugin {
type = mem
expand = false
padding = 2
config {
ShowSwap = false
}
}
Plugin {
type = cpu
config {
Color = green
}
}
Plugin {
type = net
expand = false
padding = 0
config {
#interface = ppp0
interface = eth0
# set connection limits to make traffic graph more accurate
TxLimit = 20
RxLimit = 190
TxColor = violet
RxColor = blue
}
}
Plugin {
type = space
config {
size = 10
}
}
#plugin {
# type = battery
#}
Plugin {
type = tray
}
Plugin {
type = space
config {
size = 10
}
}
# Digital Clock
Plugin {
type = dclock
config {
ShowSeconds = false
HoursView = 24
TooltipFmt = %A %x
#Action = xmessage Please define some command &
}
}
# Text Clock
# ClockFmt: (string) Clock format string. May contain strftime conversion
# specifications and Pango markup information.
# TooltipFmt: (string) Tooltip format string.
# Action: (string) Shell command to execute when clock is clicked.
# ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
# clicked. Only valid if Action is unset.
# ShowTooltip: (boolean) Show tooltip for clock.
#Plugin {
# type = tclock
# config {
# ClockFmt = <b>%I:%M</b>
# # 2 line view, time in bold above and date below
# # ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P
%a %B %-e</span>
# TooltipFmt = %A %x
# #Action = xmessage Please define some command &
# ShowCalendar = false
# ShowTooltip = true
# }
#}
# 'icons' plugin lets you customize window icons.
# these changes apply to entire desktop
Plugin {
type = icons
config {
DefaultIcon = /usr/share/fbpanel/images/default.xpm
application {
icon = gnome-terminal
ClassName = XTerm
}
application {
icon = gnome-terminal
ClassName = mlterm
}
application {
icon = gnome-terminal
ClassName = URxvt
}
application {
icon = gnome-emacs
ClassName = Emacs
}
application {
icon = mozilla-firefox
ClassName = Firefox-bin
}
application {
icon = mozilla-firefox
ClassName = Firefox
}
}
}Offline



mega boss




Nie że mi się nie chciało tylko nie dało się całości skopiować.
Tak?
#!/bin/sh # # fluxbox startup-script: # # Lines starting with a '#' are ignored. # Change your keymap: xmodmap "/home/tajwan/.Xmodmap" fbpanel & exec fluxbox # or if you want to keep a log: # exec fluxbox -log "/home/tajwan/.fluxbox/log"
Offline







Palacz








Wrzuć config który podałem i powinien odpalić.
Offline



mega boss




Stary to masz rewela :) Tylko mam teraz dwa paski :P
yossarian napisał(-a):
Chyba trzeba wtedy wyłączyć standardowy panel Fluxboksa w ~/.fluxbox/init?
session.screen0.tabs.usePixmap: true
session.screen0.tabs.maxOver: false
session.screen0.tabs.intitlebar: true
session.screen0.clientMenu.usePixmap: true
session.screen0.slit.onhead: 0
session.screen0.slit.acceptKdeDockapps: true
session.screen0.slit.autoHide: false
session.screen0.slit.maxOver: false
session.screen0.slit.alpha: 255
session.screen0.slit.layer: Dock
session.screen0.slit.placement: RightBottom
session.screen0.titlebar.left: Stick
session.screen0.titlebar.right: Minimize Maximize Close
session.screen0.toolbar.visible: true
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.layer: Dock
session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, clock, prevw$
session.screen0.toolbar.widthPercent: 100
session.screen0.toolbar.onhead: 1
session.screen0.toolbar.maxOver: false
session.screen0.toolbar.alpha: 255
session.screen0.toolbar.placement: BottomCenter
session.screen0.toolbar.height: 0
session.screen0.iconbar.mode: {static groups} (workspace)
session.screen0.iconbar.alignment: Relative
session.screen0.iconbar.iconWidth: 128
session.screen0.iconbar.iconTextPadding: 10
session.screen0.iconbar.usePixmap: true
session.screen0.tab.placement: TopLeft
session.screen0.tab.width: 64
session.screen0.menu.alpha: 255
session.screen0.window.focus.alpha: 255
session.screen0.window.unfocus.alpha: 255
session.screen0.edgeSnapThreshold: 10
session.screen0.maxDisableMove: false
session.screen0.autoRaise: true
session.screen0.tabFocusModel: ClickToTabFocus
session.screen0.windowPlacement: RowMinOverlapPlacement
session.screen0.tooltipDelay: 500
session.screen0.opaqueMove: true
session.screen0.workspaceNames: Pulpit 1,Pulpit 2,Pulpit 3,Pulpit 4,
session.screen0.windowMenu: /home/tajwan/.fluxbox/windowmenu
session.screen0.allowRemoteActions: false
session.screen0.maxDisableResize: false
session.screen0.clickRaises: true
session.screen0.focusNewWindows: true
session.screen0.strftimeFormat: %d %b, %a %02k:%M:%S
session.screen0.fullMaximization: false
session.screen0.workspacewarping: true
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.defaultDeco: NORMAL
session.screen0.noFocusWhileTypingDelay: 0
session.screen0.menuDelay: 200
session.screen0.colPlacementDirection: TopToBottom
session.screen0.focusModel: ClickFocus
session.screen0.showwindowposition: false
session.screen0.maxIgnoreIncrement: true
session.screen0.workspaces: 4
session.doubleClickInterval: 250
session.menuFile: ~/.fluxbox/menu
session.forcePseudoTransparency: false
session.styleOverlay: /home/tajwan/.fluxbox/overlay
session.keyFile: ~/.fluxbox/keys
session.slitlistFile: /home/tajwan/.fluxbox/slitlist
session.tabsAttachArea: Window
session.cacheMax: 200
session.tabPadding: 0
session.colorsPerChannel: 4
session.styleFile: /usr/share/fluxbox/styles/BlueFlux
session.autoRaiseDelay: 250
session.cacheLife: 5
session.appsFile: /home/tajwan/.fluxbox/apps
session.ignoreBorder: false
session.configVersion: 13Offline







Palacz








session.screen0.toolbar.visible: true
Zmień na false.
Offline



mega boss




A takie podstawowe rzeczy jak głośnik na pasku czy jakiś komunikaty albo coś do zasilania itp.? Odłączyłem zasilanie i zostałem na baterii to rozłączył mnie z wi-fi.
Offline




Psuj





Tak samo konfigurujesz jak dla openbox.

Offline







Palacz








Co do głosnika to pakiet volumeicon-alsa.
Dodac również do autostartu.
Co do zasilania to nie wiem bo nigdy nie używałem fluxa na lapku.
Musi ktos inny podpowiedzieć.
Offline




Psuj





Szczawiożerca






Komunikaty to np. za pomocą xfce4-notifyd lub notify-osd.
Offline




Psuj





Do notify-osd musi być jakiś menadżer kompozycji np. compton bo inaczej graficznie źle wygląda.

Offline



mega boss




A z terminala do fluxa
Offline







Kapelusznik








Jakikolwiek, roxterm na przykład.
Offline



mega boss




Albo coś innego do dźwięku
# aptitude install alsamixer Nie znaleziono pakietu "alsamixer". Następujące pakiety mają "alsamixer" w nazwie: cairo-dock-alsamixer-plug-in alsamixergui gnome-alsamixer Nie znaleziono pakietu "alsamixer". Następujące pakiety mają "alsamixer" w nazwie: cairo-dock-alsamixer-plug-in alsamixergui gnome-alsamixer Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety. 0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowanych. Do pobrania 0 B archiwów. Zajęte po rozpakowaniu: 0 B.
I pytanie o to
# aptitude install PCManFM
Następujące NOWE pakiety zostaną zainstalowane:
desktop-file-utils{a} dosfstools{a} enchant{a} fuse{a} gcr{a} gdisk{a}
glib-networking{a} glib-networking-common{a} glib-networking-services{a}
gnome-keyring{a} gsettings-desktop-schemas{a}
gstreamer1.0-plugins-base{a} gstreamer1.0-plugins-good{a}
gstreamer1.0-x{a} gvfs{a} gvfs-backends{a} gvfs-common{a} gvfs-daemons{a}
gvfs-fuse{a} gvfs-libs{a} hunspell-en-us{a} libaa1{a} libaacs0{a}
libarchive13{a} libasn1-8-heimdal{a} libatasmart4{a} libavahi-glib1{a}
libavc1394-0{a} libbluetooth3{a} libbluray1{a} libcaca0{a} libcap2-bin{a}
libcdio-cdda1{a} libcdio-paranoia1{a} libcdio13{a} libcdparanoia0{a}
libdv4{a} libenchant1c2a{a} libflac8{a} libfm-data{a} libfm-gtk-data{a}
libfm-gtk3{a} libfm3{a} libgck-1-0{a} libgcr-3-common{a}
libgcr-base-3-1{a} libgcr-ui-3-1{a} libgeoclue0{a} libgoa-1.0-0{a}
libgoa-1.0-common{a} libgssapi3-heimdal{a}
libgstreamer-plugins-base1.0-0{a} libgstreamer1.0-0{a}
libharfbuzz-icu0{a} libhcrypto4-heimdal{a} libheimbase1-heimdal{a}
libheimntlm0-heimdal{a} libhunspell-1.3-0{a} libhx509-5-heimdal{a}
libicu52{a} libiec61883-0{a} libjack-jackd2-0{a}
libjavascriptcoregtk-3.0-0{a} libjson-glib-1.0-0{a}
libjson-glib-1.0-common{a} libkrb5-26-heimdal{a} libldb1{a} liblzo2-2{a}
libmenu-cache-bin{a} libmenu-cache3{a} libmtp-common{a} libmtp-runtime{a}
libmtp9{a} libntdb1{a} libopus0{a} libpam-cap{a} libpam-gnome-keyring{a}
libparted0debian1{a} libproxy1{a} libpython2.7{a} libraw1394-11{a}
librest-0.7-0{a} libroken18-heimdal{a} libsamplerate0{a} libsecret-1-0{a}
libsecret-common{a} libshout3{a} libsmbclient{a} libsoup-gnome2.4-1{a}
libsoup2.4-1{a} libspeex1{a} libtag1-vanilla{a} libtag1c2a{a}
libtalloc2{a} libtevent0{a} libtheora0{a} libudisks2-0{a}
libvisual-0.4-0{a} libvisual-0.4-plugins{a} libvorbisenc2{a}
libwavpack1{a} libwbclient0{a} libwebkitgtk-3.0-0{a}
libwebkitgtk-3.0-common{a} libwebp5{a} libwind0-heimdal{a} libxslt1.1{a}
lxde-icon-theme{a} lxmenu-data{a} ntfs-3g{a} p11-kit{a} parted{a} pcmanfm
policykit-1-gnome{a} python-talloc{a} samba-libs{a} udisks2{a}
0 pakietów aktualizowanych, 117 instalowanych, 0 do usunięcia i 0 nieaktualizowanych.
Do pobrania 48,2 MB archiwów. Zajęte po rozpakowaniu: 172 MB.
Kontynuować? [Y/n/?]Ostatnio edytowany przez tajwan (2014-03-04 05:04:10)
Offline