Nuovo di Arch Linux? Nessun problema, fai qui le tue domande

Messaggio19 aprile 2012, 20:36 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120494

Allora il titolo dice tutto.
Avevo installato i3 ma mi serviva qualcosa di più come dire completo così ho pensato come tutti di passare a awesome. dopo averlo installato e modificato il mio .xinitrc che è questo:
Codice: Seleziona tutto
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#  for f in /etc/X11/xinit/xinitrc.d/*; do
#    [ -x "$f" ] && . "$f"
#  done
#  unset f
#fi

# exec
# exec
exec ck-launch-session dbus-launch awesome
# ...or the Window Manager of your choice

E questo è il mio slim.conf
Codice: Seleziona tutto
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments -nolisten tcp vt07

# Commands for halt, login, etc.
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

# Full path to the xauth binary
xauth_path         /usr/bin/xauth

# Xauth file for server
authfile           /var/run/slim.auth


# Activate numlock when slim starts. Valid values: on|off
# numlock             on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor          false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd           exec /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd   some command
# sessionstop_cmd   some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon   yes

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            awesome,i3

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg         Session:

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        suffocate

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login          yes


# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme       default

# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log


E invece questo è il mio rc.conf
Codice: Seleziona tutto
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Rome"
KEYMAP="it"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=()

# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="slifer"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

interface=eth0
address=
netmask=
broadcast=
gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng network netfs crond alsa dbus slim)


cosa posso fare? Siete comunque dei grandi. Prima avevo impostato tutti i parametri per far partire i3 ed è partito quindi non capisco quale sia il problema.
Ultima modifica di zoeid il 22 aprile 2012, 12:25, modificato 1 volta in totale.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 20:39 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120495

disabilita slim e dai uno "startx" da utente... e vedi se da qualche info in più :)
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 20:59 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120496

Ecco:
Codice: Seleziona tutto
The XKEYBOARD keymap compiler (xkbcomp) reports:
>Warning:                     type "ONE_LEVEL has 1 level, but "HALT" has a simbols
>                                  Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
awesome: symbol lookup error: awesome: undefined symbol: cairo_xcb_surface_create
xinit: connection to X server lost
Closing log file.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:06 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120497

sembra un errore in rc.lua di awesome... l'hai modificato a mano?
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:13 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120498

A me sembra che ci siano problemi con la versione di awesome che hai installato. Eventualmente prova a ricompilarla.
Q6600 @ 3.2 Ghz + Thermalright Ultra 120 Extreme | 2 GB DDR2 Ocz Gold
Asus P5K | Geforce 8800GTS 512 MB | E ovviamente... Arch Linux :)
Avatar utente
Hilinus
Moderatore
 
Messaggi: 5332
Iscritto il: 25 ottobre 2008, 19:28
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:19 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120499

Hilinus ha scritto: Eventualmente prova a ricompilarla.

non è più su AUR Hilinus... il pacchetto quindi dovrebbe essere a posto... dovrebbe...
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:22 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120500

Hilinus ha scritto:A me sembra che ci siano problemi con la versione di awesome che hai installato. Eventualmente prova a ricompilarla.

È la 3.4.11-3 l'ho reinstallata ma niente sempre lo stesso errore.
umby213 ha scritto:sembra un errore in rc.lua di awesome... l'hai modificato a mano?

no, non l'ho neanche mai toccato ora provo a cambiarlo.
Codice: Seleziona tutto
-- Standard awesome library
require("awful")
require("awful.autofocus")
require("awful.rules")
-- Theme handling library
require("beautiful")
-- Notification library
require("naughty")

-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config)
if awesome.startup_errors then
    naughty.notify({ preset = naughty.config.presets.critical,
                     title = "Oops, there were errors during startup!",
                     text = awesome.startup_errors })
end

-- Handle runtime errors after startup
do
    local in_error = false
    awesome.add_signal("debug::error", function (err)
        -- Make sure we don't go into an endless error loop
        if in_error then return end
        in_error = true

        naughty.notify({ preset = naughty.config.presets.critical,
                         title = "Oops, an error happened!",
                         text = err })
        in_error = false
    end)
end
-- }}}

