You are not logged in.
Sweet. mind sharing your PS1 and rc.lua?
PS1 is just this person's from the What's your PS1 thread.
rc.lua and the colors.lua file that goes with it to set the colors for my widgets.
Offline
Compiz 0.9.7, a modified unity-2d-panel and Conky.
Modified Ambiance Metacity theme. Application name and the 'globalmenu' are always visible in the panel.
Close button visible in panel when (closable) windows are maximized. I use Synapse and the Compiz scale plugin instead of a dock. This is on my laptop. I'm going to remove the 'globalmenu' from the panel for use on my desktop with a larger screen at some point... I like to have the space saving features and aggregated menus from Unity without the horrible ergonomics and feature bloat of the full DE.
"Its too big and too slow"
Offline
Looks like one or two compile-sessions, but really cool, something different! Great job!
Offline
I'd love to have a look at whatever generates that bar at the top. Been meaning to write something like that memory/cpu usage widget but why reinvent the wheel. Heck, post your entire xmonad.hs + bar config if you don't mind
Offline
I'd love to have a look at whatever generates that bar at the top. Been meaning to write something like that memory/cpu usage widget but why reinvent the wheel. Heck, post your entire xmonad.hs + bar config if you don't mind
here you go, most of this was compiled from hints in others configs right here on this forum, happy to pass along.
xmonad.hs
-- Imports {{{
import XMonad as X
import System.IO
-- Hooks
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.UrgencyHook
import XMonad.Hooks.ManageDocks
-- Prompt
import XMonad.Prompt
import XMonad.Prompt.AppendFile
import XMonad.Prompt.Ssh
import XMonad.Prompt.Shell
import XMonad.Prompt.Input
import XMonad.Prompt.Man
import XMonad.Prompt.RunOrRaise
import XMonad.Prompt.Workspace
import XMonad.Prompt.Window
-- Util
import XMonad.Util.Run
import XMonad.Util.NamedScratchpad
import XMonad.Util.Scratchpad
import XMonad.Util.EZConfig
import XMonad.Util.WorkspaceCompare
import XMonad.Util.NamedWindows
import XMonad.Util.Replace
import Control.Monad (liftM2)
-- Layouts
import XMonad.Layout.PerWorkspace
import XMonad.Layout.IM
import XMonad.Layout.Reflect
import XMonad.Layout.Spacing
import XMonad.Layout.LayoutModifier
import XMonad.Layout.Tabbed
import XMonad.Actions.CycleWS
-- StackSet
import XMonad.StackSet as W
main = do
xmobar <- spawnPipe myXmobar
replace
xmonad $ defaultConfig
{ manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig <+> namedScratchpadManageHook myScratchpads
, layoutHook = avoidStruts $ myLayoutHook
, logHook = myLogHook xmobar
, startupHook = myStartupHook
, X.workspaces = myWorkspaces
, borderWidth = myBorderWidth
, modMask = myModMask
, terminal = myTerminal
, normalBorderColor = myNorBorColor
, focusedBorderColor = myFocBorColor
} `additionalKeys`
[ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
, ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
, ((mod4Mask, xK_w), spawn "chromium-browser")
, ((mod4Mask, xK_f), spawn "thunar")
, ((mod4Mask, xK_Return), spawn "terminator")
, ((mod4Mask, xK_x ), kill)
, ((mod4Mask, xK_b), sendMessage ToggleStruts)
, ((mod4Mask, xK_r), runOrRaisePrompt myXPConfig)
, ((mod4Mask, xK_c), shellPrompt myXPConfig)
, ((mod4Mask, xK_s), sshPrompt myXPConfig)
, ((mod4Mask .|. shiftMask, xK_t), windowPromptGoto myXPConfig)
, ((mod4Mask, xK_m), manPrompt myXPConfig)
, ((mod4Mask .|. controlMask .|. shiftMask, xK_T), namedScratchpadAction myScratchpads "term")
, ((0, xK_Print), spawn "scrot")
, ((mod4Mask, xK_Right), moveTo Next NonEmptyWS)
, ((mod4Mask, xK_Left), moveTo Prev NonEmptyWS)
, ((mod4Mask .|. shiftMask, xK_Right), shiftToNext)
, ((mod4Mask .|. shiftMask, xK_Left), shiftToPrev)
--, ((mod4Mask, xK_t), windowPromptBring myXPConfig)
]
myLogHook h = dynamicLogWithPP myPP
{ ppOutput = hPutStrLn h
}
myPP = defaultPP
{ ppLayout = (\ x -> case x of
"Spacing 5 Tall" -> "[|]"
"Mirror Spacing 5 Tall" -> "[-]"
"Tabbed Simplest" -> "[T]"
"Full" -> "[ ]"
_ -> x )
, ppCurrent = xmobarColor "#222222" "#4682B4" . pad
, ppVisible = xmobarColor "#983030" "#222222" . pad
, ppHidden = xmobarColor "#4682B4" "#222222" . pad
, ppHiddenNoWindows = xmobarColor "#FFCC99" "#222222" . pad
, ppUrgent = xmobarColor "#222222" "#983030" . pad
, ppTitle = xmobarColor "#983030" "#222222" . shorten 80
, ppWsSep = ""
, ppSep = "<fc=#4682B4> | </fc>"
, ppOutput = putStrLn
, ppSort = getSortByIndex }
myLayoutHook = tiled ||| Mirror tiled ||| Full ||| tabbed shrinkText myTab
where
tiled = spacing 5 $ Tall nmaster delta ratio
nmaster = 1
ratio = 6/10
delta = 5/100
myTab = defaultTheme
{ inactiveBorderColor = "#983030"
, activeTextColor = "#00FF00"
}
myXPConfig = defaultXPConfig
{ fgColor = "#4682B4"
, font = "xft:bitocra13:size=13"
, bgColor = "#000000"
, borderColor = "#000000"
}
myStartupHook :: X ()
myStartupHook = do
--spawn "xmobar ~/.xmonad/xmobarrc2"
spawn "conky -d -o -b -x 0 -y 22 -u 1"
myXmobar = "xmobar ~/.xmonad/xmobarrc"
myWorkspaces = ["float","media","remote","db","files","misc","dev","urxvt","www"]
myBorderWidth = 2
myModMask = mod4Mask
myTerminal = "urxvt"
myNorBorColor = "#222222"
myFocBorColor = "#4682B4"
myManageHook = composeAll
[ className =? "URxvt" --> doShiftAndGo "urxvt"
, className =? "chromium-browser" --> doShiftAndGo "www"
, className =? "Chromium-browser" --> doShiftAndGo "www"
, className =? "mysql-query-browser" --> doShiftAndGo "db"
, className =? "mysql-query-browser" --> doShiftAndGo "db"
, className =? "Chromium" --> doShiftAndGo "www"
, className =? "Gedit" --> doShiftAndGo "dev"
, className =? "gedit" --> doShiftAndGo "dev"
, className =? "Gimp" --> doShiftAndGo "float"
, className =? "Firefox" --> doShiftAndGo "www"
, className =? "firefox" --> doShiftAndGo "www"
, className =? "mysql-query-browser" --> doShiftAndGo "db"
, className =? "Mysql-query-browser" --> doShiftAndGo "db"
]
where
doShiftAndGo = doF . liftM2 (.) W.greedyView W.shift
myScratchpads =
[ NS "term" "terminator" (title =? "terminator") defaultFloating
] where role = stringProperty "WM_WINDOW_ROLE"
xmobarrc
Config { font = "bitocra13"
, bgColor = "#222222"
, fgColor = "grey"
, position = Top
, commands = [ Run Date "%a %b %_d %l:%M" "date" 10
, Run MultiCpu ["-L","3","-H","50","--normal","green","--high","red","-p","3","-t","[<bar0>]CPU[<bar1>]"] 5
, Run Network "eth0" ["-L","0","-H","32","--normal","#56c2d6","--high","#56c2d6","-t"," TX[<txbar>][<rxbar>]RX"] 5
, Run Memory ["-t","Mem: <used>M"] 10
, Run DiskU [("/","<fc=#983030>|</fc> / (<size>): <used> <fc=#983030>|</fc>"),("/ssd","/ssd (<size>): <used> <fc=#983030>|</fc>"),("/home","~/ (<size>): <used> <fc=#983030>|</fc>"),("/CirithUngol","/CirithUngol (<size>): <used> <fc=#983030>|</fc>"),("/Morgoth", "/Morgoth (<size>): <used> <fc=#983030>|</fc>")] [] 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{%memory% <fc=#983030>|</fc> <fc=#888888>%multicpu%</fc> <fc=#983030>|</fc> <fc=#888888>%disku%</fc><fc=#983030> | </fc><fc=#888888>%eth0%</fc><fc=#983030> | </fc> <fc=#ee9a00>%date% </fc>"
}
Offline
Cheers
Offline
Compiz 0.9.7, a modified unity-2d-panel and Conky.
Close button visible in panel when (closable) windows are maximized. I use Synapse and the Compiz scale plugin instead of a dock. This is on my laptop. I'm going to remove the 'globalmenu' from the panel for use on my desktop with a larger screen at some point... I like to have the space saving features and aggregated menus from Unity without the horrible ergonomics and feature bloat of the full DE.
Best Compiz setup I have seen in a while! Could you please share what exactly you modifed on the unity-2d-panel?
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Looks like one or two compile-sessions, but really cool, something different! Great job!
Ubuntu's "Linux for human beings" motto now actually translates into human language as:
"Linux for totally passive consumers. If you want to alter anything, tough shit, learn a compiled programming language."
In short, "Linux by patronising *******s". Unity really has some cool innovations buried under the sludge that constitutes its design paradigm and the Apple-like faux humanism... It took a bit more work than I bargained for, but I learned a little too...
The Metacity theme actually took longer. Its a complete rewrite using the Metacity 2.0 markup based on Adwaita, which I did whilst convalescing with a broken arm a while back. The Ubuntu guys are preoccupied by tweaking the appearance of the buttons than making functional improvements, it seems. The current Ambiance Metacity theme has better utility and dialog presentation than it did, though.
Best Compiz setup I have seen in a while! Could you please share what exactly you modifed on the unity-2d-panel?
Most of the changes were made in the appname applet (which also displays the globalmenu and window buttons). Some changes were made elsewhere in the libs, where necessary.
- The panel will always use a close button from the current Metacity theme. Minimize and maximize buttons are disabled.
- The close button is not visible if the window is not closable.
- The full window title is disabled, rather than being visible until you mouse over the panel.
- The application name and globalmenu are always visible.
- The space for the application name has a max of 250 px instead of the stupidly narrow space allotted in Unity.
- The legacy system tray has a blacklist rather than a whitelist (a whitelist? seriously, what are they smoking)
At present the panel only unmaximizes the active window, so I'd like to add maximizing too; visual and functional consistency ftw. Switching the application name to an icon would allow the globalmenu to remain absolutely static horizontally too, which would aid muscle memory. You might say I should use the keyboard macros for context menus instead, but have you ever tried using a touchpad with your left hand, whilst entering CTRL+{W,S,A,D} with your right? Urgh. Usability for lefties comes right after disabled people
Thanks for the kind comments guys.
Last edited by rufflove (2012-04-18 14:30:52)
"Its too big and too slow"
Offline
Offline
chamber wrote:Not much changed, new background andother minor tweaks
So .. I have to ask ... are you actually a shodan?
Just saw this now. Not a shodan, just a fraud. I tend to name my machines after computer game things, comic book characters or or sci fi novel characters.
meh
Offline
About a week in arch linux.
Looking for a distro light, fast and well-documented, so here I am.
Nothing fancy, just a beginning.
I found Openbox too stripped down and XFCE4 too clunky and restrictive for my use. Just gave LXDE/Openbox a try. It looks great. There is no sound mixer or power manager in lxde. Is there?
Offline
I found Openbox too stripped down and XFCE4 too clunky and restrictive for my use. Just gave LXDE/Openbox a try. It looks great. There is no sound mixer or power manager in lxde. Is there?
My thoughts exactly. So far, so good.
I'm using xfce4-mixer and power-manager.
My dektop pc (from yesterday with arch linux too):
I’m not antisocial, I’m just not user friendly.
Offline
donniezazen wrote:I found Openbox too stripped down and XFCE4 too clunky and restrictive for my use. Just gave LXDE/Openbox a try. It looks great. There is no sound mixer or power manager in lxde. Is there?
My thoughts exactly. So far, so good.
I'm using xfce4-mixer and power-manager.My dektop pc (from yesterday with arch linux too):
Nice simple setup, what's the icon theme?
Last edited by h.c.h. (2012-04-20 11:17:07)
arch x64 + openbox
Offline
fog wrote:donniezazen wrote:I found Openbox too stripped down and XFCE4 too clunky and restrictive for my use. Just gave LXDE/Openbox a try. It looks great. There is no sound mixer or power manager in lxde. Is there?
My thoughts exactly. So far, so good.
I'm using xfce4-mixer and power-manager.My dektop pc (from yesterday with arch linux too):
Nice simple setup, what's the icon theme?
Looks like ACYL, but I could be wrong...
If the Matrix was real, it would run on Arch...
Offline
h.c.h. wrote:fog wrote:My thoughts exactly. So far, so good.
I'm using xfce4-mixer and power-manager.My dektop pc (from yesterday with arch linux too):
Nice simple setup, what's the icon theme?
Looks like ACYL, but I could be wrong...
You're right.
Clean and in any color I like.
ps. Looking a way to run the configuration script without gnome.
edit: After some research the problem was solved. It Was python related not gnome.
The script is incompatible with python 3.x.
After the installation of python 2.6 and the making of the fist line of script_gui.py like this:
#!/usr/bin/env python2
I was able to run the script.
Last edited by fog (2012-04-20 18:34:50)
I’m not antisocial, I’m just not user friendly.
Offline
Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux!
Offline
Nice wallpaper. Which file manager is that?
Nice to see someone with an old p4 like mine
Offline
TeoBigusDickus wrote:Nice wallpaper. Which file manager is that?
Nice to see someone with an old p4 like mine
Thanks mate!
The file manager is Thunar; as for the processor, they don't make them as they used to today...
Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux!
Offline
Snapwm with the new stacking mode.
http://ompldr.org/tZGZzdQ http://ompldr.org/tZGZzdgedit:changed the background, so you can see the borders I'm not very good with colors.
cool Snap config!
I love the style of the bar of Snapwm!
Offline
Would you mind to share this awesome wallpaper?
Offline
dwm with no panel
Love that background! Would you mind sharing?
meh
Offline
Offline