-- {{{ Variable definitions
-- Themes define colours, icons, and wallpapers
beautiful.init("/usr/share/awesome/themes/default/theme.lua")

-- This is used later as the default terminal and editor to run.
terminal = "xterm"
editor = os.getenv("EDITOR") or "nano"
editor_cmd = terminal .. " -e " .. editor

-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
-- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"

-- Table of layouts to cover with awful.layout.inc, order matters.
layouts =
{
    awful.layout.suit.floating,
    awful.layout.suit.tile,
    awful.layout.suit.tile.left,
    awful.layout.suit.tile.bottom,
    awful.layout.suit.tile.top,
    awful.layout.suit.fair,
    awful.layout.suit.fair.horizontal,
    awful.layout.suit.spiral,
    awful.layout.suit.spiral.dwindle,
    awful.layout.suit.max,
    awful.layout.suit.max.fullscreen,
    awful.layout.suit.magnifier
}
-- }}}

-- {{{ Tags
-- Define a tag table which hold all screen tags.
tags = {}
for s = 1, screen.count() do
    -- Each screen has its own tag table.
    tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
end
-- }}}

-- {{{ Menu
-- Create a laucher widget and a main menu
myawesomemenu = {
   { "manual", terminal .. " -e man awesome" },
   { "edit config", editor_cmd .. " " .. awesome.conffile },
   { "restart", awesome.restart },
   { "quit", awesome.quit }
}

mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
                                    { "open terminal", terminal }
                                  }
                        })

mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
                                     menu = mymainmenu })
-- }}}

-- {{{ Wibox
-- Create a textclock widget
mytextclock = awful.widget.textclock({ align = "right" })

-- Create a systray
mysystray = widget({ type = "systray" })

-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
mylayoutbox = {}
mytaglist = {}
mytaglist.buttons = awful.util.table.join(
                    awful.button({ }, 1, awful.tag.viewonly),
                    awful.button({ modkey }, 1, awful.client.movetotag),
                    awful.button({ }, 3, awful.tag.viewtoggle),
                    awful.button({ modkey }, 3, awful.client.toggletag),
                    awful.button({ }, 4, awful.tag.viewnext),
                    awful.button({ }, 5, awful.tag.viewprev)
                    )
mytasklist = {}
mytasklist.buttons = awful.util.table.join(
                     awful.button({ }, 1, function (c)
                                              if c == client.focus then
                                                  c.minimized = true
                                              else
                                                  if not c:isvisible() then
                                                      awful.tag.viewonly(c:tags()[1])
                                                  end
                                                  -- This will also un-minimize
                                                  -- the client, if needed
                                                  client.focus = c
                                                  c:raise()
                                              end
                                          end),
                     awful.button({ }, 3, function ()
                                              if instance then
                                                  instance:hide()
                                                  instance = nil
                                              else
                                                  instance = awful.menu.clients({ width=250 })
                                              end
                                          end),
                     awful.button({ }, 4, function ()
                                              awful.client.focus.byidx(1)
                                              if client.focus then client.focus:raise() end
                                          end),
                     awful.button({ }, 5, function ()
                                              awful.client.focus.byidx(-1)
                                              if client.focus then client.focus:raise() end
                                          end))

for s = 1, screen.count() do
    -- Create a promptbox for each screen
    mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
    -- Create an imagebox widget which will contains an icon indicating which layout we're using.
    -- We need one layoutbox per screen.
    mylayoutbox[s] = awful.widget.layoutbox(s)
    mylayoutbox[s]:buttons(awful.util.table.join(
                           awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
                           awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
                           awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
                           awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
    -- Create a taglist widget
    mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)

    -- Create a tasklist widget
    mytasklist[s] = awful.widget.tasklist(function(c)
                                              return awful.widget.tasklist.label.currenttags(c, s)
                                          end, mytasklist.buttons)

    -- Create the wibox
    mywibox[s] = awful.wibox({ position = "top", screen = s })
    -- Add widgets to the wibox - order matters
    mywibox[s].widgets = {
        {
            mylauncher,
            mytaglist[s],
            mypromptbox[s],
            layout = awful.widget.layout.horizontal.leftright
        },
        mylayoutbox[s],
        mytextclock,
        s == 1 and mysystray or nil,
        mytasklist[s],
        layout = awful.widget.layout.horizontal.rightleft
    }
end
-- }}}

-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
    awful.button({ }, 3, function () mymainmenu:toggle() end),
    awful.button({ }, 4, awful.tag.viewnext),
    awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}

-- {{{ Key bindings
globalkeys = awful.util.table.join(
    awful.key({ modkey,           }, "Left",   awful.tag.viewprev       ),
    awful.key({ modkey,           }, "Right",  awful.tag.viewnext       ),
    awful.key({ modkey,           }, "Escape", awful.tag.history.restore),

    awful.key({ modkey,           }, "j",
        function ()
            awful.client.focus.byidx( 1)
            if client.focus then client.focus:raise() end
        end),
    awful.key({ modkey,           }, "k",
        function ()
            awful.client.focus.byidx(-1)
            if client.focus then client.focus:raise() end
        end),
    awful.key({ modkey,           }, "w", function () mymainmenu:show({keygrabber=true}) end),

    -- Layout manipulation
    awful.key({ modkey, "Shift"   }, "j", function () awful.client.swap.byidx(  1)    end),
    awful.key({ modkey, "Shift"   }, "k", function () awful.client.swap.byidx( -1)    end),
    awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
    awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
    awful.key({ modkey,           }, "u", awful.client.urgent.jumpto),
    awful.key({ modkey,           }, "Tab",
        function ()
            awful.client.focus.history.previous()
            if client.focus then
                client.focus:raise()
            end
        end),

    -- Standard program
    awful.key({ modkey,           }, "Return", function () awful.util.spawn(terminal) end),
    awful.key({ modkey, "Control" }, "r", awesome.restart),
    awful.key({ modkey, "Shift"   }, "q", awesome.quit),

    awful.key({ modkey,           }, "l",     function () awful.tag.incmwfact( 0.05)    end),
    awful.key({ modkey,           }, "h",     function () awful.tag.incmwfact(-0.05)    end),
    awful.key({ modkey, "Shift"   }, "h",     function () awful.tag.incnmaster( 1)      end),
    awful.key({ modkey, "Shift"   }, "l",     function () awful.tag.incnmaster(-1)      end),
    awful.key({ modkey, "Control" }, "h",     function () awful.tag.incncol( 1)         end),
    awful.key({ modkey, "Control" }, "l",     function () awful.tag.incncol(-1)         end),
    awful.key({ modkey,           }, "space", function () awful.layout.inc(layouts,  1) end),
    awful.key({ modkey, "Shift"   }, "space", function () awful.layout.inc(layouts, -1) end),

    awful.key({ modkey, "Control" }, "n", awful.client.restore),

    -- Prompt
    awful.key({ modkey },            "r",     function () mypromptbox[mouse.screen]:run() end),

    awful.key({ modkey }, "x",
              function ()
                  awful.prompt.run({ prompt = "Run Lua code: " },
                  mypromptbox[mouse.screen].widget,
                  awful.util.eval, nil,
                  awful.util.getdir("cache") .. "/history_eval")
              end)
)

clientkeys = awful.util.table.join(
    awful.key({ modkey,           }, "f",      function (c) c.fullscreen = not c.fullscreen  end),
    awful.key({ modkey, "Shift"   }, "c",      function (c) c:kill()                         end),
    awful.key({ modkey, "Control" }, "space",  awful.client.floating.toggle                     ),
    awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
    awful.key({ modkey,           }, "o",      awful.client.movetoscreen                        ),
    awful.key({ modkey, "Shift"   }, "r",      function (c) c:redraw()                       end),
    awful.key({ modkey,           }, "t",      function (c) c.ontop = not c.ontop            end),
    awful.key({ modkey,           }, "n",
        function (c)
            -- The client currently has the input focus, so it cannot be
            -- minimized, since minimized clients can't have the focus.
            c.minimized = true
        end),
    awful.key({ modkey,           }, "m",
        function (c)
            c.maximized_horizontal = not c.maximized_horizontal
            c.maximized_vertical   = not c.maximized_vertical
        end)
)

-- Compute the maximum number of digit we need, limited to 9
keynumber = 0
for s = 1, screen.count() do
   keynumber = math.min(9, math.max(#tags[s], keynumber));
end

-- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it works on any keyboard layout.
-- This should map on the top row of your keyboard, usually 1 to 9.
for i = 1, keynumber do
    globalkeys = awful.util.table.join(globalkeys,
        awful.key({ modkey }, "#" .. i + 9,
                  function ()
                        local screen = mouse.screen
                        if tags[screen][i] then
                            awful.tag.viewonly(tags[screen][i])
                        end
                  end),
        awful.key({ modkey, "Control" }, "#" .. i + 9,
                  function ()
                      local screen = mouse.screen
                      if tags[screen][i] then
                          awful.tag.viewtoggle(tags[screen][i])
                      end
                  end),
        awful.key({ modkey, "Shift" }, "#" .. i + 9,
                  function ()
                      if client.focus and tags[client.focus.screen][i] then
                          awful.client.movetotag(tags[client.focus.screen][i])
                      end
                  end),
        awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
                  function ()
                      if client.focus and tags[client.focus.screen][i] then
                          awful.client.toggletag(tags[client.focus.screen][i])
                      end
                  end))
end

clientbuttons = awful.util.table.join(
    awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
    awful.button({ modkey }, 1, awful.mouse.client.move),
    awful.button({ modkey }, 3, awful.mouse.client.resize))

-- Set keys
root.keys(globalkeys)
-- }}}

-- {{{ Rules
awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
      properties = { border_width = beautiful.border_width,
                     border_color = beautiful.border_normal,
                     focus = true,
                     keys = clientkeys,
                     buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
      properties = { floating = true } },
    { rule = { class = "pinentry" },
      properties = { floating = true } },
    { rule = { class = "gimp" },
      properties = { floating = true } },
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    --   properties = { tag = tags[1][2] } },
}
-- }}}

-- {{{ Signals
-- Signal function to execute when a new client appears.
client.add_signal("manage", function (c, startup)
    -- Add a titlebar
    -- awful.titlebar.add(c, { modkey = modkey })

    -- Enable sloppy focus
    c:add_signal("mouse::enter", function(c)
        if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
            and awful.client.focus.filter(c) then
            client.focus = c
        end
    end)

    if not startup then
        -- Set the windows at the slave,
        -- i.e. put it at the end of others instead of setting it master.
        -- awful.client.setslave(c)

        -- Put windows in a smart way, only if they does not set an initial position.
        if not c.size_hints.user_position and not c.size_hints.program_position then
            awful.placement.no_overlap(c)
            awful.placement.no_offscreen(c)
        end
    end
end)

client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}

sarebbe questo non l'ho mai toccato.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:25 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120501

Il problema sicuramente non è il file di configurazione, bensì l'eseguibile che si lamenta della mancanza di uno o più simboli. Solitamente questi errori si risolvono ricompilando il pacchetto.

Scarica il necessario da qui e prova:
https://projects.archlinux.org/svntogit ... es/awesome

Eventualmente controlla anche di avere l'ultima versione di cairo installata.
Q6600 @ 3.2 Ghz + Thermalright Ultra 120 Extreme | 2 GB DDR2 Ocz Gold
Asus P5K | Geforce 8800GTS 512 MB | E ovviamente... Arch Linux :)
Avatar utente
Hilinus
Moderatore
 
Messaggi: 5332
Iscritto il: 25 ottobre 2008, 19:28
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:27 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120503

inoltre dato che è in [community-testing] potrebbe essere necessario installare cairo da [testing]... che versione di cairo usi?

comunque prima prova a compilarlo con il link di hilinus :)
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:30 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120505

Hilinus ha scritto:Il problema sicuramente non è il file di configurazione, bensì l'eseguibile che si lamenta della mancanza di uno o più simboli. Solitamente questi errori si risolvono ricompilando il pacchetto.

Scarica il necessario da qui e prova:
https://projects.archlinux.org/svntogit ... es/awesome

Eventualmente controlla anche di avere l'ultima versione di cairo installata.

Ma quello è sempre il -git ? io non ho installato quella versione.
Codice: Seleziona tutto
[suffocate@slifer ~]$ sudo pacman -S cairo
warning: cairo-1.10.2-3 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): cairo-1.10.2-3

Total Installed Size:   2.73 MiB
Net Upgrade Size:       0.00 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity                                                                                                                                      [#######################################################################################################] 100%
(1/1) loading package files                                                                                                                                           [#######################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                                     [#######################################################################################################] 100%
(1/1) checking available disk space                                                                                                                                   [#######################################################################################################] 100%
(1/1) upgrading cairo                                                                                                                                                 [#######################################################################################################] 100%
[suffocate@slifer ~]$
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 21:35 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120507

Non hai abilitato testing? Se usi community-testing devi farlo, poichè la versione di awesome inclusa in quel repo è probabilmente compilata su cairo 1.12.0, che si trova in testing.

Potresti anche installare solamente cairo da testing, ma non assicuro il corretto comportamento delle altre applicazioni.
Q6600 @ 3.2 Ghz + Thermalright Ultra 120 Extreme | 2 GB DDR2 Ocz Gold
Asus P5K | Geforce 8800GTS 512 MB | E ovviamente... Arch Linux :)
Avatar utente
Hilinus
Moderatore
 
Messaggi: 5332
Iscritto il: 25 ottobre 2008, 19:28
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 22:02 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120511

Hilinus ha scritto:Non hai abilitato testing? Se usi community-testing devi farlo, poichè la versione di awesome inclusa in quel repo è probabilmente compilata su cairo 1.12.0, che si trova in testing.

Potresti anche installare solamente cairo da testing, ma non assicuro il corretto comportamento delle altre applicazioni.

No non l'ho abilitato ma non c'è la versione stable cioè non in testing mi sta complicando un sacco questa vita.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 23:07 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120512

O abiliti testing o provi a ricompilare awesome in modo che usi la versione di cairo da te in uso, e forse c'è da ricompilare anche cairo per abilitare il backend xcb, prova a vedere.
Q6600 @ 3.2 Ghz + Thermalright Ultra 120 Extreme | 2 GB DDR2 Ocz Gold
Asus P5K | Geforce 8800GTS 512 MB | E ovviamente... Arch Linux :)
Avatar utente
Hilinus
Moderatore
 
Messaggi: 5332
Iscritto il: 25 ottobre 2008, 19:28
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio19 aprile 2012, 23:13 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120514

per awesome + cairo 1.10 ti confermo quanto detto da Hilinus... devi abilitare xcb... (mannaggia a chi ha tolto awesome da AUR :P )
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 13:28 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120535

Come posso ricompilarlo in modo che prenda il mio cairo?
Quale tarball? Spiegate a un povero nubbio.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 14:16 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120537

Oltre a cairo, hai bisogno anche di pango nella versione presente in testing. A questo punto ti consiglierei di aspettare oppure provare ad abilitare il repo testing.
Se avete risolto il vostro problema, aggiungete [Risolto]+Spazio_Bianco al titolo del primo post del thread.
Offertissima: Mi Vendo!!! Cercasi lavoro (qualunque, tra quelli leciti) in tutta italia da Roma in su.
Avatar utente
4javier
Moderatore
 
Messaggi: 6076
Iscritto il: 5 ottobre 2008, 17:19
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 14:19 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120538

Secondo te quanto tempo ci vorrà? Ora provo allora a mettere compiz-fusion.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 18:05 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120553

zoeid ha scritto:Secondo te quanto tempo ci vorrà? Ora provo allora a mettere compiz-fusion.

Penso che il consiglio di 4javier sia corretto... Non so quanto ci vorrà... il problema non è tanto awesome, quanto appunto le dipendenze. In particolare cairo con la patch xcb (inglobata dal pacchetto "cairo" in testing (prima serviva cairo-xcb da aur)). Tale pacchetto è in testing da un po' e credo ci rimarrà ancora. Comunque Compiz standalone non è male, ma se vuoi rimanere sul tiling ti consiglio wmfs (da AUR)... :)


PS... volendo il repo [archlinuxfr] fornisce il precompilato sia di awesome, sia di cairo-xcb...se vuoi provare :)
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 22:02 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120575

Potresti lincarmi dov'è questo repo? direttamente? compiz non fà per me preferisco i3 e roba più comandabile.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 22:03 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120576

certo...
Codice: Seleziona tutto
[archlinuxfr]
# The French Arch Linux communities packages.
Server = http://repo.archlinux.fr/$arch

:D
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 22:15 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120577

Aspetta un'attimo allora ho copiato quella linea nel mio /etc/pacman.d/mirrorlist ma quando vado a dare:
Codice: Seleziona tutto
[suffocate@slifer ~]$ sudo pacman -S awesome
error: target not found: awesome
[suffocate@slifer ~]$ sudo pacman -S awesome
error: target not found: awesome

non funzia spiega meglio sono un p'ò molto nabbo.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 22:19 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120578

Codice: Seleziona tutto
# pacman -Syy
# pacman -S awesome cairo-xcb

poi disabilitalo pure... e dai un pacman -Sc per eliminare archlinuxfr.db :)
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 23:04 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120580

Non capisco.
Codice: Seleziona tutto
[suffocate@slifer ~]$ sudo pacman -Syy
:: Synchronizing package databases...
 core                                                                                                                                        101.9 KiB  60.4K/s 00:02 [#######################################################################################################] 100%
 extra                                                                                                                                      1383.7 KiB  60.1K/s 00:23 [#######################################################################################################] 100%
 community                                                                                                                                  1642.3 KiB  59.8K/s 00:27 [#######################################################################################################] 100%
[suffocate@slifer ~]$ pacman -S awesome cairo-xcb
error: you cannot perform this operation unless you are root.
[suffocate@slifer ~]$ sudo pacman -S awesome cairo-xcb
error: target not found: awesome
[suffocate@slifer ~]$ sudo pacman -Sc
Cache directory: /var/cache/pacman/pkg/
Packages to keep:
  All locally installed packages
Do you want to remove all other packages from cache? [Y/n] n

Database directory: /var/lib/pacman/
Do you want to remove unused repositories? [Y/n] n
[suffocate@slifer ~]$ sudo pacman -Sc
Cache directory: /var/cache/pacman/pkg/
Packages to keep:
  All locally installed packages
Do you want to remove all other packages from cache? [Y/n] Y
removing old packages from cache...

Database directory: /var/lib/pacman/
Do you want to remove unused repositories? [Y/n] Y
removing unused sync repositories...
$
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio20 aprile 2012, 23:07 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120581

sembra che tu non l'abbia abilitato dal pacman.conf... controlla che le due righe NON siano commentate:
Codice: Seleziona tutto
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch



EDIT... il file da editare è /etc/pacman.conf :)
Una volta risolto il problema, aggiungete il tag [Risolto] all'inizio del titolo del thread, grazie.
'--force' lo usi solo chi fa "skywalker" di cognome.
Avatar utente
umby213
Moderatore
 
Messaggi: 3220
Iscritto il: 8 gennaio 2011, 21:59
Top

Re: Dopo awesome "Failed to execute command" al boot di slim

Messaggio22 aprile 2012, 11:47 - [Risolto] Dopo awesome "Failed to execute command" al boot di slim #120633

Codice: Seleziona tutto
[suffocate@slifer ~]$ sudo pacman -Syy
warning: database file for 'archlinuxfr' does not exist
:: Synchronizing package databases...
 core                                                                                                                                        101.8 KiB  51.3K/s 00:02 [#######################################################################################################] 100%
 extra                                                                                                                                      1384.3 KiB  52.0K/s 00:27 [#######################################################################################################] 100%
 community                                                                                                                                  1644.5 KiB  52.0K/s 00:32 [#######################################################################################################] 100%
 archlinuxfr                                                                                                                                  28.9 KiB  40.5K/s 00:01 [#######################################################################################################] 100%
[suffocate@slifer ~]$ sudo pacman -S awesome cairo-xcb
resolving dependencies...
looking for inter-conflicts...
:: cairo-xcb and cairo are in conflict. Remove cairo? [y/N] y

Targets (3): cairo-1.10.2-3 [removal]  awesome-3.4.11-5  cairo-xcb-1.10.2-4

Total Download Size:    1.23 MiB
Total Installed Size:   5.31 MiB
Net Upgrade Size:       2.58 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from archlinuxfr...
 cairo-xcb-1.10.2-4-x86_64                                                                                                                   498.5 KiB  52.1K/s 00:10 [#######################################################################################################] 100%
 awesome-3.4.11-5-x86_64                                                                                                                     758.3 KiB  52.0K/s 00:15 [#######################################################################################################] 100%
(2/2) checking package integrity                                                                                                                                      [#######################################################################################################] 100%
(2/2) loading package files                                                                                                                                           [#######################################################################################################] 100%
(2/2) checking for file conflicts                                                                                                                                     [#######################################################################################################] 100%
(3/3) checking available disk space                                                                                                                                   [#######################################################################################################] 100%
(1/1) removing cairo                                                                                                                                                  [#######################################################################################################] 100%
(1/2) installing cairo-xcb                                                                                                                                            [#######################################################################################################] 100%
(2/2) installing awesome                                                                                                                                              [#######################################################################################################] 100%

==> awesome installation notes:
    ----------------------------------------
    During some updates of awesome, the config file syntax changes heavily.
    This means that your configuration file (~/.config/awesome/rc.lua) for
    any other than this particular version of awesome may or may not work.


    You need to install one of the following programs to be able to set a background image.
        esetroot habak feh hsetroot chbg fvwm-root imlibsetroot
        display qiv xv xsri xli xsetbg wmsetbg xsetroot

Optional dependencies for awesome
    rlwrap: readline support for awesome-client
$

ottimo allora dovrebbe funzionare adesso? vado a modificare il slim.conf e dovrebbe partire.
Avatar utente
zoeid
Novello Arciere
 
Messaggi: 87
Iscritto il: 21 giugno 2010, 15:48
Top

Prossimo

Torna a Angolo del newbie

Chi c’è in linea

Visitano il forum: Nessuno e 0 ospiti

Moderatori: 4javier, aleph, veleno77, adriano, Hilinus